Connect to NRF cloud using the Serial LTE Modem sample

Hi,

The NCS version I am using is 2.4.0

I have a 91DK which has a modem firmware of 1.3.5. I also have flashed the serial_lte_modem hex file. I saw that we can connect to NRF cloud using the asset tracker V2 hex file. Wanted to know if it is possible to do the same with serial lte modem hex file.

Thank you for your help.

Regards 

Parents
  • yes you can connect to nRF Cloud using the pre-compiled Serial LTE Modem hex file.

    it looks like you have found the device device credentials and provisioning documentation (note: we are in the process of changing this term to device onboarding), but i will list all the steps here:

    1. Create and install credentials on your device.
      1. Create a self-signed CA cert and private key: see create_ca_cert.py
      2. Create/install a device private key and certificate: see device_credentials_installer.py
        This step uses the CA cert and private key pem files created in step 1a.
        By default, a provision.csv file is created when the script executes successfully.
        If your device is already running serial LTE modem, add --term CRLF to the python command.
        Example: 
        python3 ./device_credentials_installer.py --ca <CA_CERT.PEM> --ca_key <CA_PRIVATE_KEY.PEM> -d --term CRLF
    2. Use the provision.csv file created in step 1b to provision (onboard) your device to nRF Cloud.
      1. Use the web UI: https://nrfcloud.com/#/add-device/bulk 
      2. Or use the REST API: https://api.nrfcloud.com/v1#tag/IP-Devices/operation/ProvisionDevices
    3. When your device has been successfully added to your nRF Cloud account, it should appear in your device list: https://nrfcloud.com/#/devices
    4. Now connect the device with serial LTE modem:
      > AT+CFUN=1
      
      OK
      > AT+CEREG?
      
      +CEREG: 0,5,"900A","0509260F",7
      
      OK
      > AT#XNRFCLOUD=1
      
      OK
      
      #XNRFCLOUD: 1,0
      > AT#XNRFCLOUD?
      
      #XNRFCLOUD: 1,0,16842753,"50503642-3239-4f86-80c4-06122e299623"
      
      OK
Reply
  • yes you can connect to nRF Cloud using the pre-compiled Serial LTE Modem hex file.

    it looks like you have found the device device credentials and provisioning documentation (note: we are in the process of changing this term to device onboarding), but i will list all the steps here:

    1. Create and install credentials on your device.
      1. Create a self-signed CA cert and private key: see create_ca_cert.py
      2. Create/install a device private key and certificate: see device_credentials_installer.py
        This step uses the CA cert and private key pem files created in step 1a.
        By default, a provision.csv file is created when the script executes successfully.
        If your device is already running serial LTE modem, add --term CRLF to the python command.
        Example: 
        python3 ./device_credentials_installer.py --ca <CA_CERT.PEM> --ca_key <CA_PRIVATE_KEY.PEM> -d --term CRLF
    2. Use the provision.csv file created in step 1b to provision (onboard) your device to nRF Cloud.
      1. Use the web UI: https://nrfcloud.com/#/add-device/bulk 
      2. Or use the REST API: https://api.nrfcloud.com/v1#tag/IP-Devices/operation/ProvisionDevices
    3. When your device has been successfully added to your nRF Cloud account, it should appear in your device list: https://nrfcloud.com/#/devices
    4. Now connect the device with serial LTE modem:
      > AT+CFUN=1
      
      OK
      > AT+CEREG?
      
      +CEREG: 0,5,"900A","0509260F",7
      
      OK
      > AT#XNRFCLOUD=1
      
      OK
      
      #XNRFCLOUD: 1,0
      > AT#XNRFCLOUD?
      
      #XNRFCLOUD: 1,0,16842753,"50503642-3239-4f86-80c4-06122e299623"
      
      OK
Children
Related