Hey guys, I'm an embedded software engineer and I am currently working in a prototype, specifically using the Circuitdojo Feather nRF9160, I am also using a Hologram International IoT SIM Card that according to the coverage map Colombia is a country supported and I can see that Colombia is a region that supports 3 different mobile carriers with Hologram.
I am currently testing the `at_client` sample but after playing around with the LTE Link Monitor from nRF Connect for Desktop, I have been unable to get internet access in the nRF9160 microcontroller.
The only steps that I have entered in the LTE Link Monitor are the following:
AT+CFUN? +CFUN: 0 OK AT+CFUN? +CFUN: 0 OK AT+CFUN=1 OK AT+CFUN? +CFUN: 1 OK AT+CGSN=1+CGSN: "352656103797646" OK AT+CGMINordic Semiconductor ASA OK AT+CGMMnRF9160-SICA OK AT+CGMRmfw_nrf9160_1.2.3 OK AT+CEMODE? +CEMODE: 2 OK AT%XCBAND=?%XCBAND: (1,2,3,4,5,8,12,13,18,19,20,25,26,28,66) OK AT+CMEE? +CMEE: 0 OK AT+CMEE=1 OK AT+CNEC? +CNEC: 0 OK AT+CNEC=24 OK AT+CGEREP? +CGEREP: 0,0 OK AT+CGDCONT? +CGDCONT: 0,"IP","hologram","",0,0 OK AT+CGACT? +CGACT: 0,0 OK AT+CGEREP=1 OK AT+CIND=1,1,1 OK AT+CEREG=5 OK AT+CEREG? +CEREG: 5,4,"FFFE","FFFFFFFF",7,0,0,"00000000","00000000" OK AT%CESQ=1 OK AT+CESQ+CESQ: 99,99,255,255,255,255 OK AT%XSIM=1 OK AT%XSIM?%XSIM: 1 OK AT+CPIN? +CPIN: READY OK AT+CPINR="SIM PIN"+CPINR: "SIM PIN",3 OK AT+CIMI234500007896034OK+CEREG: 2,"FFFE","FFFFFFFF",7,0,0,"11100000","11100000"AT+CEREG? +CEREG: 5,2,"FFFE","FFFFFFFF",7,0,0,"11100000","11100000" OK AT+CEREG? +CEREG: 5,2,"FFFE","FFFFFFFF",7,0,0,"11100000","11100000"OK
Here's my prj.conf file
# # Copyright (c) 2019 Nordic Semiconductor ASA # # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause # # General config CONFIG_ASSERT=y # Network CONFIG_NETWORKING=y CONFIG_NET_NATIVE=n CONFIG_NET_SOCKETS=y CONFIG_NET_SOCKETS_OFFLOAD=y CONFIG_NET_SOCKETS_POSIX_NAMES=y # Modem library CONFIG_NRF_MODEM_LIB=y CONFIG_NRF_MODEM_LIB_TRACE_ENABLED=y # AT host library CONFIG_AT_HOST_LIBRARY=y CONFIG_UART_INTERRUPT_DRIVEN=y # Stacks and heaps CONFIG_MAIN_STACK_SIZE=3072 CONFIG_HEAP_MEM_POOL_SIZE=16384 # Bootloader CONFIG_BOOTLOADER_MCUBOOT=y #The correct APN settings are as follows (I took this from hologram's documentation): # APN: hologram # APN username: (none) # APN password: (none) # IP Address: Dynamic (using DHCP) # Data Roaming: Enabled # Set the PDP context CONFIG_PDN=y CONFIG_PDN_DEFAULTS_OVERRIDE=y CONFIG_PDN_SYS_INIT=y # Note: "ip" is set by PDN_DEFAULT_FAM kconfig's # example: # AT+CGDCONT=1,"ip","apn" - below only sets APN field CONFIG_PDN_DEFAULT_APN="hologram" # CONFIG_PDN_DEFAULT_FAM_IPV4V6=y # CONFIG_PDN_DEFAULT_FAM_IPV4=y
And I created this Kconfig file
config PDN_DEFAULT_FAM default 0 # set to "IP" source "Kconfig.zephyr"
Having this documentation in mind, what's necessary to set up the mobile network in case that I need to do it manually in my nRF9160? Do I need to test with a different APN parameter? Like from Tigo, Claro, Movistar?
Thanks for your time.