This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FOTA with NB-IoT failing

Hi community

I'm trying to evaluate the possibilities of an application update over the air via NB-Iot. According to this post this should be possible.

I'm using the application_update example with the nRF9160-DK (B1).

The example works fine with LTE-M and is able to download the update.

In the prj.conf I changed the defaults for the fragment size (2048 B) and the network mode (LTE-M) to 512 B and NB-IoT by adding the following lines:

CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE_512=y
CONFIG_LTE_NETWORK_MODE_NBIOT=y

The code compiles and the LTE Link does connect. It also connects to the server but then it fails with the error 116, see below:

*** Booting Zephyr OS build v2.6.99-ncs1  ***
HTTP application update sample started
LTE Link Connecting ...
LTE Link Connected!
Press Button 1 to perform application firmware update
I: Configuring socket timeout (30 s)
I: Connecting to hidden-url.com
I: Downloading: FOTA/app_update.bin [0]
E: Error in recv(), errno 116
E: Download client error
Received error from fota_download

Does anyone have an idea whats wrong here?

Thanks!

Simon

Parents
  • Hi Simon,

    The iBasis SIM card does not support our local NB-IoT network in Norway, so I did not have a chance to test it myself.

     I check with my colleague who has done FOTA over NB-IoT, here is his impression:

    I've tested FOTA over nb-iot with SLM.
    It works, but it is slow and prone for retries. (so download stops, and resumes when the connection is stable again)
    FOTA over nb-iot takes a long time and is power-hungry, but it should work. (however, recommended to use LTE-M if available)

    Best regards,

    Charlie

Reply
  • Hi Simon,

    The iBasis SIM card does not support our local NB-IoT network in Norway, so I did not have a chance to test it myself.

     I check with my colleague who has done FOTA over NB-IoT, here is his impression:

    I've tested FOTA over nb-iot with SLM.
    It works, but it is slow and prone for retries. (so download stops, and resumes when the connection is stable again)
    FOTA over nb-iot takes a long time and is power-hungry, but it should work. (however, recommended to use LTE-M if available)

    Best regards,

    Charlie

Children
Related