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
resources/Lwm2m_Server_Object.h@23:cf1770966071, 2016-02-17 (annotated)
- Committer:
- pnysten
- Date:
- Wed Feb 17 08:54:58 2016 +0000
- Revision:
- 23:cf1770966071
New
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pnysten | 23:cf1770966071 | 1 | #ifndef __lwm2m_client__Lwm2m_Server_Object__ |
pnysten | 23:cf1770966071 | 2 | #define __lwm2m_client__Lwm2m_Server_Object__ |
pnysten | 23:cf1770966071 | 3 | |
pnysten | 23:cf1770966071 | 4 | #include <stdio.h> |
pnysten | 23:cf1770966071 | 5 | #include "Lwm2m_Object.h" |
pnysten | 23:cf1770966071 | 6 | |
pnysten | 23:cf1770966071 | 7 | |
pnysten | 23:cf1770966071 | 8 | const int LWM2M_SERVER_SHORT_ID_ID = 0; |
pnysten | 23:cf1770966071 | 9 | const int LWM2M_SERVER_LIFETIME_ID = 1; |
pnysten | 23:cf1770966071 | 10 | const int LWM2M_SERVER_MIN_PERIOD_ID = 2; |
pnysten | 23:cf1770966071 | 11 | const int LWM2M_SERVER_MAX_PERIOD_ID = 3; |
pnysten | 23:cf1770966071 | 12 | const int LWM2M_SERVER_DISABLE_ID = 4; |
pnysten | 23:cf1770966071 | 13 | const int LWM2M_SERVER_DISABLE_TIMEOUT_ID = 5; |
pnysten | 23:cf1770966071 | 14 | const int LWM2M_SERVER_STORING_ID = 6; |
pnysten | 23:cf1770966071 | 15 | const int LWM2M_SERVER_BINDING_ID = 7; |
pnysten | 23:cf1770966071 | 16 | const int LWM2M_SERVER_UPDATE_ID = 8; |
pnysten | 23:cf1770966071 | 17 | |
pnysten | 23:cf1770966071 | 18 | |
pnysten | 23:cf1770966071 | 19 | class Lwm2m_Server_Object : public Lwm2m_Object { |
pnysten | 23:cf1770966071 | 20 | |
pnysten | 23:cf1770966071 | 21 | private : |
pnysten | 23:cf1770966071 | 22 | |
pnysten | 23:cf1770966071 | 23 | public: |
pnysten | 23:cf1770966071 | 24 | |
pnysten | 23:cf1770966071 | 25 | Lwm2m_Server_Object(uint16_t object_Id, int object_Instance, bool multiple_instance, bool mandatory, std::string object_URN,Lwm2m_Node * node); |
pnysten | 23:cf1770966071 | 26 | virtual std::string get_Lifetime(); |
pnysten | 23:cf1770966071 | 27 | virtual std::string get_Binding(); |
pnysten | 23:cf1770966071 | 28 | |
pnysten | 23:cf1770966071 | 29 | ~Lwm2m_Server_Object(); |
pnysten | 23:cf1770966071 | 30 | }; |
pnysten | 23:cf1770966071 | 31 | |
pnysten | 23:cf1770966071 | 32 | #endif /* defined(__lwm2m_client__Lwm2m_Server_Object__) */ |