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.hpp
- Revision:
- 2:d4dcf1ebaa99
- Parent:
- 1:5a896191c3c4
- Child:
- 4:f4e8f0fca631
--- a/MTSCellularManager.hpp Fri May 12 11:49:58 2017 +0000 +++ b/MTSCellularManager.hpp Fri May 19 12:42:57 2017 +0000 @@ -1,3 +1,6 @@ +#ifndef MTS_CELLULAR_MANAGE_HPP +#define MTS_CELLULAR_MANAGE_HPP + #include <mbed.h> #include <mtsas.h> @@ -31,3 +34,5 @@ // The Cellular object represents the cellular radio. mts::Cellular* radio; }; + +#endif