HTTPS(SSL) client and NTP client for GSwifi see: http://mbed.org/users/gsfan/notebook/gainspan_wifi/

Dependencies:   GSwifi mbed

Files at this revision

API Documentation at this revision

Comitter:
gsfan
Date:
Wed Aug 22 00:52:43 2012 +0000
Parent:
0:4916aa89d55c
Child:
2:608c25ba84ca
Commit message:
fix

Changed in this revision

GSwifi.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/GSwifi.lib	Tue Aug 21 07:55:16 2012 +0000
+++ b/GSwifi.lib	Wed Aug 22 00:52:43 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/gsfan/code/GSwifi/#b75b7fc144ff
+http://mbed.org/users/gsfan/code/GSwifi/#3b819ba34c6c
--- a/main.cpp	Tue Aug 21 07:55:16 2012 +0000
+++ b/main.cpp	Wed Aug 22 00:52:43 2012 +0000
@@ -2,14 +2,14 @@
 #include "GSwifi.h"
 
 #define SECURE GSSEC_WPA_PSK
-
 #define SSID "SSID"
-#define PASS "password"
+#define PASS "passkey"
 
 #define HTTP_HOST "secure.domain.name"
 #define HTTP_URI "/index.html"
 
-GSwifi gs(p13, p14, p12, P0_22); // TX, RX, CTS, RTS
+GSwifi gs(p13, p14); // TX, RX (no flow control)
+// GSwifi gs(p13, p14, p12, P0_22); // TX, RX, CTS, RTS
 Serial pc(USBTX, USBRX);
 DigitalOut led1(LED1), led2(LED2);
 
@@ -60,4 +60,6 @@
             led2 = 0;
         }
     }
+
+    pc.printf("exit\r\n");
 }