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:
- 4:09d5f99b94b1
- Parent:
- 3:85181c1324f2
- Child:
- 5:931abf45fb92
--- a/main.cpp Thu Aug 07 21:29:51 2014 +0000 +++ b/main.cpp Tue Aug 12 21:47:32 2014 +0000 @@ -26,18 +26,18 @@ MTSSerialFlowControl* io = new MTSSerialFlowControl(D8, D2, D3, D6); /** Freescale KL46Z - * To configure the pins for the Freescale KL46Z board, use configuration B - * Uncomment the following line to use the Freescale KL46Z board + * 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 */ //MTSSerialFlowControl* io = new MTSSerialFlowControl(D2, D9, D3, D6); /** Freescale K64F - * To configure the pins for the Freescale KL46Z board, use configuration A - * Uncomment the following line to use the Freescale KL46F board + * To configure the serial pins for the Freescale K64F board, use MTSAS jumper + * configuration A. Uncomment the following line to use the Freescale K64F board */ //MTSSerialFlowControl* io = new MTSSerialFlowControl(D1, D0, D3, D6); - //Sets the baudrate for communicating with the radio + //Sets the baud rate for communicating with the radio io->baud(115200); //Initialize radio configurations