Last updated
Last updated
Blynk Library uses proprietary binary protocol.
Every message consists of 2 parts.
Header :
Protocol command (1 byte);
MessageId (2 bytes);
Body message length (2 bytes);
2. Body : string (could be up to 2^15 bytes).
Blynk transfers binary messages with the following structure:
Message size is 1 byte + 2 bytes + 2 bytes + messageBody.length
1 byte
2 bytes
2 bytes
Variable