how to add softsim to an existing project like nrf_cloud_multi_service

Hi,

We recently managed to get the onomondo softsim working on a dev kit, we used the sample code provided by onomodo to do this. Now we want to add the softsim to the nrf_cloud_multi_service sample. What are the changes that we need to make on this sample inorder for it to work with a softsim. 

  • Hi,

    Akshay said:
    Any update on this?

    No, there is no update yet. We will look into this from Wednesday onwards. I expect to get back to you by the end of the week.

    Thank you for your patience.

    Best regards,
    Dejan

  • Hi Dejan,

    I understand, thanks for letting me know.

    best regards,

  • Hi,

    You could have a look at this pull request. Please note that the commit is for v2.6-branch of the sdk-nrf. 

    Best regards,
    Dejan

  • Hi Dejan,

    It worked!!.

    [00:00:20.402,679] <inf> cloud_connection: Transfer SoftSIM profile using serial COM port, terminate by newline character (return key)
    [00:00:00.264,007] <inf> spi_nor: gd25wb256e3ir@1: 32 MiBy flash
    *** Booting nRF Connect SDK v3.5.99-ncs1-2 ***
    [00:00:00.275,634] <inf> softsim: SoftSIM initialized
    [00:00:00.276,000] <inf> main: nRF Cloud multi-service sample has started, version: 1.0.0, protocol: MQTT
    [00:00:00.276,428] <inf> cloud_connection: Waiting for SoftSIM profile...
    [00:00:00.276,458] <inf> cloud_connection: Transfer SoftSIM profile using serial COM port, terminate by newline character (return key)
    [00:00:20.276,550] <inf> cloud_connection: Transfer SoftSIM profile using serial COM port, terminate by newline character (return key)
    > 01120829430512304655900214985437000000625405090320D8EF8D08B27BCB48B3C2AA86CA3E286004204F78CCDAEA891A8783162AFF704CD9AA0808363038330b1037303236343836370a2033383232353236363731333634373932
    [00:00:33.034,942] <inf> cloud_connection: Profile received: 186 characters in total
    [00:00:33.316,253] <inf> softsim: SoftSIM keys written to KMU
    [00:00:33.316,284] <inf> softsim: Provisioning SoftSIM 1/4
    [00:00:33.405,670] <inf> softsim: Provisioning SoftSIM 2/4
    [00:00:33.407,165] <inf> softsim: Provisioning SoftSIM 3/4
    [00:00:33.408,905] <inf> softsim: Provisioning SoftSIM 4/4
    [00:00:33.411,560] <inf> softsim: SoftSIM provisioned
    [00:00:00.263,336] <inf> spi_nor: gd25wb256e3ir@1: 32 MiBy flash
    *** Booting nRF Connect SDK v3.5.99-ncs1-2 ***
    [00:00:00.276,062] <inf> softsim: SoftSIM initialized
    [00:00:00.276,458] <inf> main: nRF Cloud multi-service sample has started, version: 1.0.0, protocol: MQTT
    [00:00:00.277,191] <inf> cloud_connection: SoftSIM is provisioned.
    [00:00:00.277,221] <inf> cloud_connection: Enabling connectivity...
    [00:00:00.578,643] <inf> cloud_connection: Setting up nRF Cloud library...
    [00:00:00.587,280] <inf> cloud_connection: Waiting for network ready...
    +CGEV: EXCE STATUS 0
    +CEREG: 2,"0609","00C77C11",7
    +CSCON: 1
    +CEREG: 2,"0609","00C77C11",7,0,11
    +CSCON: 0
    +CEREG: 2,"50F9","0550C116",7
    +CSCON: 1
    +CGEV: ME PDN ACT 0,0
    +CNEC_ESM: 50,0
    +CEREG: 5,"50F9","0550C116",7,,,"00001010","00000011"
    [00:00:23.954,254] <inf> cloud_connection: Network connectivity gained!
    %XTIME: "0A","5220012124610A","00"
    [00:00:24.954,376] <inf> cloud_connection: Network is ready
    [00:00:24.954,406] <inf> cloud_connection: Connecting to nRF Cloud
    [00:00:24.954,467] <inf> cloud_connection: Device ID: nrf-359404230033467
    [00:00:27.600,769] <inf> cloud_connection: Connected to nRF Cloud
    [00:00:29.488,525] <inf> application: Waiting for modem to determine current date and time
    [00:00:29.488,555] <inf> application: Current date and time determined
    [00:00:29.499,359] <inf> application: Temperature is 23 degrees C
    [00:00:29.500,762] <inf> nrf_cloud_pgps: Storage base:0xDB000, size:86016
    [00:00:29.501,983] <inf> nrf_cloud_pgps: Checking P-GPS header: Schema version:0, type:0, num:0, count:0

    Thank you so much for your help.

    best regards,

Related