adafruit / Adafruit_WICED_Arduino

Adafruit WICED Feather Arduino BSP
https://www.adafruit.com/products/3056
27 stars 19 forks source link

Remove all WiFi101 Branding/Names #7

Closed microbuilder closed 8 years ago

microbuilder commented 8 years ago

We can't use WiFi101 because it's an Arduino brand/name and also conflicts with the Arduino files when their lib is installed. Remove all 101 filenames, and stick to 'Client' since that's the important API to follow:

ScanNetworks.ino:110:10: error: 'ENC_TYPE_OPEN' was not declared in this scope
Multiple libraries were found for "WiFi101.h"
 Used: C:\Users\ladyada\Dropbox\ArduinoSketches\libraries\arduino_855251
 Not used: C:\Users\ladyada\Dropbox\ArduinoSketches\hardware\Adafruit_WICED_Arduino\STM32F2\libraries\WiFi101
'ENC_TYPE_WEP_SHARED' was not declared in this scope
hathach commented 8 years ago

Current WiFiClient is already a subclass of Client. The Wifi101 which contains the wifi specific function is easy to use than the Ethernet class, I would suggest we rename the Wifi class as well as those conflicted symbol (enum). Maybe call it WiFiFeather or something ?

microbuilder commented 8 years ago

WiFiFeather.h works for me.