Remove authentication type from hotspot QR code

It is optional according to the spec https://www.wi-fi.org/system/files/WPA3%20Specification%20v3.2.pdf#page=25
So should either be omitted or set to nopass
Fixes https://github.com/daveallie/crosspoint-reader/issues/229
This commit is contained in:
Dave Allie 2026-01-04 16:01:24 +11:00
parent c8f4870d7c
commit c6cbe83ce1
No known key found for this signature in database
GPG Key ID: F2FDDB3AD8D0276F

View File

@ -381,7 +381,7 @@ void CrossPointWebServerActivity::renderServerRunning() const {
renderer.drawCenteredText(SMALL_FONT_ID, startY + LINE_SPACING * 3,
"or scan QR code with your phone to connect to Wifi.");
// Show QR code for URL
std::string wifiConfig = std::string("WIFI:T:WPA;S:") + connectedSSID + ";P:" + "" + ";;";
const std::string wifiConfig = std::string("WIFI:S:") + connectedSSID + ";;";
drawQRCode(renderer, (480 - 6 * 33) / 2, startY + LINE_SPACING * 4, wifiConfig);
startY += 6 * 29 + 3 * LINE_SPACING;