Any json examples sending commands (CLOUD_EVT_DATA_RECEIVED) from nrfcloud terminal to LTE Device (nRF9160 DK)
Any json examples sending commands (CLOUD_EVT_DATA_RECEIVED) from nrfcloud terminal to LTE Device (nRF9160 DK)
Hi.
This pull request will fix the bug: https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1355/files
(specifically the changes to subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c:573)
With that fixed, you can send JSON from the "Terminal" card in nRF Cloud to the device. The data is forwarded to the application, but I am still working on finding documentation for what the asset_tracker application does with the data.
Best regards,
Didrik
At the moment, the asset_tracker application only supports a couple of commands, and those only partially.
Also, the format of the commands is still work in progress, and is changing.
Therefore, at the moment, if you want to use the "Terminal" card to send data/commands to the asset_tracker, you should create your own JSON format and commands, instead of using the built in command parsing.
At the moment, the asset_tracker application only supports a couple of commands, and those only partially.
Also, the format of the commands is still work in progress, and is changing.
Therefore, at the moment, if you want to use the "Terminal" card to send data/commands to the asset_tracker, you should create your own JSON format and commands, instead of using the built in command parsing.