ME910 support
Dependents: 5_Dragonfly_Cayenne_Sprint_IKS01A1
Fork of Cayenne-MQTT-mbed-MTSAS by
Diff: src/CayenneMQTTClient/CayenneMQTTClient.h
- Revision:
- 21:e46b1f93c011
- Parent:
- 17:75cc2d58e796
- Child:
- 22:0dbabcc6e7b2
diff -r 996a5c660063 -r e46b1f93c011 src/CayenneMQTTClient/CayenneMQTTClient.h --- a/src/CayenneMQTTClient/CayenneMQTTClient.h Tue Nov 08 18:25:49 2016 -0700 +++ b/src/CayenneMQTTClient/CayenneMQTTClient.h Tue Nov 08 18:48:37 2016 -0700 @@ -62,7 +62,7 @@ * @param MAX_MQTT_PACKET_SIZE Maximum size of an MQTT message, in bytes. * @param MAX_MESSAGE_HANDLERS Maximum number of message handlers. */ - template<class Network, class Timer, int MAX_MQTT_PACKET_SIZE = 128, int MAX_MESSAGE_HANDLERS = 5> + template<class Network, class Timer, int MAX_MQTT_PACKET_SIZE = CAYENNE_MAX_MESSAGE_SIZE, int MAX_MESSAGE_HANDLERS = 5> class MQTTClient : private MQTT::Client<Network, Timer, MAX_MQTT_PACKET_SIZE, 0> { public: