My Modify MQTTPacket Packet size 100 -> 400
Fork of MQTTPacket by
Revision 8:b97b9873af52, committed 2014-05-06
- Comitter:
- Ian Craggs
- Date:
- Tue May 06 10:57:57 2014 +0100
- Parent:
- 7:1b8fb13fc6ef
- Child:
- 11:f6574a654c6a
- Child:
- 12:cd99ac9cb25a
- Commit message:
- Add description for equals function
Changed in this revision
| MQTTPacket.c | Show annotated file Show diff for this revision Revisions of this file |
--- 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,
