Refactor the increasingly complex wifi code into its own header, update some docs.
This commit is contained in:
parent
bca75ff5e6
commit
3569508c88
3 changed files with 97 additions and 41 deletions
|
@ -37,7 +37,7 @@ only be high for a short time. 1 is for latched mode; the pin will stay high unt
|
|||
|
||||
## Building
|
||||
|
||||
**TODO**
|
||||
Just run `make` to build the code. You need to have `config.h` and `data/ca_cert.pem` defined.
|
||||
|
||||
|
||||
## Webhook data
|
||||
|
@ -49,3 +49,9 @@ The webhook should always return a page in the following (JSON-compatible) forma
|
|||
|
||||
Where index and state are both integers. If you are expecting momentary input, you should return the
|
||||
state to '0' after the page is served / the webhook is consumed.
|
||||
|
||||
|
||||
## Future Improvements
|
||||
|
||||
* make it actually work...
|
||||
* use WifiManager?
|
Loading…
Add table
Add a link
Reference in a new issue