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

nRF9160 Cannot make Kconfig options have an effect in Segger Embedded Studio

I have a nRF9160 DK and I'm adapting the asset tracker to connect to our own AWS cloud solution.

I see the code nrf_cloud uses defines coming from the Kconfig at \nrf\subsys\net\lib\nrf_cloud\Kconfig.
For example: NRF_CLOUD_HOST_NAME, NRF_CLOUD_PORT, NRF_CLOUD_PROVISION_CERTIFICATES, NRF_CLOUD_CERTIFICATES_FILE etc

How do I make changes to the Kconfig have an effect when building in Segger Embedded Studio? No matter what I do, changes to this Kconfig doesn't have an effect to the built result.

Am I missing the point, how it's supposed to work perhaps?
Anyone who can educate me, how to work "correctly" with this, would be appreciated.

I tried to build from commandline, but couldn't make it work, so I'm sticking with Segger Embedded Studio so far.
Build platform: win7

Johan

Parents Reply
  • Hello Johan,
    1. You can get/set that data from a simple AT command: AT%XSYSTEMMODE?

    1,0,0,0 = LTE CAT-M1
    
    0,1,0,0 = LTE CAT-NB1
    
    0,0,1,0 = GNSS

    This has to be set before the modem is turned on (AT+CFUN=1)

    and can be changed if the modem is in Offline mode (AT+CFUN=4) 

    (When you turn on the nRF91 it will default be in Offline mode if the application 


    2. Our nrfcloud solution runs on AWS.

    The security tag you are referring to is used when provisioning the certificates to the nrf91.
    Please see how this is used in nrf_cloud_transport.c.

    So if you are going to provision certificates to the modem you need a security tag.

    Best Regards,

    Martin L.

Children
Related