My Modify MQTTPacket Packet size 100 -> 400
Fork of MQTTPacket by
Diff: MQTTPacket.c
- 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,
