You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vpr/src/server/telegramheader.h
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,10 @@ namespace comm {
19
19
* - [ 4 bytes ]: DATA_LENGTH - A 4-byte field where the data length is stored, allowing for proper identification of the start and end of the TelegramFrame sequence.
20
20
* - [ 4 bytes ]: DATA_CHECKSUM - A 4-byte field where the data checksum is stored to validate the attached data.
21
21
* - [ 1 byte ]: COMPRESSOR_ID - A 1-byte field where the compressor id is stored. If it's \0, it means the data is not compressed (in text/json format).
22
+
*
23
+
* @note: Currently, only zlib compression for the telegram body is supported, which is specified with COMPRESSOR_ID='z'.
24
+
*
25
+
* @note: The DATA_CHECKSUM field can be used to check the integrity of the telegram body on the client app side.
0 commit comments