Hi!
I am trying to subscribe to nrf cloud with topic "prod/<TEAM_ID>/<DEVICE_ID>/jobs/rcv". After that I get Disconnect event in the MQTT handler.
Topic "prod/<TEAM_ID>/m/#" works perfectly, no disconnections.
Device shadow is updated as:
Hi!
I am trying to subscribe to nrf cloud with topic "prod/<TEAM_ID>/<DEVICE_ID>/jobs/rcv". After that I get Disconnect event in the MQTT handler.
Topic "prod/<TEAM_ID>/m/#" works perfectly, no disconnections.
Device shadow is updated as:
Hi Øyvind,
any updates?
Hello, my apologies, I have been on the road with our Nordic Tech Tour team. Are you able to share your project so that I can test on my side? We can convert this ticket to private if you feel more comfortable.
Kind regards,
Øyvind
I reached out to the nRF Cloud team to have them look at this case. The issue is due to the wrong usage of device ID i.e. you are trying to fetch information from the account device, which is basically a device to monitor other devices in the account.
An account device has MQTT permissions to monitor the message traffic of all devices associated with your account. You can use the certificate for this device to connect to the nRF Cloud MQTT broker and monitor device traffic for debugging purposes, or set up your own MQTT message bridge.
The account device is not eligible for FOTA, which is the reason this fails.
What you should do is use the device ID which is the name you gave the device in nRF Cloud during device provisioning. You will need to change the device ID in you application as well. Our nRF Cloud team tested this and confirms this on their side.
Let me know how that works for you!
Kind regards,
Øyvind