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:
10:8dec1424b1c1
Parent:
5:eea71419676a
Child:
13:5e60cd1a52e7
--- a/MQTTPacket.h	Fri May 09 23:00:25 2014 +0000
+++ b/MQTTPacket.h	Wed Jul 02 13:21:37 2014 +0000
@@ -98,6 +98,7 @@
 int readMQTTLenString(MQTTString* mqttstring, char** pptr, char* enddata);
 void writeCString(char** pptr, const 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 */
 }