Example project to publish messages to a MQTT-SN broker using the u-blox SARA-N200 NB-IoT modem
Dependencies: MQTTSNPacket X-NUCLEO-SARA-N200
Diff: MQTTSNClient.h
- Revision:
- 7:ab32680de141
- Parent:
- 1:70b751b7a189
--- a/MQTTSNClient.h Tue Aug 21 16:37:21 2018 +0200 +++ b/MQTTSNClient.h Wed Aug 22 16:31:30 2018 +0200 @@ -111,7 +111,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 = 256, int MAX_MESSAGE_HANDLERS = 5> class Client {