Hello,
Looking for some input on this LTE-M connectivity issue we are seeing.
Hardware: nRF9151, custom board, same result seen on nRF9151DK.
nRF SDK Version: NCS v3.1.0-preview4 (using latest to pull in some useful changes to Zephyr CoAP client library)
Modem FW: mfw_nrf91x1_2.0.2
We are developing an application that uses CoAP + DTLS over LTE-M, communicating with a privately hosted CoAP server.
We upload files (33kB) from the device (client) to the server using CoAP POST requests (CoAP block-wise if that is relevant).
We have proven this to work, uploading a 33kB file in 17 x 2kB chunks.
The issue arises when the device is left to sit idle for a few minutes after completing an upload.
Next time we trigger a file upload, it fails. The request is not received by the server.
Multiple re-transmissions are triggered by the CoAP lib, but none are successful.
I have captured a modem trace showing this sequence of events -
1. Application boots up, connects to LTE-M network (line 1-42).
2. Connect to CoAP server - DTLS handshake occurs (line 43-52).
3. 1st file upload is triggered. 17 Confirmable CoAP POST request are sent. ACK is received for each (line 53-184).
4. nRF9151 is left idle for a few mins (5-10mins) (it is a co-processor to another main processor). Application does not make any explicit changes to modem, no AT commands sent etc.
5. Another CoAP upload is triggered (line 208) No response received. Re-transmission attempted multiple times. CoAP retry limit is reached and upload is cancelled.
I studied to modem trace in Wireshark to try to understand what changes were being made at the RRC and NAS_EPS level, between the first successful upload and the next failed upload. I could not see anything that looked problematic. The modem seems to be able to get back into RRC_CONNECTED state, but quickly returns to RRC_IDLE. I cannot understand why.
I would appreciate if you could look at the attached modem trace and see if there are any pieces of information that could explain the failed upload attempts.
I am located in Ireland, using Three Ireland network.