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

nrf9160: LTEM connection in Canada

Hi, 

We were trying to setup a device in Canada with carrier 'Telus'. We are able to connect to network but our connection to the cloud seems not happening( HTTPS, MQTT). We dont have any device logs/trace with us at the moment. It will be great to know if you have any experience with carrier 'telus' (LTE-M) canada. Below is the diagnostics they send to us. Please let us know if you can provide any information regarding this.

Also we would like to know is it required set the APN name in device firmware. We were able to connect to network in USA as well as in Singapore without any explicit APN name set in firmware.

  

Thanks in advance,

Aswin

  • Hi Aswin,

    To set the APN in a project you can add that configuration in the prj.conf file.

    For example:

    CONFIG_LTE_PDP_CMD=y
    CONFIG_LTE_PDP_CONTEXT="0,\"IP\",\"custom.apn\""


    If this is required by Telus when using that SIM card it would most likely be a note about that in their site. (or if you contact them)

    For further investigation from our side we would need some serial output log from testing a sample/application on the nrf9160 or even better a modem trace.

    Best regards,
    Martin L

  • Thanks for the response.

    We are able to connect to the network after sending 

    AT+CGDCONT=0,"IP","apnname"

    just after the device reboot.

    Is it possible to make this configuration persistent?

    Because we can not update the device firmware now due to some reasons. Any AT commands for APN persistent storing? 

    Thanks

  • Hi Aswin,

    Just put the configurations:

    CONFIG_LTE_PDP_CMD=y
    CONFIG_LTE_PDP_CONTEXT="0,\"IP\",\"apnname\""

    in your projects prj.conf file for the application that is going to run on your device. It will then select the APN when it turn ON, resets etc.

    So if you are able to update the device firmware then this is the solution.

    e.g.

    If your application can configure the default APN to the Modem then application could as well be able to give it to Modem each time when you create PDN connection.

    Unfortunately there is no AT command that can store the APN. It has to be set before you turn on the modem.



    Best regards,
    Martin L.

Related