My Modify MQTTPacket Packet size 100 -> 400
Fork of MQTTPacket by
Diff: MQTTConnect.h
- Revision:
- 12:cd99ac9cb25a
- Parent:
- 4:c502573c6016
- Child:
- 14:c2052aee81de
--- a/MQTTConnect.h Tue May 06 10:57:57 2014 +0100
+++ b/MQTTConnect.h Fri Aug 01 13:03:52 2014 +0100
@@ -64,7 +64,7 @@
/**
* The retained flag for the LWT message (see MQTTAsync_message.retained).
*/
- int retained;
+ unsigned char retained;
/**
* The quality of service setting for the LWT message (see
* MQTTAsync_message.qos and @ref qos).
@@ -87,8 +87,8 @@
int MQTTVersion;
MQTTString clientID;
int keepAliveInterval;
- int cleansession;
- int willFlag;
+ unsigned char cleansession;
+ unsigned char willFlag;
MQTTPacket_willOptions will;
MQTTString username;
MQTTString password;
