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 Didrik,
I have raised the new ticket on this issue and I was re-directed to this thread by "Justin"
As suggested below, I have all the code changes, but still, I am facing issues to send values from nRF cloud Terminal to Thingy91-PCA20035.
Please suggest me the possible way to receive the values from cloud to Thingy91.
Thank you.
Hi Dheeraj.
Please ensure that the changes to subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c:573 from this pull request is applied: https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1355/files.
ncs/nrf/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c:573 should be
dc.data.ptr = nct.payload_buf;
not
dc.data.ptr = p->message.payload.data;
Best regards,
Didrik
Have a look at cloud_codec.h, main:cloud_cmd_handler(..) and the below json example (I am using ncs v1.2.0):
{"appId":"MODEM", "data":"AT%XMONITOR", "messageType":"CMD"}
Hope it helps.
Are we able to send AT commands like PSM or eDRX setting changes over the terminal window in nrfCloud?
Hi Rossen,
Rather than commenting on a 2,5 year old case, I recommend you open a new ticket.
Remember to include what application you are running on the device, and which SDK version you are using.
Best regards,
Didrik