Issues with connecting nRF9160-DK to the cellular network using NB-IOT

I have problems with connecting nRF9160-DK to the cellular network. I have Airtel SIM which I normally use for mobile. My question is that do I need a special SIM for NB-IoT connection?

I tried to flash the AT-Commands rebuilt binary downloaded from the Nordic website.

After that I opened a LTE Link monitor app to observe the connection status and found that the modem tries to search for the network but can not find the network...

Also, can I use GPS without having the cellular connection?

Parents Reply Children
  • Hi,

    Also, can I use GPS without having the cellular connection?

    Yes, GPS is not related to LTE at all, unless you are using A-GPS or P-GPS to download some of the data from the internet instead of directly from the satellites.

    My question is that do I need a special SIM for NB-IoT connection?

    Your subscription need to support or include NB-IoT. This is typically not the case for "normal" SIM cards and subscriptions, so you will typically need a different SIM card for your IoT device than what you have in your cell phone.

    ujur007 said:
    I forgot to tell, I am located in India and here there is no coverage for LTE-M and NB-IoT with provided SIM card by nordic..(Soracom and iBasis.)

    Then you will need to get a local SIM card with NB-IoT support.

    Best regards,

    Didrik

  • Thank you for your reply.

    I inquired about the SIM card with a couple of network operators here and realized that there are two things to consider.

    First one must be an employee of a company or own a business and second that there are minimum quantities(10 SIMs) one must buy. It's not like I can go to a shop and tell them to give me a SIM with nb-iot connection.Relieved

    So I decided, for now, to use the onboard BLE connection of the DK and connect to the cloud. I can purchase the connection letter. 

  • Hi,

    Also, can I use GPS without having the cellular connection?

    Yes, GPS is not related to LTE at all, unless you are using A-GPS or P-GPS to download some of the data from the internet instead of directly from the satellites.

    Sorry for catching up late but recently I started to use the GNSS on nRF9160-DK and followed the guide on Dev academy.

    https://academy.nordicsemi.com/courses/cellular-iot-fundamentals/lessons/lesson-6-cellular-fundamentals/topic/lesson-6-gnss-interface/

    There there is a configuration called (CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT_GPS), which confuses me weather I would need active NB-IoT connection to get the location data.?

    One more issue that I have faced is regarding the use of the Location library.

    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/modem/location.html

    When I compile the project, I get an error which is in the header location.h

    error: 'CONFIG_LOCATION_METHODS_LIST_SIZE' undeclared here (not in a function)

    Do you have a clue how to solve this error?

    Also, I am new to GNSS features, what would you suggest to use? Location library in the nRF connect SDK or the GNSS interface in the nrfx lib?

  • ujur007 said:
    There there is a configuration called (CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT_GPS), which confuses me weather I would need active NB-IoT connection to get the location data.?

    No, you don't need an NB-IoT or LTE-M connection to get a GNSS fix.

    However, most nRF9160 application will use NB-IoT or LTE-M to send the position, along with other data to some cloud. Also, having an NB-IoT or LTE-M connection lets you use A-GPS, which can help getting a GNSS fix.

    ujur007 said:

    When I compile the project, I get an error which is in the header location.h

    error: 'CONFIG_LOCATION_METHODS_LIST_SIZE' undeclared here (not in a function)

    Do you have a clue how to solve this error?

    Have you enabled to location library with CONFIG_LOCATION=y?

    ujur007 said:
    Also, I am new to GNSS features, what would you suggest to use? Location library in the nRF connect SDK or the GNSS interface in the nrfx lib?

    The location library is built on top of the GNSS interface in the modem_lib.

    It adds features such as A-GPS, but also other location methods such as Wi-Fi or cell based locations.

    You get a bit more control with the GNSS interface, but if you want backup location methods, or plan to use A- or P-GPS, the location library will be easier to use.

  • Have you enabled to location library with CONFIG_LOCATION=y?

    Yes, I have. The actual error is as follows.

    /user/ncs/v2.0.0/nrf/include/modem/location.h:251:47: error: 'CONFIG_LOCATION_METHODS_LIST_SIZE' undeclared here (not in a function)
    251 | struct location_method_config methods[CONFIG_LOCATION_METHODS_LIST_SIZE];
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Related