Skip to content

App Downlink

The app downlink section controls what the user sees on the device screen. You can send new widget values, trigger UI actions, and manage message lists.

Commands target a named Device View (DV) and can include both data and actions in the same message.

{
"app": {
"<dvname>": {
"data": {
"<widgetname>": <value>
},
"actions": [
{ "a": "<action>", "p": "<param>" }
]
}
}
}
GroupContent
Actionsnetact, beep, vibr, led, show, hide, gotoWidget, updateLocal, updateRemote, updateOutput, …
Msglist ProtocolAdd, update, delete messages; TLV encoding for BLE
---
```mdx
---
title: App Uplink
description: Widget value changes and user interactions reported by the CC2.
sidebar:
order: 2
---
# App Uplink
The `app` uplink section contains events sent from the device when the
user interacts with the UI. This includes widget value changes (e.g., a
button press), message list events (mark read, delete), and the
response from a `fget` devwork action.
```json
{
"app": {
"<dvname>": {
"<widgetname>": {
"id": "<message id>",
"<field>": <new value>
}
}
}
}
GroupContent
Widget Value ReportsCurrent widget value sent on change or on request
Msglist EventsisRead updates, button press payloads, delete confirmations