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

How to receive data from nRF cloud to LTE device

Hi Team,

We are using nRF9160 DK. In the process of testing I would like to know that is it possible to send data from nRF cloud to nRF9160(LTE device). I have gone through this ticket https://devzone.nordicsemi.com/f/nordic-q-a/54021/sending-commands-from-nrfcloud-terminal-to-lte-device . By looking into that i can assume there are bugs in sending data from cloud to LTE device. As it was a old ticket which is 5 months old, Hope its solved now.

I would like to know that

  1. Can we send data from nRF cloud to LTE device if yes what is the example we need to test.
  2. What are the commands can we give to send data from nRF cloud terminal to LTE device. I could not get any commands could you please point me to the procedure so that i can perform that.

Please consider an assert tracking example we can send the GPS data from LTE device to nRF cloud. I want to read some data from cloud to LTE device. Please point me to the required information.

Thanks,

Venkatesh

  • Hi,

     

    When your device is successfully added and connected to nrfcloud, there is a terminal in the right corner:

    From here, you can send json formatted data (examples here)

    This will be received, but unfortunately; asset_tracker receives the data, but does not parse it because it does not expect commands from the cloud:

    [00:14:32.667,022] <dbg> aws_fota.on_publish_evt: Received topic: prod/3805303c-deb1-451b-8862-27e5ca128799/m/d/MY_IMEI/c2dd
    [00:14:32.679,412] <inf> aws_fota: received an unhandled MQTT publish event on topic: prod/3805303c-deb1-451b-8862-27e5ca128799/m/d/MY_IMEI/c2dd
    [00:14:32.693,603] <dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_PUBLISH: id = 15776 len = 56
    [00:14:32.703,674] <dbg> nrf_cloud.nfsm_set_current_state_and_notify: state: 9
    [00:14:32.711,486] <dbg> nrf_cloud.event_handler: NRF_CLOUD_EVT_RX_DATA
    [00:14:32.718,536] <inf> asset_tracker: CLOUD_EVT_DATA_RECEIVED

    We do not have any guides or examples on how to parse a specific json on the nrf at this point, unfortunately.

     

    Kind regards,

    Håkon

Related