-
-
Notifications
You must be signed in to change notification settings - Fork 145
LXMF Fields
faragher edited this page Mar 27, 2024
·
7 revisions
This page is under heavy construction. -- Even official fields are considered experimental
Constant | Index | Description | Content |
---|---|---|---|
FIELD_EMBEDDED_LXMS | 0x01 |
Stub
Constant | Index | Description | Content |
---|---|---|---|
FIELD_TELEMETRY | 0x02 | Node telemetry, all enabled sensors |
Constant | Index | Description | Content |
---|---|---|---|
FIELD_TELEMETRY_STREAM | 0x03 | Aggregated downstream telemetry for bulk transfer |
Constant | Index | Description | Content |
---|---|---|---|
LXMF.FIELD_ICON_APPEARANCE | 0x04 | Defines the icon that represents this node on the situation map. | [string ICON, byte[3] FG_COLOR, byte[3] BG_COLOR] |
Icon is a string with the name of a Material Symbol. Searchable list
FG/BG Color is an RGB color code from 000000 to FFFFFF.
Python example: lxm.field[LXMF.FIELD_ICON_APPEARANCE]=["hiking",\xff\xff\x00,\x00\x00\xff] <- Displays a yellow hiker on a blue background
Constant | Index | Description | Content |
---|---|---|---|
FIELD_FILE_ATTACHMENTS | 0x05 | Arbitrary file transfer field |
Constant | Index | Description | Content |
---|---|---|---|
FIELD_IMAGE | 0x06 | Image container |
Constant | Index | Description | Content |
---|---|---|---|
FIELD_AUDIO | 0x07 | Audio container |
Constant | Index | Description | Content |
---|---|---|---|
FIELD_THREAD | 0x08 |
Constant | Index | Description | Content |
---|---|---|---|
FIELD_COMMANDS | 0x09 | Direct commands |
Custom commands are sent in this field. Built in commands include: Ping Echo Signal
Constant | Index | Description | Content |
---|---|---|---|
FIELD_RESULTS | 0x0A |
Constant | Index | Description | Content |
---|---|---|---|
FIELD_GROUP | 0x0B |