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
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
Diff: MTSCellularManager.cpp
- Revision:
- 4:f4e8f0fca631
- Parent:
- 3:0a48c984e15b
- Child:
- 6:4a25f3b9caef
diff -r 0a48c984e15b -r f4e8f0fca631 MTSCellularManager.cpp --- a/MTSCellularManager.cpp Thu Aug 17 13:38:58 2017 +0000 +++ b/MTSCellularManager.cpp Fri Aug 18 08:40:35 2017 +0000 @@ -18,6 +18,7 @@ return false; radio = mts::CellularFactory::create(io); + radio2 = mts::CellularFactory::create(io); if (! radio) return false;