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

Committer:
SolderSplashLabs
Date:
2013-10-12
Revision:
5:506f580e7ead
Parent:
4:4e5e094a81c0

File content as of revision 5:506f580e7ead:


#ifndef MAIN_H
#define MAIN_H

#define SERIAL_BAUD_RATE    115200

typedef enum MENU_LEVEL
{
    MENU_TOP = 0,
    MENU_CONNECTION,
    MENU_TCP,
    MENU_UDP    
} MENU_LEVEL;

extern cc3000 wifi;

#endif