void lwm2m_server_init(void) { /* register this device and its handlers - the handlers automatically sends in the object to handle */ PRINTF("** ** Init lwm2m-server\n"); lwm2m_engine_register_object(&server); }
/*---------------------------------------------------------------------------*/ void lwm2m_device_init(void) { /** * Register this device and its handlers - the handlers * automatically sends in the object to handle. */ PRINTF("*** Init lwm2m-device\n"); lwm2m_engine_register_object(&device); }
void object_leds_init(void) { leds_on(led_value); lwm2m_engine_register_object(&leds_control); }