Idea note

This commit is contained in:
Ryan McCahan 2024-03-31 16:41:39 -06:00
parent ddbb08a492
commit b080046026
No known key found for this signature in database
GPG Key ID: 4AD93D9FB6994DFA
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ void handleImprovCommand(improv::ImprovCommand cmd, Span* span) {
if (connectWifi(cmd.ssid.c_str(), cmd.password.c_str())) {
sendImprovState(improv::State::STATE_PROVISIONED);
std::vector<std::string> infos; // Empty vector, we could put an HTTP URL here as the next step for the user if we had one
// IDEA: We could link to a page that will render the QR code for the user to scan
std::vector<uint8_t> data = improv::buildRPCResponse(improv::WIFI_SETTINGS, infos, false);
improv::sendImprovResponse(data);