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)
Diff: main.cpp
- Revision:
- 5:931abf45fb92
- Parent:
- 4:09d5f99b94b1
- Child:
- 6:e5ea200c66c3
--- a/main.cpp Tue Aug 12 21:47:32 2014 +0000 +++ b/main.cpp Mon Mar 16 18:41:09 2015 +0000 @@ -25,6 +25,15 @@ */ MTSSerialFlowControl* io = new MTSSerialFlowControl(D8, D2, D3, D6); + /** Dragonfly + * 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 + */ + //MTSSerialFlowControl* io = new MTSSerialFlowControl(PC_7, PC_6, PB_10, PB_12); + //reset_pin = NC; + /** Freescale KL46Z * To configure the serial pins for the Freescale KL46Z board, use MTSAS jumper * configuration B. Uncomment the following line to use the Freescale KL46Z board