This module implements the cc3000 wifi driver. At the moment some functionalities are missing:
- smart config
For low resource devices please consider the stripped down module
It can be used for every kind of cc3000 breakout, going from the Adafruit shield to the CC3000 on the Particle Core.
It is important to remark that Texas Instrument itself has deprecated the CC3000 chip, and recommends CC3200. Also, CC3000 low level drivers are not fully compliant with the BSD socket standard, therefore some functionalities may be absent or different.
The CC3000 is based on spi and also needs two additional pins to function; one which is called WEN (Wireless Enable) used as turn on/shutdown; one which is called IRQ and is used by the CC3000 to signal that data is ready.
The CC3000 has an onboard firmware which is currently at version 1.14. This modules supports CC3000 firmwares from version 1.13 (included) only. Refer to your CC3000 product instructions to update the CC3000 firmware if needed (Wiki).
CC3000 based products:
Tries to automatically init the CC3000 driver by looking at the device type. The automatic configuration is possible for all the Arduino compatible devices and for the Particle Core.
Otherwise an exception is raised.
init(spi, nss, wen, irq)
Tries to init the CC3000 driver. spi is the name of the spi driver the CC3000 is connected to. nss is the pin used as Chip Select (CS). wen is the pin used as Wireless Enable. irq is the pin used by the CC3000 to generate an interrupt.