WiFi DipCortex USB CDC
Dependencies: HTTPClient NTPClient USBDevice WebSocketClient cc3000_hostdriver_mbedsocket mbed
Fork of WiFiDip-UsbKitchenSink by
http://www.soldersplash.co.uk/products/wifi-dipcortex/
Demo shows you how to implement the CC3000 library with the WiFi DipCortex.
The demo shows :
- USB CDC ( Serial ) Menu system allow control of the module and starting each example
- Smart Connect
- Manual connect
- Connection status
- Ping
- TCP Client
- TCP Server
- Web Socket read/write to sockets.mbed.org
- HTTP Client test Post, Put, Delete
- Posting ADC data to Xively every 1 second
- UDP Client
- UDP Server
- NTP Example, contacts time server to get the current time
You will need a Driver for the USB CDC port which can be found here : http://www.soldersplash.co.uk/docs/DipCortex-USB-CDC.zip
Please refer to : http://mbed.org/users/SolderSplashLabs/notebook/dipcortex---getting-started-with-mbed/ as well as the SolderSplash Forum for support http://forum.soldersplash.co.uk/viewforum.php?f=15
Diff: tcpTests.h
- Revision:
- 0:0bce3a738bcb
- Child:
- 2:8f5776c287c5
diff -r 000000000000 -r 0bce3a738bcb tcpTests.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpTests.h Mon Nov 04 19:55:00 2013 +0000 @@ -0,0 +1,14 @@ +#ifndef TCPTESTS_H +#define TCPTESTS_H + +void HttpClientTest ( void ); +void WebSocketTest ( void ); +void TcpClientTest ( void ); +void TcpServerTest ( void ); +void XivelySimpleTest ( void ); + +extern const char *ECHO_SERVER_ADDRESS; +extern const int ECHO_SERVER_PORT_TCP = 80; +extern char *hello; + +#endif \ No newline at end of file