
Example program demonstrating use of HTTP or HTTPS protocol over a cellular connection with httpbin.org using the MTSAS library. (Demonstrates GET,POST,basic-auth)
Revision 9:794c538a84aa, committed 2015-03-23
- Comitter:
- Vanger
- Date:
- Mon Mar 23 18:26:38 2015 +0000
- Parent:
- 8:206e60d5f722
- Child:
- 10:c2fb1d56f3d2
- Commit message:
- Removed configureSignals() call, as it is unused at this time.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Mar 23 18:02:28 2015 +0000 +++ b/main.cpp Mon Mar 23 18:26:38 2015 +0000 @@ -38,7 +38,7 @@ /// To configure the serial pins for the Dragonfly board, use: /// RADIO_TX = pin PC_7, RADIO_RX = pin PC_6 /// RADIO_RTS = pin PB_10,RADIO_CTS = pin PB_12 - /// Uncomment the following lines to use the Dragonfly board + /// Uncomment the following line to use the Dragonfly board //MTSSerialFlowControl* io = new MTSSerialFlowControl(PC_7, PC_6, PB_10, PB_12); /// Freescale KL46Z @@ -60,7 +60,7 @@ logFatal("Radio initialization failed"); return 1; } - radio->configureSignals(D4,D7,RESET); + Transport::setTransport(radio); //Set up HTTP interface