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
tcpTests.h@4:ce953c80c5b3, 2014-02-07 (annotated)
- Committer:
- SolderSplashLabs
- Date:
- Fri Feb 07 00:26:14 2014 +0000
- Revision:
- 4:ce953c80c5b3
- Parent:
- 2:8f5776c287c5
Added mDNS after smart config
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SolderSplashLabs | 0:0bce3a738bcb | 1 | #ifndef TCPTESTS_H |
SolderSplashLabs | 0:0bce3a738bcb | 2 | #define TCPTESTS_H |
SolderSplashLabs | 0:0bce3a738bcb | 3 | |
SolderSplashLabs | 0:0bce3a738bcb | 4 | void HttpClientTest ( void ); |
SolderSplashLabs | 0:0bce3a738bcb | 5 | void WebSocketTest ( void ); |
SolderSplashLabs | 2:8f5776c287c5 | 6 | void WebSocketReadTest ( void ); |
SolderSplashLabs | 4:ce953c80c5b3 | 7 | void WebSocketAdcStream ( void ); |
SolderSplashLabs | 0:0bce3a738bcb | 8 | void TcpClientTest ( void ); |
SolderSplashLabs | 0:0bce3a738bcb | 9 | void TcpServerTest ( void ); |
SolderSplashLabs | 0:0bce3a738bcb | 10 | void XivelySimpleTest ( void ); |
SolderSplashLabs | 0:0bce3a738bcb | 11 | |
SolderSplashLabs | 0:0bce3a738bcb | 12 | extern const char *ECHO_SERVER_ADDRESS; |
SolderSplashLabs | 0:0bce3a738bcb | 13 | extern const int ECHO_SERVER_PORT_TCP = 80; |
SolderSplashLabs | 0:0bce3a738bcb | 14 | extern char *hello; |
SolderSplashLabs | 0:0bce3a738bcb | 15 | |
SolderSplashLabs | 0:0bce3a738bcb | 16 | #endif |