Structs§
- ConnAck
- Acknowledgement to connect packet
- Conn
AckProperties - Connect
- Connection packet initiated by the client
- Connect
Properties - Disconnect
- Disconnect
Properties - Filter
- Subscription filter
- Fixed
Header - Packet type from a byte
- Last
Will LastWillthat broker forwards on behalf of the client- Last
Will Properties - Login
- PingReq
- Ping
Resp - PubAck
- Acknowledgement to
QoS1publish - PubAck
Properties - PubComp
QoS2Assured publish complete, in response to PUBREL packet- PubComp
Properties - PubRec
- Acknowledgement to
QoS1publish - PubRec
Properties - PubRel
QoS2Publish release, in response to PUBREC packet- PubRel
Properties - Publish
- Publish packet
- Publish
Properties - SubAck
- Acknowledgement to subscribe
- SubAck
Properties - Subscribe
- Subscription packet
- Subscribe
Properties - Unsub
Ack - Acknowledgement to unsubscribe
- Unsub
AckProperties - Unsubscribe
- Unsubscribe packet
- Unsubscribe
Properties
Enums§
- Connect
Return Code - Return code in connack
- Disconnect
Reason Code - Error
- Error during serialization and deserialization
- Packet
- Packet
Type - MQTT packet type
- PubAck
Reason - Return code in puback
- PubComp
Reason - Return code in
PubComp - PubRec
Reason - Return code in
PubRec - PubRel
Reason - Return code in
PubRel - QoS
- Quality of service
- Retain
Forward Rule - Subscribe
Reason Code - Unsub
AckReason
Functions§
- check
- Checks if the stream has enough bytes to frame a packet and returns fixed header
only if a packet can be framed with existing bytes in the
stream. The passed stream doesn’t modify parent stream’s cursor. If this function returned an error, nextcheckon the same parent stream is forced start with cursor at 0 again (Iter is owned. Only Iter’s cursor is changed internally) - mqtt_
string_ new - qos
- Maps a number to
QoS