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 Pascal Nysten

resources/Lwm2m_Server_Object.h

Committer:
pnysten
Date:
2016-02-17
Revision:
23:cf1770966071

File content as of revision 23:cf1770966071:

#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__) */