ScruffR
September 5, 2020, 7:18am
6
Not quite.
You can modify the hosted website and use these to communicated your custom data.
I've done exactly that in some example implementation quite some time ago.
This would be one way to add two extra inputs to the index.html (just replace the original with this)
const char index_html[] =
"<!DOCTYPE html>"
"<html>"
"<head>"
" <meta name='viewport' content='width=device-width, initial-scale=1'>"
" <title>Setup your device</title>"
" <link rel='stylesheet' type='text/css' href='style.css'>"
"</head>"
"<body>"
" <h1>Connect me to your WiFi!</h1>"
" <h3>My device ID:</h3>"
" <input type=text id='device-id' size='25' value='' disabled />"
" <button t…