|
enum | Type {
Unknown = 0
, Connect = 0x10
, ConnAck = 0x20
, Publish = 0x30
,
PubAck = 0x40
, PubRec = 0x50
, PubRel = 0x60
, PubComp =0x70
,
Subscribe = 0x80
, SubAck = 0x90
, UnSubscribe = 0xA0
, UnSuback = 0xB0
,
PingReq = 0xC0
, PingResp = 0xD0
, Disconnect = 0xE0
} |
|
enum | State {
FixedHeader = 0
, Length = 1
, VariableHeader = 2
, PayLoad = 3
,
Complete = 4
, Error = 5
, Create = 6
} |
|
|
| sMQTTMessage (Type t, unsigned char bits_d3_d0=0) |
|
void | incoming (char byte) |
|
void | add (char byte) |
|
void | add (const char *p, size_t len, bool addLength=true) |
|
void | add (const std::string &str) |
|
const char * | end () const |
|
const char * | getVHeader () const |
|
void | reset () |
|
Type | type () const |
|
unsigned char | QoS () |
|
bool | isRetained () |
|
sMQTTError | sendTo (sMQTTClient *, bool needRecalc=true) |
|
|
static void | getString (const char *&buff, unsigned short &len) |
|
The documentation for this class was generated from the following files: