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

NRF9160 APN setup for https-client example

Hi,

We are trying to use our NRF91-DK with a proximus simcard (belgian provider).
I'm trying to get the https-client example to work without any code modifications.
We know we need to set an apn for proximus but it's not working.

I added the following to my prj.conf

CONFIG_LTE_PDP_CMD=y
CONFIG_LTE_PDP_CONTEXT="1\"IP\",\"m2minternet.proximus.be\""
CONFIG_BSD_LIBRARY_TRACE_ENABLED=y

and reimported the project in embedded studio to test.

Problem is that I'm blind to what's happening in the libraries of the modem.
I enabled the trace but i can't open the .bin file where it logs.
Can i see the at command output somewhere?

Thanks for any help!

Marvin

trace-2020-05-29T11-39-13.869Z.bin

Parents Reply Children
  • Hi Martin,

    Thank you for the follow up!

    I added the config line to my prj.conf file and reimported it and rebuild it.
    I still have no working example.

    I indeed use the lte link monitor for debugging but the problem is that the library handles AT commands and i don't really know what is happening on at level, is this correct?

    It freezes at provisioning certificate in the serial output.

    SPM: NS image at 0xc000

    
    
    
    
    SPM: NS MSP at 0x20024880
    
    
    
    

    SPM: NS reset vector at 0xcf31
    
    
    
    

    SPM: prepare to jump to Non-Secure image.

    
    
    
    
    *** Booting Zephyr OS build v2.1.99-ncs1  
    ***
    
    
    
    
    HTTPS client sample started

    
    
    
    
    
    
    Provisioning certificate


    Thanks!
    Marvin

    My prj.conf with https example no changes to code.


    CONFIG_BSD_LIBRARY=y
    CONFIG_BSD_LIBRARY_SYS_INIT=n

    CONFIG_NETWORKING=y
    CONFIG_NET_SOCKETS=y
    CONFIG_NET_NATIVE=n

    CONFIG_HEAP_MEM_POOL_SIZE=4096
    CONFIG_MAIN_STACK_SIZE=4096

    CONFIG_MODEM_KEY_MGMT=y
    CONFIG_LTE_LINK_CONTROL=y

    CONFIG_LTE_PDP_CMD=y
    CONFIG_LTE_PDP_CONTEXT="1,\"IP\",\"m2minternet.proximus.be\""

    #CONFIG_BSD_LIBRARY_TRACE_ENABLED=y

    CONFIG_LTE_NETWORK_MODE_NBIOT=y
Related