bus v0.1.3 API Reference

Modules

Provides functions for decoding bytes(binary) to Message structs

Provides functions for encoding Message structs to bytes(binary)

Provides the structs and constructors for different kinds of message packets in the MQTT protocol

Struct for bus ConnAck

Struct for bus Connect

Struct for bus Disconnect

Struct for bus PingReq

Struct for bus PingResp

Struct for bus PubAck

Struct for bus PubComp

Struct for bus PubRec

Struct for bus PubRel

Struct for bus Publish

Struct for bus SubAck

Struct for bus Subscribe

Struct for bus UnsubAck

Struct for bus Unsubscribe

Defines Packet protocol and provides implementations for bus Messages

Protocols

Defines the protocol Packet to encode/decode a bus Message