Handling MQTT read failure and send buffer length
This commit is contained in:
parent
15964efc0f
commit
09a5ec062a
2 changed files with 21 additions and 13 deletions
|
|
@ -27,7 +27,7 @@
|
|||
enum QoS { QOS0, QOS1, QOS2 };
|
||||
|
||||
// all failure return codes must be negative
|
||||
enum returnCode {DISCONNECTED = -3, BUFFER_OVERFLOW = -2, FAILURE = -1, SUCCESS = 0 };
|
||||
enum returnCode {READ_ERROR = -4, DISCONNECTED = -3, BUFFER_OVERFLOW = -2, FAILURE = -1, SUCCESS = 0 };
|
||||
|
||||
void NewTimer(Timer*);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue