Hi,
I'm using a circuitdojo feather nrf9160 I want to use the nRF cloud but I got some trouble connecting. Something is missing, but don't know what.
This is what I did:
- Create CA Cert with create_ca_cert.py saved ca_ca.pem, ca_prv.pem & ca_pub.pem
- Modem Credentials Parser used AT%KEYGEN=17,2,0 and saved the _csr.pem & _pub.pem file.
- Create Device Credentials with the ca_ca.pem, ca_prv.pem & _csr.pem file and saved the crt.pem & pub.pem file.
- nRF connect Certificate manager to add the aws_ca to Ca certificate, crt.pem to client certificate from 3 & ca_prv.pem to private key from 1
- Edit a onboard.csv with the UUID that is in the default names of step 2&3 and the device crt crt.pem from 3
- nRF cloud onboard nrf_cloud_onboard.py --apikey personal apikey --csv onboard.csv
- Flash nrf_cloud_mqtt_multi_service from https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers.git
The device is onboarded but does not find a connection from the feather to the cloud.
With the nrf91 dk I used device_credentials_installer.py but that doesn't work because it gets stuck with sending at commands to add the certificates to the feather.
The relevant terminal output:
[00:00:05.679,687] [0m<dbg> connection: lte_event_handler: LTE_EVENT: Modem domain event, type: Search done [00:00:05.684,875] [0m<dbg> connection: lte_event_handler: LTE_EVENT: Network registration status 5, Registered Roaming [00:00:05.685,028] [0m<inf> connection: Connected to LTE network [00:00:05.685,119] [0m<inf> connection: Connecting to nRF Cloud... [00:00:05.685,119] [0m<inf> connection: Next connection retry in 30 seconds [00:00:05.685,180] [0m<dbg> connection: await_cloud_connected: Awaiting Cloud Connection [00:00:05.685,241] [0m<dbg> connection: await_cloud_ready: Awaiting Cloud Ready [00:00:05.685,272] [0m<dbg> connection: cloud_event_handler: NRF_CLOUD_EVT_TRANSPORT_CONNECTING [00:00:05.686,309] [0m<dbg> connection: lte_event_handler: LTE_EVENT: PSM parameter update: TAU: 3240, Active time: -1 [00:00:05.689,544] [0m<dbg> connection: await_cloud_ready: Awaiting Cloud Ready +CSCON: 0 [00:00:15.542,877] [0m<dbg> connection: lte_event_handler: LTE_EVENT: RRC mode: Idle +CSCON: 1 [00:02:46.074,951] [0m<dbg> connection: cloud_event_handler: NRF_CLOUD_EVT_TRANSPORT_CONNECT_ERROR: -10 [00:02:46.136,199] [0m<dbg> connection: lte_event_handler: LTE_EVENT: RRC mode: Connected[0m +CSCON: 0
I hope someone knows what I did wrong. So I can implement the code I have written for the dk to the feather.