You are viewing an older revision! See the latest version
cc3000
mbed cc3000 library¶
Information
The cc3000 library is still under development, please check the revision and update your programs regularly.
The Host Driver library¶
This library defines compatible API with the official mbed socket interface, which enables to use many mbed libraries.
Import librarycc3000_hostdriver_mbedsocket
cc3000 hostdriver with the mbed socket interface
An issue tracker is enabled for the host driver, please fill bug report there.
The Patch Programmer¶
In order to use the cc3000 module with this code, make sure at least V1.11 firmware is loaded.
[Repository '/users/frankvnk/code/CC3000_PatchProgrammer_MKII/' not found]
Demos description¶
There are 3 files which are important:
- The main header file - the configuration file
- The init code file - init routines for specific boards
- The main code file - demo code
NOTE: The main header file contains configuration parameters for connection and the board configuration. Please set it before flashing your board.
Two boards are supported at the moment using MY_BOARD selection:
- Wi-Go
- Wifi DipCortex
#define WIGO 1 #define WIFI_DIPCORTEX 2 #define UNDEFINED 3 #define MY_BOARD WIGO
To select any other board, set UNDEFINED macro for MY_BOARD macro inside the main header file and write your own init routine inside the init code file.
The hello world demo. It only connects to an access point, using DHCP and prints a message if DHCP is completed.
Import programcc3000_hello_world_demo
cc3000 hello world demo
Programs using this library:¶
- program1
- program2
- program3
