Simple example program to demonstrate and test cellular connection using the MTSAS library (over PPP protocol)
Diff: main.cpp
- Revision:
- 17:e2102f58f3c9
- Parent:
- 16:8d511ce1bec8
- Child:
- 18:7c94867f9412
--- a/main.cpp Mon Mar 16 18:28:58 2015 +0000 +++ b/main.cpp Mon Mar 23 18:07:23 2015 +0000 @@ -18,8 +18,8 @@ * Serial1 TX (Shield pin D8). * Uncomment the following lines to use the STMicro Nuceleo F401RE */ - //MTSSerialFlowControl* io = new MTSSerialFlowControl(D8, D2, D3, D6); - //reset_pin = RESET; + MTSSerialFlowControl* io = new MTSSerialFlowControl(D8, D2, D3, D6); + reset_pin = NC; /** Dragonfly * To configure the serial pins for the Dragonfly board, use: @@ -41,8 +41,8 @@ * To configure the serial pins for the Freescale K64F board, use MTSAS jumper * configuration A. Uncomment the following lines to use the Freescale K64F board */ - MTSSerialFlowControl* io = new MTSSerialFlowControl(D1, D0, D3, D6); - reset_pin = NC; + //MTSSerialFlowControl* io = new MTSSerialFlowControl(D1, D0, D3, D6); + //reset_pin = NC; //Sets the baud rate for communicating with the radio io->baud(115200);