..
Dependencies: FP
Diff: MQTTSNClient.h
- Revision:
- 3:d85693ff9ec8
- Parent:
- 0:ae83cacd60d2
- Child:
- 5:7fb937012f6c
diff -r 489a49ad708a -r d85693ff9ec8 MQTTSNClient.h --- a/MQTTSNClient.h Mon Dec 10 08:03:12 2018 +0000 +++ b/MQTTSNClient.h Thu Jan 03 05:49:23 2019 +0000 @@ -37,7 +37,7 @@ #define MQTTSNCLIENT_QOS1 1 #endif #if !defined(MQTTSNCLIENT_QOS2) - #define MQTTSNCLIENT_QOS2 0 + #define MQTTSNCLIENT_QOS2 1 #endif namespace MQTTSN @@ -99,7 +99,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_PACKET_SIZE = 100, int MAX_MESSAGE_HANDLERS = 5> +template<class Network, class Timer, int MAX_PACKET_SIZE = 1024, int MAX_MESSAGE_HANDLERS = 5> class Client {