Structs§
- ConnAck
- Acknowledgement to connect packet
- ConnAckProperties 
- Connect
- Connection packet initiated by the client
- ConnectProperties 
- Disconnect
- DisconnectProperties 
- Filter
- Subscription filter
- FixedHeader 
- Packet type from a byte
- LastWill 
- LastWillthat broker forwards on behalf of the client
- LastWill Properties 
- Login
- PingReq
- PingResp 
- PubAck
- Acknowledgement to QoS1publish
- PubAckProperties 
- PubComp
- QoS2Assured publish complete, in response to PUBREL packet
- PubCompProperties 
- PubRec
- Acknowledgement to QoS1publish
- PubRecProperties 
- PubRel
- QoS2Publish release, in response to PUBREC packet
- PubRelProperties 
- Publish
- Publish packet
- PublishProperties 
- SubAck
- Acknowledgement to subscribe
- SubAckProperties 
- Subscribe
- Subscription packet
- SubscribeProperties 
- UnsubAck 
- Acknowledgement to unsubscribe
- UnsubAckProperties 
- Unsubscribe
- Unsubscribe packet
- UnsubscribeProperties 
Enums§
- ConnectReturn Code 
- Return code in connack
- DisconnectReason Code 
- Error
- Error during serialization and deserialization
- Packet
- PacketType 
- MQTT packet type
- PubAckReason 
- Return code in puback
- PubCompReason 
- Return code in PubComp
- PubRecReason 
- Return code in PubRec
- PubRelReason 
- Return code in PubRel
- QoS
- Quality of service
- RetainForward Rule 
- SubscribeReason Code 
- UnsubAckReason 
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