Added MQTTPacket_Read() in MQTTPacket.h
Fork of MQTTPacket by
Revision 7:1b8fb13fc6ef, committed 2014-04-28
- Comitter:
- icraggs
- Date:
- Mon Apr 28 16:07:08 2014 +0000
- Parent:
- 6:68a06bea5429
- Child:
- 8:b97b9873af52
- Child:
- 9:3893bc7343f4
- Commit message:
- Fix unsubscribe packet
Changed in this revision
MQTTUnsubscribeClient.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/MQTTUnsubscribeClient.c Mon Apr 14 21:59:59 2014 +0100 +++ b/MQTTUnsubscribeClient.c Mon Apr 28 16:07:08 2014 +0000 @@ -62,7 +62,7 @@ } header.byte = 0; - header.bits.type = SUBSCRIBE; + header.bits.type = UNSUBSCRIBE; header.bits.dup = dup; header.bits.qos = 1; writeChar(&ptr, header.byte); /* write header */