net: lwm2m: DTLS session cache enable and queue mode update
Enabled DTLS session cache for support session resume. Fixed LwM2M queue mode for close connection and reconnect automatically. Re-connect will do Registration update before it send queued data. Session resume is helping a case when NAT change address and cause less network traffic. Signed-off-by: Juha Heiskanen <juha.heiskanen@nordicsemi.no>
This commit is contained in:
parent
5249e43e54
commit
f20eeebbd1
6 changed files with 230 additions and 15 deletions
|
@ -43,7 +43,9 @@ int engine_trigger_bootstrap(void);
|
|||
#if defined(CONFIG_LWM2M_RD_CLIENT_SUPPORT_BOOTSTRAP)
|
||||
void engine_bootstrap_finish(void);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_LWM2M_QUEUE_MODE_ENABLED)
|
||||
int lwm2m_rd_client_connection_resume(struct lwm2m_ctx *client_ctx);
|
||||
#endif
|
||||
void engine_update_tx_time(void);
|
||||
|
||||
#endif /* LWM2M_RD_CLIENT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue