MQTTPacket fixes
Fork of MQTTPacket by
Diff: MQTTConnect.h
- Revision:
- 4:c502573c6016
- Parent:
- 3:4a4f8699f935
- Child:
- 12:cd99ac9cb25a
--- a/MQTTConnect.h Thu Apr 10 22:54:14 2014 +0000 +++ b/MQTTConnect.h Fri Apr 11 23:44:15 2014 +0100 @@ -82,7 +82,8 @@ char struct_id[4]; /** The version number of this structure. Must be 0 */ int struct_version; - /** Version of MQTT to be used. 3 = 3.1 4 = 3.1.1 */ + /** Version of MQTT to be used. 3 = 3.1 4 = 3.1.1 + */ int MQTTVersion; MQTTString clientID; int keepAliveInterval; @@ -103,5 +104,6 @@ int MQTTDeserialize_connack(int* connack_rc, char* buf, int buflen); int MQTTSerialize_disconnect(char* buf, int buflen); +int MQTTSerialize_pingreq(char* buf, int buflen); #endif /* MQTTCONNECT_H_ */