adding resources firmware and 1/0/8
Dependencies: Beep C12832_lcd EthernetInterface EthernetNetIf HTTPClient LM75B MMA7660 mbed-rtos mbed nsdl_lib
Fork of LWM2M_NanoService_Ethernet by
Diff: resources/Lwm2m_Server_Object.h
- Revision:
- 23:cf1770966071
diff -r 2fab757f9c2a -r cf1770966071 resources/Lwm2m_Server_Object.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/resources/Lwm2m_Server_Object.h Wed Feb 17 08:54:58 2016 +0000 @@ -0,0 +1,32 @@ +#ifndef __lwm2m_client__Lwm2m_Server_Object__ +#define __lwm2m_client__Lwm2m_Server_Object__ + +#include <stdio.h> +#include "Lwm2m_Object.h" + + +const int LWM2M_SERVER_SHORT_ID_ID = 0; +const int LWM2M_SERVER_LIFETIME_ID = 1; +const int LWM2M_SERVER_MIN_PERIOD_ID = 2; +const int LWM2M_SERVER_MAX_PERIOD_ID = 3; +const int LWM2M_SERVER_DISABLE_ID = 4; +const int LWM2M_SERVER_DISABLE_TIMEOUT_ID = 5; +const int LWM2M_SERVER_STORING_ID = 6; +const int LWM2M_SERVER_BINDING_ID = 7; +const int LWM2M_SERVER_UPDATE_ID = 8; + + +class Lwm2m_Server_Object : public Lwm2m_Object { + + private : + + public: + + Lwm2m_Server_Object(uint16_t object_Id, int object_Instance, bool multiple_instance, bool mandatory, std::string object_URN,Lwm2m_Node * node); + virtual std::string get_Lifetime(); + virtual std::string get_Binding(); + + ~Lwm2m_Server_Object(); +}; + +#endif /* defined(__lwm2m_client__Lwm2m_Server_Object__) */