# Functions
NewReasonCodeError returns a new error based on the given reason code.
ValidateID takes a PacketType and a property name and returns a boolean indicating if that property is valid for that PacketType.
# Constants
All of the valid packet types and their packet identifier.
Administrative action.
15.
Bad authentication method.
Bad User Name or Password.
Banned.
Client Identifier not valid.
All of the valid packet types and their packet identifier.
All of the valid packet types and their packet identifier.
All of the valid packet types and their packet identifier.
All of the valid packet types and their packet identifier.
All of the valid packet types and their packet identifier.
All of the valid packet types and their packet identifier.
All of the valid packet types and their packet identifier.
2.
1.
Connection rate exceeded.
Continue authentication.
14.
Disconnect with Will Message.
All of the valid packet types and their packet identifier.
All of the valid packet types and their packet identifier.
Granted QoS 0.
Granted QoS 1.
Granted QoS 2.
Implementation specific error.
Keep Alive timeout.
Malformed Packet.
Maximum connect time.
Message rate too high.
No matching subscribers.
Normal disconnection.
No subscription existed.
Not authorized.
Packet Identifier in use.
Packet Identifier not found.
Packet too large.
Payload format invalid.
12.
13.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
Protocol Error.
4.
7.
3.
5.
6.
QoS not supported.
Quota exceeded.
Re-authenticate.
Receive Maximum exceeded.
All of the valid packet types and their packet identifier.
Retain not supported.
Server busy.
Server moved.
Server shutting down.
Server unavailable.
Session taken over.
Shared Subscriptions not supported.
9.
8.
Subscription Identifiers not supported.
Success.
Topic Alias invalid.
Topic Filter invalid.
Topic Name invalid.
Unspecified error.
11.
10.
Unsupported Protocol Version.
Use another server.
Wildcard Subscriptions not supported.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CONNECT.
No description provided by the author
SUBSCRIBE.
No description provided by the author
CONNACK.
PUBLISH.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PACKETS.
No description provided by the author
ValidProperties is a map of the various properties and the PacketTypes that property is valid for.
# Structs
FixedHeader contains the values of the fixed header portion of the MQTT packet.
Packet is an MQTT packet.
Properties is a struct representing the all the described properties allowed by the MQTT protocol, determining the validity of a property relvative to the packettype it was received in is provided by the ValidateID function.
subOptions is the struct representing the options for a subscription.
User is a struct for the User properties, originally it was a map then it was pointed out that user properties are allowed to appear more than once.
# Type aliases
ReasonCode indicates the result of an operation.