This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

message from the nRF Cloud terminal to asset_tracker

I wish to send a message from the nRF Cloud terminal to my device that will land in this branch of nrf/applications/asset_tracker/src/main.c.

} else if ((cmd->channel == CLOUD_CHANNEL_DEVICE_INFO) &&
(cmd->group == CLOUD_CMD_GROUP_GET) &&
(cmd->type == CLOUD_CMD_EMPTY)) {
k_work_submit_to_queue(&application_work_q,
&device_status_work);


of the function
static void cloud_cmd_handler(struct cloud_command *cmd)

Please show me the JSON message I need to enter into the terminal. I was not able to find the documentation for this.

Thank you very much.

Related