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
  • Hi Martin,

    great you're back, since I need more support to get this ship going.


    1)
    So If I get you, you recommend setting these settings then resetting the modem, for it to boot up in the correct mode ?

    I'm using the "ble_lte_gateway"-example. I'm guessing there is no easy way to put at-commands anywhere in it as it is, without rewriting parts, or? I could just use at_client-example as well, to set them, then put back this ble_lte_gateway to continue testing to get the certificates working. Sounds good to you? 

    2) The security tag, is this something I should request from our AWS-guy then?
    I'm not into the AWS-stuff, just receiving certificates from him, to put in the certificates.h so far.

    3) I see also a clientID, it's probably from AWS. Could it be the numbers in the filename?
    "70ff304fdd-private.pem.key", ie 70ff304ffdd ?

Children
Related