On every boot, once LTE is registered, the Cloud module runs a provisioning session:
- The module sends
AT#XNRFPROV. The Serial Modem connects to the nRF Cloud provisioning service. - If the service has credentials to install, the Serial Modem reports
#XNRFPROV: 1. The host takes LTE offline withAT+CFUN=4while the credentials are written, and brings it back withAT+CFUN=1on#XNRFPROV: 2. #XNRFPROV: 0ends the session. The console logsProvisioning done, and the module connects withAT#XNRFCLOUD=1,1. When the device is already provisioned, the session ends right away with no commands.- If the device is not claimed, the Serial Modem reports
#XNRFPROV: -2. The console logs the attestation token fromAT%ATTESTTOKEN, and the module retries everyCONFIG_APP_CLOUD_RETRY_SECONDS(60 s) until you claim the device.
The nRF Cloud device ID is the modem UUID, which the console logs as Device UUID:.