OASIS Message Queuing Telemetry Transport (MQTT) is a connectivity procol for machine-to-machine communication. It is mainly used for Internet of things (IoT) solutions.
At the moment, this is a toy project. Feel free to use it but don't consider it fully functionnal until version 1.0.0.
Sage MQTT is a encode/decode library for MQTT protocol.
It defines a set of "pivot types" used to parse to and from streams:
Bits
TwoByteInteger
, FourByteInteger
and VariableByteInteger
UTF8String
and UTF8StringPair
BinaryData
As well as standard Control Packet types as described in the OASIS standard:
Connect
Connack
(Not Implemented)Publish
(Not Implemented)Puback
(Not Implemented)Pubrec
(Not Implemented)Pubrel
(Not Implemented)Pubcomp
(Not Implemented)Subscribe
(Not Implemented)Suback
(Not Implemented)Unsubscribe
(Not Implemented)Unsuback
(Not Implemented)Pingreq
(Not Implemented)Pingresp
(Not Implemented)Disconnect
(Not Implemented)Auth
(Not Implemented)They all implement custom Encode
and Decode
traits which takes benefit from any standard Write and Read traits respectively.