WiFi DipCortex / CC3000 Demo - Contains a menu driven set of tests to initalise and control the CC3000 radio. Also allowing you to test various TCP and UDP connections.
Dependencies: NTPClient WebSocketClient cc3000_hostdriver_mbedsocket mbed HTTPClient
http://www.soldersplash.co.uk/products/wifi-dipcortex/
Please Note, this example uses the serial port so you will need an external RS232 TTL to USB adapter.
tcpTests.h@4:4e5e094a81c0, 2013-10-09 (annotated)
- Committer:
- SolderSplashLabs
- Date:
- Wed Oct 09 00:59:47 2013 +0000
- Revision:
- 4:4e5e094a81c0
Added HTTP Client test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SolderSplashLabs | 4:4e5e094a81c0 | 1 | #ifndef TCPTESTS_H |
SolderSplashLabs | 4:4e5e094a81c0 | 2 | #define TCPTESTS_H |
SolderSplashLabs | 4:4e5e094a81c0 | 3 | |
SolderSplashLabs | 4:4e5e094a81c0 | 4 | void HttpClientTest ( void ); |
SolderSplashLabs | 4:4e5e094a81c0 | 5 | void WebSocketTest ( void ); |
SolderSplashLabs | 4:4e5e094a81c0 | 6 | void TcpClientTest ( void ); |
SolderSplashLabs | 4:4e5e094a81c0 | 7 | void TcpServerTest ( void ); |
SolderSplashLabs | 4:4e5e094a81c0 | 8 | |
SolderSplashLabs | 4:4e5e094a81c0 | 9 | extern const char *ECHO_SERVER_ADDRESS; |
SolderSplashLabs | 4:4e5e094a81c0 | 10 | extern const int ECHO_SERVER_PORT_TCP = 80; |
SolderSplashLabs | 4:4e5e094a81c0 | 11 | extern char *hello; |
SolderSplashLabs | 4:4e5e094a81c0 | 12 | |
SolderSplashLabs | 4:4e5e094a81c0 | 13 | #endif |