Connecting a Multi-Tech Systems Dragonfly™ to Twilio's Sync for IoT Quickstart. Blink a dev board LED.

Dependencies:   MQTT MbedJSONValue mbed mtsas

Fork of DragonflyMQTT by miao zhicheng

Code to connect a Multi-Tech® MultiConnect® Dragonfly™ to Twilio's Sync for IoT: https://www.twilio.com/docs/api/devices

Uses MQTT over TLS and subscribes to a topic where you can control an LED. See also our Quickstart using this code, here: https://www.twilio.com/docs/quickstart/sync-iot/mqtt-multi-tech-multiconnect-dragonfly-sync-iot

Revision:
4:f4e8f0fca631
Parent:
2:d4dcf1ebaa99
Child:
9:2d119fbe7482
--- a/MTSCellularManager.hpp	Thu Aug 17 13:38:58 2017 +0000
+++ b/MTSCellularManager.hpp	Fri Aug 18 08:40:35 2017 +0000
@@ -33,6 +33,7 @@
     mts::MTSSerialFlowControl* io;
     // The Cellular object represents the cellular radio.
     mts::Cellular* radio;
+    mts::Cellular* radio2;
 };
 
 #endif