mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 17:41:54 +08:00
display endpoints state
This commit is contained in:
@@ -26,16 +26,18 @@
|
||||
#define PROTO_MAGIC 0x33
|
||||
#define PROTO_CRC_POLINOM 0xA001
|
||||
|
||||
#define PROTO_RESP_OK 0x20
|
||||
// #define PROTO_RESP_OK 0x20 // Legacy
|
||||
#define PROTO_RESP_NONE 0x24
|
||||
#define PROTO_RESP_CRC_ERROR 0x40
|
||||
#define PROTO_RESP_INVALID_ERROR 0x45
|
||||
#define PROTO_RESP_TIMEOUT_ERROR 0x48
|
||||
|
||||
#define PROTO_RESP_PONG_PREFIX 0x80
|
||||
#define PROTO_RESP_PONG_CAPS 0b00000001
|
||||
#define PROTO_RESP_PONG_SCROLL 0b00000010
|
||||
#define PROTO_RESP_PONG_NUM 0b00000100
|
||||
#define PROTO_RESP_PONG_PREFIX 0x80
|
||||
#define PROTO_RESP_PONG_CAPS 0b00000001
|
||||
#define PROTO_RESP_PONG_SCROLL 0b00000010
|
||||
#define PROTO_RESP_PONG_NUM 0b00000100
|
||||
#define PROTO_RESP_PONG_KEYBOARD_OFFLINE 0b00001000
|
||||
#define PROTO_RESP_PONG_MOUSE_OFFLINE 0b00010000
|
||||
|
||||
#define PROTO_CMD_PING 0x01
|
||||
#define PROTO_CMD_REPEAT 0x02
|
||||
|
||||
Reference in New Issue
Block a user