WiFi DipCortex USB CDC

Dependencies:   HTTPClient NTPClient USBDevice WebSocketClient cc3000_hostdriver_mbedsocket mbed

Fork of WiFiDip-UsbKitchenSink by Carl - SolderSplash Labs

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

Committer:
SolderSplashLabs
Date:
Fri Feb 07 00:26:14 2014 +0000
Revision:
4:ce953c80c5b3
Parent:
0:0bce3a738bcb
Added mDNS after smart config

Who changed what in which revision?

UserRevisionLine numberNew contents of line
SolderSplashLabs 0:0bce3a738bcb 1
SolderSplashLabs 0:0bce3a738bcb 2 #ifndef MAIN_H
SolderSplashLabs 0:0bce3a738bcb 3 #define MAIN_H
SolderSplashLabs 0:0bce3a738bcb 4
SolderSplashLabs 0:0bce3a738bcb 5 #define SERIAL_BAUD_RATE 115200
SolderSplashLabs 0:0bce3a738bcb 6
SolderSplashLabs 0:0bce3a738bcb 7 typedef enum MENU_LEVEL
SolderSplashLabs 0:0bce3a738bcb 8 {
SolderSplashLabs 0:0bce3a738bcb 9 MENU_TOP = 0,
SolderSplashLabs 0:0bce3a738bcb 10 MENU_CONNECTION,
SolderSplashLabs 0:0bce3a738bcb 11 MENU_TCP,
SolderSplashLabs 0:0bce3a738bcb 12 MENU_UDP
SolderSplashLabs 0:0bce3a738bcb 13 } MENU_LEVEL;
SolderSplashLabs 0:0bce3a738bcb 14
SolderSplashLabs 0:0bce3a738bcb 15 extern cc3000 wifi;
SolderSplashLabs 0:0bce3a738bcb 16
SolderSplashLabs 0:0bce3a738bcb 17 #endif