diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-29 18:26:16 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-29 18:26:16 +0200 |
commit | 7022c6fbdbdee82339fbe161df169d97235471f0 (patch) | |
tree | 8505d6afc4a0985c66b6e44653088d592fdcf493 /shared/protocol.h | |
parent | aae57dc32a843351fb2e17721afcd841bedec0a6 (diff) |
update protocol to use hex digits in command arguments and accept offset value in `last-records`
Diffstat (limited to 'shared/protocol.h')
-rw-r--r-- | shared/protocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/protocol.h b/shared/protocol.h index 5bcb114..96c039a 100644 --- a/shared/protocol.h +++ b/shared/protocol.h @@ -5,7 +5,7 @@ #include "bin.h" -#define WS_PROTOCOL_CMD_MAX_ARGUMENTS (2) +#define WS_PROTOCOL_CMD_MAX_ARGUMENTS (3) #define WS_PROTOCOL_CMD_BUFFER_LEN (40) #define WS_PROTOCOL_CMD_AMOUNT (1) @@ -148,4 +148,4 @@ static ws_protocol_res_handler_t* g_ws_protocol_res_handlers[WS_PROTOCOL_CMD_AMO [WS_PROTOCOL_CMD_LAST_RECORDS] = &ws_protocol_res_last_records, }; -unsigned short ws_protocol_get_header_size(ws_s_protocol_res* response);
\ No newline at end of file +unsigned short ws_protocol_get_header_size(ws_s_protocol_res* response); |