Latest updates - subscribe and other things

This commit is contained in:
Ian Craggs
2014-05-15 23:04:25 +01:00
parent 649fac4749
commit 88f7c815e4
11 changed files with 391 additions and 26 deletions

View File

@@ -30,7 +30,7 @@ typedef struct
int willFlag;
} MQTTSNPacket_connectData;
#define MQTTSNPacket_connectData_initializer { {'M', 'Q', 'S', 'C'}, 0, {NULL, {0, NULL}}, 10, 0, 0 }
#define MQTTSNPacket_connectData_initializer { {'M', 'Q', 'S', 'C'}, 0, {NULL, {0, NULL}}, 10, 1, 0 }
int MQTTSNSerialize_connect(unsigned char* buf, int buflen, MQTTSNPacket_connectData* options);
int MQTTSNDeserialize_connect(MQTTSNPacket_connectData* data, unsigned char* buf, int len);