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.
main.h@4:4e5e094a81c0, 2013-10-09 (annotated)
- Committer:
- SolderSplashLabs
- Date:
- Wed Oct 09 00:59:47 2013 +0000
- Revision:
- 4:4e5e094a81c0
- Parent:
- 3:d81f8a9f3733
Added HTTP Client test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SolderSplashLabs | 0:039d229f3d6b | 1 | |
SolderSplashLabs | 0:039d229f3d6b | 2 | #ifndef MAIN_H |
SolderSplashLabs | 0:039d229f3d6b | 3 | #define MAIN_H |
SolderSplashLabs | 0:039d229f3d6b | 4 | |
SolderSplashLabs | 4:4e5e094a81c0 | 5 | #define SERIAL_BAUD_RATE 115200 |
SolderSplashLabs | 4:4e5e094a81c0 | 6 | |
SolderSplashLabs | 3:d81f8a9f3733 | 7 | typedef enum MENU_LEVEL |
SolderSplashLabs | 3:d81f8a9f3733 | 8 | { |
SolderSplashLabs | 3:d81f8a9f3733 | 9 | MENU_TOP = 0, |
SolderSplashLabs | 3:d81f8a9f3733 | 10 | MENU_CONNECTION, |
SolderSplashLabs | 3:d81f8a9f3733 | 11 | MENU_TCP, |
SolderSplashLabs | 3:d81f8a9f3733 | 12 | MENU_UDP |
SolderSplashLabs | 3:d81f8a9f3733 | 13 | } MENU_LEVEL; |
SolderSplashLabs | 3:d81f8a9f3733 | 14 | |
SolderSplashLabs | 0:039d229f3d6b | 15 | extern cc3000 wifi; |
SolderSplashLabs | 0:039d229f3d6b | 16 | |
SolderSplashLabs | 0:039d229f3d6b | 17 | #endif |