MultiTech
/
Dragonfly_Cellular_Ping_Example
Ping a server using the onboard cellular radio.
Diff: main.cpp
- Revision:
- 1:1411b4274907
- Parent:
- 0:da114ae7c596
- Child:
- 2:0288328818cb
--- a/main.cpp Wed Sep 30 14:39:45 2015 +0000 +++ b/main.cpp Wed Sep 30 14:45:58 2015 +0000 @@ -9,18 +9,18 @@ bool init_mtsas(); -// the MTSSerialFlowControl represents the physical serial link between the processor and the cellular radio +// The MTSSerialFlowControl object represents the physical serial link between the processor and the cellular radio. mts::MTSSerialFlowControl* io; -// the Cellular object represents the cellular radio +// The Cellular object represents the cellular radio. mts::Cellular* radio; -// an APN is required for GSM radios +// An APN is required for GSM radios. static const char apn[] = ""; bool radio_ok = false; int main() { - // change the baud rate of the debug port from the default 9600 to 115200 + // Change the baud rate of the debug port from the default 9600 to 115200. Serial debug(USBTX, USBRX); debug.baud(115200);