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:
8:b97b9873af52
Parent:
6:68a06bea5429
Child:
14:c2052aee81de
--- a/MQTTPacket.c	Mon Apr 28 16:07:08 2014 +0000
+++ b/MQTTPacket.c	Tue May 06 10:57:57 2014 +0100
@@ -250,6 +250,12 @@
 }
 
 
+/**
+ * Compares an MQTTString to a C string
+ * @param a the MQTTString to compare
+ * @param bptr the C string to compare
+ * @return boolean - equal or not
+ */
 int MQTTPacket_equals(MQTTString* a, char* bptr)
 {
 	int alen = 0,