Skip to content

Msglist Events (Uplink)

The device reports several events related to msglist widgets. All events include the message id and the fields that changed.

{
"app": {
"<dvname>": {
"<widgetname>": {
"id": "<message id>",
"<field>": <new value>
}
}
}
}

When a user views a message’s full‑page DED and then explicitly navigates away, the device sets isRead to true and sends this uplink.

Configuration variables

  • id (Required, string): The message ID.
  • isRead (Always, boolean): true.
{
"app": {
"duress": {
"alerts": {
"id": "5",
"isRead": true
}
}
}
}

When a user presses a button on a msglist skeleton page, the associated action runs and an uplink is sent with the button’s value and the message id.

Configuration variables

  • id (Required, string): The message ID on which the button was pressed.
  • <button_name> (Required, string): The value of the button widget (e.g., "yes", "ackyes").
{
"app": {
"duress": {
"alerts": {
"id": "2",
"ackyes": "yes"
}
}
}
}

The field name matches the button widget’s name in the skeleton IP.


When a user presses a button with the delmsg action, the message is deleted and a confirmation uplink is sent.

Configuration variables

  • id (Required, string): The deleted message ID.
{
"app": {
"duress": {
"alerts": {
"id": "2",
"del": "delmsg"
}
}
}
}

The response from a devwork fget action appears in the app uplink under the special path devwork.fs.fget.

Configuration variables

  • isFile (Required, boolean): true if the path was a file, false for a directory.
  • path (Required, string): The path that was requested.
  • content (Required, string or object): File contents (string or hex) or directory listing (JSON object).
{
"devwork": {
"fs": {
"fget": {
"isFile": true,
"path": "/cfg/config.json",
"content": "{ \"key\": \"value\" }"
}
}
}
}