2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#include "iot/mqtt/server/packets/Connect.h"
44#include "iot/mqtt/server/Mqtt.h"
46#ifndef DOXYGEN_SHOULD_SKIP_THIS
48#include "utils/Uuid.h"
62 std::size_t consumed = 0;
void printVP(const iot::mqtt::ControlPacket &packet) const
iot::mqtt::types::String willMessage
iot::mqtt::types::String protocol
iot::mqtt::types::String willTopic
iot::mqtt::types::UInt8 connectFlags
iot::mqtt::types::String username
iot::mqtt::types::UInt8 level
iot::mqtt::types::String clientId
iot::mqtt::types::String password
iot::mqtt::types::UInt16 keepAlive
void _onConnect(const iot::mqtt::server::packets::Connect &connect)
void deliverPacket(iot::mqtt::server::Mqtt *mqtt) override
Connect(uint32_t remainingLength, uint8_t flags)
std::size_t deserializeVP(iot::mqtt::MqttContext *mqttContext) override
bool isFakedClientId() const
std::size_t deserialize(iot::mqtt::MqttContext *mqttContext) override
String & operator=(const std::string &newValue)
virtual std::size_t deserialize(iot::mqtt::MqttContext *mqttContext)
UInt8 & operator=(const uint8_t &newValue)
static std::string getUuid()
#define MQTT_CONNECT_FLAGS