Developer World
Spresense SDK Library v3.2.0-ebc0364
Ltelwm2m_macro_serverop
Collaboration diagram for Ltelwm2m_macro_serverop:

Server operation notification

Server operation code reported by lwm2mstub_fwupstate_cb_t callback

#define LWM2MSTUB_OP_WRITE   (0)
 Client received "Write" operation.
 
#define LWM2MSTUB_OP_EXEC   (1)
 Client received "Execute" operation.
 
#define LWM2MSTUB_OP_WATTR   (4)
 Client received "Write Attributes" operation.
 
#define LWM2MSTUB_OP_DISCOVER   (5)
 Client received "Discover" operation.
 
#define LWM2MSTUB_OP_READ   (6)
 Client received "Read" operation.
 
#define LWM2MSTUB_OP_OBSERVE   (7)
 Client received "Observe" operation.
 
#define LWM2MSTUB_OP_CANCELOBS   (8)
 Client received "Cancel observation" operation.
 
#define LWM2MSTUB_OP_OFFLINE   (9)
 Client is offline now.
 
#define LWM2MSTUB_OP_ONLINE   (10)
 Client is online now.
 
#define LWM2MSTUB_OP_SENDNOTICE   (11)
 Client sent observation notification to a server.
 
#define LWM2MSTUB_OP_RCVWUP   (12)
 Client received wakeup SMS.
 
#define LWM2MSTUB_OP_RCVOBSACK   (13)
 Client received notification acknowledge.
 
#define LWM2MSTUB_OP_CLIENTON   (14)
 Client ON: LMM2M client exits Client OFF state and tries to re-connect server.
 
#define LWM2MSTUB_OP_CLIENTOFF   (15)
 Client OFF: LWM2M client has exhausted server connection retries.
 
#define LWM2MSTUB_OP_FAILNOTIFY   (16)
 Confirmable NOTIFY failed.
 
#define LWM2MSTUB_OP_BSFINISH   (20)
 Bootstrap finished and completed successfully.
 
#define LWM2MSTUB_OP_REGSUCCESS   (21)
 Registration finished and completed successfully. all server observation requests are cleaned, the host should clean host objects observation rules too.
 
#define LWM2MSTUB_OP_REGUPDATED   (22)
 Register update finished and completed successfully.
 
#define LWM2MSTUB_OP_DEREGSUCCESS   (23)
 De-register finished and completed successfully.
 
#define LWM2MSTUB_OP_NOSENDNOTICE   (24)
 Notification was not saved and not sent to server.
 

Detailed Description