1. I am tried to clear DTLS session during lwm2m session using coap_security_destroy() . I have added logging and I can see ntf_tls_free() is called from coap_security_destroy() function.
After coap_security_destroy I call the lwm2m_register function and the result is still NRF_TLS_HANDSHAKE_IN_PROGRESS. Is the nrf_tls_free function not working properly.
2. Many times when I tried to create a secure DTLS session during the registration process in bootstrap and lwm2m register it continuously retries to create the DTLS session but never connects with lwm2m and bootstrap server.
nRF SDK version == 16.0.0
device == nRF52840
IDE == Segger embedded studio
example used as a reference lwm2m_client in IoT section.
Please let me know if anyone has a solution or any information on it.
Thanks in advance
Regards
Abhishek Goel