Expand description
MQTT Protocol Constants
This module defines constants for MQTT packet types and flags to avoid magic numbers throughout the codebase.
Modulesยง
- buffer
- Buffer and capacity constants
- connect_
flags - CONNECT flags masks
- fixed_
header - Fixed header byte 1 values (packet type << 4 | flags)
- limits
- String and binary data limits
- masks
- Masks for extracting fields from fixed header
- packets
- Common packet payloads
- publish_
flags - PUBLISH flags masks
- subscription
- Subscription option masks
- time
- Time-related constants
- variable_
byte - Variable byte integer constants
- version
- Protocol version constants