### Batch start payloads (pod request and server response) Source: https://github.com/a-chaudhari/eightsleeppod2server/blob/main/LogServer/Readme.md Batch start exchange: the pod sends a CBOR payload with a batch ID (bytes 0x0a-0x0d) and a stream name; the server responds with the same batch ID inserted at the end (bytes 0x1a-0x1d). ```hexdump 0000 a4 65 70 72 6f 74 6f 63 72 61 77 64 70 61 72 74 .eprotocrawdpart 0010 65 62 61 74 63 68 62 69 64 1a 00 01 02 03 66 73 ebatchbid....>fs 0020 74 72 65 61 6d 5f tream_ ``` ```hexdump 0000 a3 65 70 72 6f 74 6f 63 72 61 77 64 70 61 72 74 .eprotocrawdpart 0010 65 62 61 74 63 68 62 69 64 1a 00 01 02 03 ebatchbid..... ``` -------------------------------- ### Handshake payloads (pod request and server response) Source: https://github.com/a-chaudhari/eightsleeppod2server/blob/main/LogServer/Readme.md Handshake exchange: the pod sends a CBOR payload containing the protocol name, session, device ID (bytes 0x1e-0x35), and version; the server replies with a shorter payload acknowledging the session. The device ID is the 12-byte stm32 unique id. ```hexdump 0000 a4 65 70 72 6f 74 6f 63 72 61 77 64 70 61 72 74 .eprotocrawdpart 0010 67 73 65 73 73 69 6f 6e 63 64 65 76 78 18 00 11 gsessioncdevx.01 0020 22 33 44 55 66 77 88 99 0a 0b 0c 0d 0e 0f 00 01 23456789abcdef01 0030 02 03 04 05 06 07 67 76 65 72 73 69 6f 6e 61 32 234567gversiona2 ``` ```hexdump 0000 a2 65 70 72 6f 74 6f 63 72 61 77 64 70 61 72 74 .eprotocrawdpart 0010 67 73 65 73 73 69 6f 6e gsession ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.