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)

Dependencies:   mbed mtsas

Files at this revision

API Documentation at this revision

Comitter:
Vanger
Date:
Mon Mar 16 18:41:09 2015 +0000
Parent:
4:09d5f99b94b1
Child:
6:e5ea200c66c3
Commit message:
Updated MTSAS library.; Added pin declarations for the Dragonfly.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mtsas.lib Show annotated file Show diff for this revision Revisions of this file
--- 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
--- a/mtsas.lib	Tue Aug 12 21:47:32 2014 +0000
+++ b/mtsas.lib	Mon Mar 16 18:41:09 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/Multi-Hackers/code/mtsas/#b599bdb14c12
+http://mbed.org/teams/Multi-Hackers/code/mtsas/#a9d7ee8ea685