Skip to main content

Module protocol

Module protocol 

Source
Expand description

GATT Sync Protocol for HIVE-Lite

Coordinates batching, delta encoding, and chunked transfer over GATT characteristics for efficient BLE sync.

Structs§

ChunkHeader
Chunk header for multi-MTU messages
ChunkReassembler
Reassembles chunks into complete messages
GattSyncProtocol
GATT Sync Protocol coordinator
SyncChunk
A chunk of data to send
SyncConfig
Configuration for the sync protocol
SyncStats
Sync statistics

Enums§

SyncState
State of the sync protocol

Constants§

CHUNK_HEADER_SIZE
Header size for chunks
DEFAULT_MTU
Default MTU for BLE
MAX_MTU
Maximum MTU for BLE 5.0+

Functions§

chunk_data
Split data into MTU-sized chunks