Skip to content

Commit

Permalink
Arduino Bootstrapper (v1.18.1) (#39)
Browse files Browse the repository at this point in the history
Improv WiFi improvements
  • Loading branch information
sblantipodi authored Jul 25, 2024
1 parent 6915b8b commit 43d01f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "git",
"url": "https://github.com/sblantipodi/arduino_bootstrapper.git"
},
"version": "1.18.0",
"version": "1.18.1",
"examples": "examples/*.cpp",
"exclude": "tests",
"frameworks": "arduino",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Bootstrapper
version=1.18.0
version=1.18.1
author=Davide Perini <[email protected]>
maintainer=Davide Perini <[email protected]>
sentence=A client library for MQTT messaging.
Expand Down
3 changes: 3 additions & 0 deletions src/WifiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ void WifiManager::sendImprovStateResponse(uint8_t state, bool error) {
out[10] = checksum;
Serial.write((uint8_t *) out, 11);
Serial.write('\n');
Serial.flush();
}

void WifiManager::sendImprovRPCResponse(byte commandId) {
Expand Down Expand Up @@ -626,6 +627,7 @@ void WifiManager::sendImprovRPCResponse(byte commandId, bool forceConnection) {
out[packetLen - 1] = checksum;
Serial.write((uint8_t *) out, packetLen);
Serial.write('\n');
Serial.flush();
improvActive = 1; //no longer provisioning
}

Expand Down Expand Up @@ -670,6 +672,7 @@ void WifiManager::sendImprovInfoResponse() {
out[packetLen - 1] = checksum;
Serial.write((uint8_t *) out, packetLen);
Serial.write('\n');
Serial.flush();
DIMPROV_PRINT("Info checksum");
DIMPROV_PRINTLN(checksum);
}
Expand Down

0 comments on commit 43d01f4

Please sign in to comment.