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> } } }}Message read (isRead)
Section titled “Message read (isRead)”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 } } }}Button press on skeleton page
Section titled “Button press on skeleton page”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
namein the skeleton IP.
Delete confirmation (delmsg)
Section titled “Delete confirmation (delmsg)”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" } } }}fget response
Section titled “fget response”The response from a devwork fget action appears in the app uplink
under the special path devwork.fs.fget.
Configuration variables
isFile(Required, boolean):trueif the path was a file,falsefor 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\" }" } } }}Related
Section titled “Related”- Uplink Messages — the full uplink directory
- Msglist Protocol (Downlink) — how to add, update, and delete messages
- App Downlink — how app messages are structured