Hello,
I have a firmware that sends every 15 min a packet to nRFCloud using nrf_cloud_coap_json_message_send().
The code is working great most of the time : hundreds of devices deployed, but very few cases with the issue reported here.
Sometimes, calling nrf_cloud_coap_json_message_send() returns error -116 ETIMEDOUT. I was unable to find any details on this error and how to fix it.
It really seems to occurs at a random moment, without any noticable fact compared to the standard case : no network issue, the devices uses PSM, authenfication to nRFCloud is no reset, ...
Following this error, any attempt to reach nRFCloud fails, with error -111. I beleive this is simply due to the fact that the firmware should adapt to the initial ETIMEDOUT error, and fix something before trying to send any other data.
Thanks.
Vincent