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: main.cpp
- Revision:
- 5:749a8fb7f27e
- Parent:
- 4:df0aab6b9120
- Child:
- 6:16be6bf59d30
diff -r df0aab6b9120 -r 749a8fb7f27e main.cpp --- a/main.cpp Mon Aug 20 15:29:25 2018 +0000 +++ b/main.cpp Mon Aug 20 15:43:31 2018 +0000 @@ -58,6 +58,7 @@ bool buttonPressed = false; + void mqtt_fsm(MQTTSN::Client<MQTTSNUDP, Countdown> *client) { static int pub_count = 0;