gs fan
/
GSwifi_https_get
HTTPS(SSL) client and NTP client for GSwifi see: http://mbed.org/users/gsfan/notebook/gainspan_wifi/
Diff: main.cpp
- Revision:
- 1:b06de786490e
- Parent:
- 0:4916aa89d55c
- Child:
- 2:608c25ba84ca
--- 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"); }