Issue of https_client can not post data to sever in weak signal

Hi Support Team

We add below code to the while loop in the main.c file of NCS sample https_client to post data to server. But it can not recover to post data to server after from bad signal to good signal. The enclosed files are the log and the code we test. The version of NCS is v2.2.0 and the version of modem is v1.3.6 and the version of nRF9160DK we test is V1.1.0. Many thanks.

6266.ReceivedTofile-COM16-2024_6_11_14-00-25.DAT1300.https_client.zip

Parents
  • Hi Tom,

    You need to have some functions to manage this on your application codes. For example, you can monitor the notifications of changes in signal quality and register status, then take actions to handle the changes. For example, stop send HTTP when RSRP is bad then restart when RSRP recover to better condition.

    Assert tracker V2 actually demonstrates the following design concept about unreliable conditions handling, you can refer to its implementation.

    • Offline first - Highly-mobile cellular IoT products need to handle unreliable connections gracefully by implementing mechanisms to retry the failed sending of data.

    Best regards,

    Charlie

Reply
  • Hi Tom,

    You need to have some functions to manage this on your application codes. For example, you can monitor the notifications of changes in signal quality and register status, then take actions to handle the changes. For example, stop send HTTP when RSRP is bad then restart when RSRP recover to better condition.

    Assert tracker V2 actually demonstrates the following design concept about unreliable conditions handling, you can refer to its implementation.

    • Offline first - Highly-mobile cellular IoT products need to handle unreliable connections gracefully by implementing mechanisms to retry the failed sending of data.

    Best regards,

    Charlie

Children
No Data
Related