This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Activate Dashboard Cards with AT Commands

I am trying to use the DK Dashboard with the Serial LTE Modem Software.

The connection to the Cloud works in principle but I only can see the terminal card when connected.

Is it possible activate the other cards (e.g. GPS, TEMP) with an AT command (e.g. Subscribe/Publish or other)?

As I know there is no possibility to add own cards, but are there some "hidden" ones that can be activated?

Regards,

Bernd

  • Hi Bernhard,

    I think you mean the Device management Dashboard on nRF Cloud? It is possible in theory, if you record the assert tracker application modem trace, you would be able to simulate the communication traffic with AT commands, jut just like you can use assembly language to do programming, it is possible but not necessary, you should reuse the existing solutions like different libraries to make your life easier. You can also add your own command to do this job based on the current Assert tracker and SLM samples.

    According to nRF document, the UI current support following data:

    "ui": [ "GPS", "FLIP", "TEMP", "HUMID", "AIR_PRESS", "BUTTON", "LIGHT", "RSRP" ]

    Best regards,

    Charlie

  • As Charlie mentioned, the cards are enabled by modifying the "ui" array in the device's shadow.  See nrf_cloud_service_info_json_encode() and nrf_cloud_shadow_device_status_update().

    I do not believe that the SLM application directly supports this.  It does have the option to enable the GPS card, which is done here.
    You could update the service info string to include the cards you wish to display, e.g.:

    "{\"state\":{\"reported\":{\"device\": {\"serviceInfo\":{\"ui\":[\"GPS\",\"TEMP\",\"HUMID\",\"RSRP\"]}}}}}"

    Also, it looks like for that to be called you need to specify a 1 for the signify parameter when connecting:

    #XNRFCLOUD=1,1

Related