async_mqtt 9.0.1
|
Classes | |
struct | async_mqtt::pub::opts |
MQTT PublishOptions. More... | |
Enumerations | |
enum class | async_mqtt::pub::retain : std::uint8_t { retain::yes = 0b00000001 , retain::no = 0b00000000 } |
MQTT RETAIN. More... | |
enum class | async_mqtt::pub::dup : std::uint8_t { dup::yes = 0b00001000 , dup::no = 0b00000000 } |
MQTT DUP. More... | |
Functions | |
constexpr bool | is_dup (std::uint8_t v) |
Check fixed header is DUP. | |
constexpr qos | get_qos (std::uint8_t v) |
Get qos from the fixed header. | |
constexpr bool | is_retain (std::uint8_t v) |
Check fixed header is RETAIN. | |
constexpr void | set_dup (std::uint8_t &fixed_header, bool dup) |
Set DUP to the fixed header. | |
constexpr char const * | retain_to_str (retain v) |
stringize retain | |
std::ostream & | operator<< (std::ostream &o, retain v) |
output to the stream | |
constexpr char const * | dup_to_str (dup v) |
stringize dup | |
std::ostream & | operator<< (std::ostream &o, dup v) |
output to the stream | |
|
strong |
MQTT DUP.
See https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901102
Enumerator | |
---|---|
yes | Duplicated. |
no | No Duplicated. |
|
strong |
MQTT RETAIN.
See https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901104
Enumerator | |
---|---|
yes | Retain. |
no | No Retain. |
|
related |
stringize dup
v | target |
|
related |
Get qos from the fixed header.
v | fixed_header byte |
|
related |
Check fixed header is DUP.
v | fixed_header byte |
|
related |
Check fixed header is RETAIN.
v | fixed_header byte |
|
related |
output to the stream
o | output stream |
v | target |
|
related |
output to the stream
o | output stream |
v | target |
|
related |
stringize retain
v | target |
|
related |
Set DUP to the fixed header.
fixed_header | fixed_header byte |
dup | DUP to set |