mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
CMS Telemetry over CRSF w/ Lua Script (X9D, so far)
This commit is contained in:
parent
b2c247d34a
commit
9d4d3ad45c
17 changed files with 393 additions and 5 deletions
|
@ -31,9 +31,18 @@ typedef enum {
|
|||
// MSP commands
|
||||
CRSF_FRAMETYPE_MSP_REQ = 0x7A, // response request using msp sequence as command
|
||||
CRSF_FRAMETYPE_MSP_RESP = 0x7B, // reply with 58 byte chunked binary
|
||||
CRSF_FRAMETYPE_MSP_WRITE = 0x7C // write with 8 byte chunked binary (OpenTX outbound telemetry buffer limit)
|
||||
CRSF_FRAMETYPE_MSP_WRITE = 0x7C, // write with 8 byte chunked binary (OpenTX outbound telemetry buffer limit)
|
||||
CRSF_FRAMETYPE_DISPLAYPORT_UPDATE = 0x7D, // transmit displayport buffer to remote
|
||||
CRSF_FRAMETYPE_DISPLAYPORT_CLEAR = 0x7E, // clear remote
|
||||
CRSF_FRAMETYPE_DISPLAYPORT_CMD = 0x7F, // client request
|
||||
} crsfFrameType_e;
|
||||
|
||||
enum {
|
||||
CRSF_DISPLAYPORT_SUBCMD_OPEN = 0x01, // client request to open cms menu
|
||||
CRSF_DISPLAYPORT_SUBCMD_CLOSE = 0x02, // client request to close cms menu
|
||||
CRSF_DISPLAYPORT_SUBCMD_POLL = 0x03, // client request to poll/refresh cms menu
|
||||
};
|
||||
|
||||
enum {
|
||||
CRSF_FRAME_GPS_PAYLOAD_SIZE = 15,
|
||||
CRSF_FRAME_BATTERY_SENSOR_PAYLOAD_SIZE = 8,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue