Modified MQTT for Mbed OS.

Dependencies:   FP MQTTPacket

Dependents:   mbed-os-mqtt door_lock co657_IoT nucleo-f429zi-mbed-os-mqtt

Fork of MQTT by MQTT

Files at this revision

API Documentation at this revision

Comitter:
azazeal88
Date:
Fri Nov 18 13:29:50 2016 +0000
Parent:
50:2133433118ef
Commit message:
Buffer at 4096 was causing issues. Have reverted, but will need to look closer at allocation

Changed in this revision

MQTTClient.h Show annotated file Show diff for this revision Revisions of this file
--- a/MQTTClient.h	Fri Nov 18 10:16:48 2016 +0000
+++ b/MQTTClient.h	Fri Nov 18 13:29:50 2016 +0000
@@ -92,7 +92,7 @@
  * @param Network a network class which supports send, receive
  * @param Timer a timer class with the methods:
  */
-template<class Network, class Timer, int MAX_MQTT_PACKET_SIZE = 4096, int MAX_MESSAGE_HANDLERS = 5>
+template<class Network, class Timer, int MAX_MQTT_PACKET_SIZE = 200, int MAX_MESSAGE_HANDLERS = 5>
 class Client
 {