Config from nRFCloud

Hello everyone,

In our custom tracking application for the nRF9160, I am connecting to nRFCloud through MQTT when needed. Either when sending a data, or requesting assistance or cell location data.

Upon connecting, I receive some data from the cloud with topics and some config, as this:
... "config":{"activeMode":true,"gnssTimeout":60,"activeWaitTime":120,"movementResolution":120,"movementTimeout":3600,"movementThreshold":10,"nod":[]}

These stem from the Asset Tracker 2, which I am not using. I would like to be able to change these configs through APIs, not just manually from the nRFCloud website. My desire is to adjust the intervals of fix from our own website through the APIs, and have these changes sent with the same package I get every time I connect to the cloud. I have not found these in the APIs (https://api.nrfcloud.com/v1) or protocol schemas (https://github.com/nRFCloud/application-protocols/tree/v1/schemas).

Would you kindly assist me by directing me to the appropriate documentation/APIs, if there are any? If not, do you have any other suggestions as to how I can solve my issue?

Sending messages through the API does not help, as they need to be sent while the device is connected. If they were retained and sent upon connection, this would also be a solution. However, since these topics and config data are sent anyway upon connecting we could hit two flies in one smack, as we say in Norway (Similar to the "kill two birds with one stone")

Thank you all for all and any help!

Kind regards,

Torje

Parents Reply Children
No Data
Related