ExMqtt.Protocol.Packet (ex_mqtt_uv v0.1.0)

Copy Markdown View Source

Unified MQTT Control Packet structs shared by both MQTT 3.1.1 and MQTT 5.0.

Version-specific fields (such as properties and reason_code) are present on the structs with sensible defaults so upper layers (state machine and client API) can operate on one consistent representation regardless of protocol version.

Summary

Types