This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to access the nRF9160 modem once it is connected to the iBasic network.

After fixing my nRF9160 DK certifications it now connects to the network and LED4 is on solid.
Now that it's connected, I need to learn how to connect to a server and pass some data.
But AT+CNUM still returns +CME ERROR: 0 and shows 'phone failure' errors in the Link Monitor.
Is my SIM missing something, or am I?

Do I need to run a different demo application than the asset-tracker? I'm not finding any intermediate-step tutorials.

In other modems I used, I had a static IP address associated with a dial-in number here in the US.

I've been unable to locate detailed information about this type of connectivity and usage of LTE-M modems.

Parents
  • I was not able to compile for nRF9160 due to BSD library errors, but it built fine for nRF9160ns.

    However, each time I enter a wrong command like at+cnum? or ATD*******# causing a +CME: 0, the unit locks up and won't respond to AT.  I must re-select the device and then it will accept commands again.

    I have not been able to find a resolve for the BSD errors.

    Also, is there a tutorial on getting the modem to connect to the iBasis.iot APN? Perhaps I need to write my own application?

    I want to use test the LTE modem to act as a conduit to supply sensor data to our data-gathering server. Each of our field units would have an LTE modem to periodically contact a server to send the latest data.  (at this point, data could just be simulated)

  • Hi!

    Yes, the BSD library can only run in the non-secure application domain, so all applications using BSD Lib will need to be built for the non-secure board (nrf9160dk_nrf9160ns).

    You can use +CGDCONT to set the APN and PDP_type. I don't think we have a tutorial available, unfortunately. 

    I recommend taking a look at all the samples available in NCS to see if any of the applications are similar to your goal. 

    We have the LTE Sensor Gateway which collects data via BLE and transmits it to nRF Cloud via LTE. The Cloud client sample uses either nRF Cloud or AWS IoT to demonstrate how to use the Cloud API to connect to a cloud service. 

    We also have the Simple MQTT sample to connect to an MQTT broker and the HTTPS Client sample to connect to an HTTP server over TLS. 

    Best regards,

    Heidi

Reply
  • Hi!

    Yes, the BSD library can only run in the non-secure application domain, so all applications using BSD Lib will need to be built for the non-secure board (nrf9160dk_nrf9160ns).

    You can use +CGDCONT to set the APN and PDP_type. I don't think we have a tutorial available, unfortunately. 

    I recommend taking a look at all the samples available in NCS to see if any of the applications are similar to your goal. 

    We have the LTE Sensor Gateway which collects data via BLE and transmits it to nRF Cloud via LTE. The Cloud client sample uses either nRF Cloud or AWS IoT to demonstrate how to use the Cloud API to connect to a cloud service. 

    We also have the Simple MQTT sample to connect to an MQTT broker and the HTTPS Client sample to connect to an HTTP server over TLS. 

    Best regards,

    Heidi

Children
No Data
Related