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
MTSCellularManager.hpp
00001 #pragma once 00002 #include <mbed.h> 00003 #include <mtsas.h> 00004 00005 class MTSCellularManager { 00006 public: 00007 MTSCellularManager(const char* apn_); 00008 ~MTSCellularManager(); 00009 00010 bool init(); 00011 void uninit(); 00012 00013 private: 00014 // An APN is required for GSM radios. 00015 const char* apn; 00016 /* 00017 * The MTSSerialFlowControl object represents the physical serial link 00018 * between the processor and the cellular radio. 00019 */ 00020 mts::MTSSerialFlowControl* io; 00021 00022 /* The Cellular object represents the cellular radio. */ 00023 mts::Cellular* radio; 00024 mts::Cellular* radio2; 00025 };
Generated on Tue Jul 12 2022 21:09:00 by 1.7.2