mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
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:
parent
c8f4870d7c
commit
c6cbe83ce1
@ -381,7 +381,7 @@ void CrossPointWebServerActivity::renderServerRunning() const {
|
|||||||
renderer.drawCenteredText(SMALL_FONT_ID, startY + LINE_SPACING * 3,
|
renderer.drawCenteredText(SMALL_FONT_ID, startY + LINE_SPACING * 3,
|
||||||
"or scan QR code with your phone to connect to Wifi.");
|
"or scan QR code with your phone to connect to Wifi.");
|
||||||
// Show QR code for URL
|
// 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);
|
drawQRCode(renderer, (480 - 6 * 33) / 2, startY + LINE_SPACING * 4, wifiConfig);
|
||||||
|
|
||||||
startY += 6 * 29 + 3 * LINE_SPACING;
|
startY += 6 * 29 + 3 * LINE_SPACING;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user