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

Files at this revision

API Documentation at this revision

Comitter:
icraggs
Date:
Mon Aug 03 12:38:58 2015 +0000
Parent:
20:63c71eeb4183
Parent:
19:99773f597e90
Child:
22:1af97b41bc9d
Commit message:
Merge updates

Changed in this revision

--- a/MQTTPacket.c	Mon Aug 03 12:36:51 2015 +0000
+++ b/MQTTPacket.c	Mon Aug 03 12:38:58 2015 +0000
@@ -418,7 +418,7 @@
 		int grantedQoSs[1];
 		if (MQTTDeserialize_suback(&packetid, maxcount, &count, grantedQoSs, buf, buflen) == 1)
 			strindex = snprintf(strbuf, strbuflen,
-				"SUBACK packet id %d count %d topic %.*s granted qos %d",
+				"SUBACK packet id %d count %d granted qos %d",
 				packetid, count, grantedQoSs[0]);
 	}
 	break;