# Arducam 8266 IoT Board Design
## Design Goals
* WiFi configuration mode
* Enter by holding a button on boot
* Starts AP mode with (MAC_ADDR, 00000000)
* Serves a webpage at port 80 to receive (SSID, PW) as html form
* Filters illegal character
* Writes configuration into SPIFFS
* Reads configuration from SPIFFS and connect to wifi
* FOTA
* Listens to port 80
* Setup a handler to receive .hex
* (Optional) Validate .hex
* SPIFFS
* Initialize filesystem
* Creates 2 file: ssid.txt, pw.txt
* 123
* Extra
* Datalogging to: HTTP API, InfluxDB, MQ, Websocket etc...
* Pub/sub queue by monitoring influx
* Issuing command to 8266: Set pin state HIGH/LOW