You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to get the qrcode value by using helper.make_wifi_data.
However, among the generated qrcode result values, double quotation marks are included in the password.
Because of this, a password error occurs when scanning with a qrcode scanner.
I hope to check if there is a problem with my code.
Thanks for providing more insight into your code. Now I understand why the password is quoted. It should only happen if the password / SSID can be interpreted as an integer.
I'll fix it asap.
Try to get the qrcode value by using helper.make_wifi_data.
However, among the generated qrcode result values, double quotation marks are included in the password.
Because of this, a password error occurs when scanning with a qrcode scanner.
I hope to check if there is a problem with my code.
My Code ====
qrVal = helpers.make_wifi_data(
ssid=contentJson.get('ssid'),
password=contentJson.get('password'),
security=contentJson.get('security'),
hidden=contentJson.get('hidden') == True)
Result ====
WIFI:T:WPA;S:"MySSID";P:"MyPassword";;
The text was updated successfully, but these errors were encountered: