Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 896 Bytes

Readme.md

File metadata and controls

23 lines (16 loc) · 896 Bytes

mqtt-protocol-c

Zero-copy, interruptible MQTT protocol parser and serialiser written in C. Based initially on Deoxxa's code and extended to support full client and server parsing and serialization.

Overview

mqtt-protocol-c is designed for use in resource-constrained environments. To that end, it avoids making any memory allocations or assumptions about the underlying system. It handles only the binary parsing/serialising part of the MQTT protocol, leaving all the logic and networking up to the user.

Examples

Take a look at test_serialiser and test_parser in the bin/test.c file.

License

BSD-3 Clause license. You can read the full license from here.

Copyright