Basic C library for MQTT packet serialization and deserialization

Dependents:   MQTT MQTT MQTT MQTT ... more

Fork of MQTTPacket by MQTT

This library is part of the EclipseTM Paho project; specifically the embedded client.

A basic MQTT library in C for packet serialization and deserialization

Revision:
2:bc3bc0e3b764
Parent:
0:7734401cc1b4
Child:
4:c502573c6016
--- a/MQTTPacket.h	Mon Mar 31 15:48:23 2014 +0000
+++ b/MQTTPacket.h	Thu Apr 10 15:11:16 2014 +0000
@@ -97,6 +97,8 @@
 void writeCString(char** pptr, char* string);
 void writeMQTTString(char** pptr, MQTTString mqttstring);
 
+int MQTTPacket_read(char* buf, int buflen, int (*getfn)(char*, int));
+
 #ifdef __cplusplus /* If this is a C++ compiler, use C linkage */
 }
 #endif