net: lwm2m: Notify when it's safe to turn RX off
According to LWM2M specification, when Queue Mode is used, the LWM2M client should keep the reciever on for specified time after sending A CoAP message. This commit adds a new LWM2M event, `LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF`, to facilitate the process by notifying the application when it's safe to turn the receiver off. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
842d4b220f
commit
d2e7a7d0c7
4 changed files with 26 additions and 1 deletions
|
@ -837,7 +837,8 @@ enum lwm2m_rd_client_event {
|
|||
LWM2M_RD_CLIENT_EVENT_REG_UPDATE_FAILURE,
|
||||
LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE,
|
||||
LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE,
|
||||
LWM2M_RD_CLIENT_EVENT_DISCONNECT
|
||||
LWM2M_RD_CLIENT_EVENT_DISCONNECT,
|
||||
LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue