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:
19:99773f597e90
Parent:
18:bf36e077e7b8
Child:
23:7a52009beba1
diff -r bf36e077e7b8 -r 99773f597e90 MQTTPacket.c
--- a/MQTTPacket.c	Mon Sep 29 11:31:13 2014 +0000
+++ b/MQTTPacket.c	Mon Oct 06 12:00:12 2014 +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;