Describe the bug
if you select a wifi password that just have 13 numbers (no chars), camera cannot connect to wifi. camera logs show wifi stack crashloop
To Reproduce
crash if you use 13 number password in yi home application trough qr code scanning
it also crash if youm using hack v5 web server, modify the wifi password with 13 number (in order to do this of course you have to temporanly connect to a working wifi)
Expected behaviour
13 numbers password is legit
Screenshots
none
Set Up Details (please complete the following information):
- Firmware Version: v0.4.1
- Device: YI Dome Camera
- Model: YHS 1916
Additional context
Add any other context about the problem here. If any other systems are involved, please complete the following:
tried with 4 routers. always same behavior. just numbers password brake something
Technical Details
from log.txt
rmm got /tmp/got_wpa ssid(Ermes2G) pwd(1234567891234)
→ wifi disconnected, now reconnect wifi
→ wpa may crashed, now reset
→ wpa may crashed, now reset
→ wpa may crashed, now reset
→ wifi connect timeout
from supplicant log
supplicant di quando non si riesce a connettere
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
ssid="Ermes2G"
scan_ssid=1
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="1234567891234"
}
network={
ssid="Ermes2G"
scan_ssid=1
key_mgmt=NONE
proto=WPA RSN
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
wep_key0="1234567891234"
wep_key1="1234567891234"
wep_key2="1234567891234"
wep_key3="1234567891234"
wep_tx_keyidx=0
Describe the bug
if you select a wifi password that just have 13 numbers (no chars), camera cannot connect to wifi. camera logs show wifi stack crashloop
To Reproduce
crash if you use 13 number password in yi home application trough qr code scanning
it also crash if youm using hack v5 web server, modify the wifi password with 13 number (in order to do this of course you have to temporanly connect to a working wifi)
Expected behaviour
13 numbers password is legit
Screenshots
none
Set Up Details (please complete the following information):
Additional context
Add any other context about the problem here. If any other systems are involved, please complete the following:
tried with 4 routers. always same behavior. just numbers password brake something
Technical Details
from log.txt
rmm got /tmp/got_wpa ssid(Ermes2G) pwd(1234567891234)
→ wifi disconnected, now reconnect wifi
→ wpa may crashed, now reset
→ wpa may crashed, now reset
→ wpa may crashed, now reset
→ wifi connect timeout
from supplicant log
supplicant di quando non si riesce a connettere
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
ssid="Ermes2G"
scan_ssid=1
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="1234567891234"
}
network={
ssid="Ermes2G"
scan_ssid=1
key_mgmt=NONE
proto=WPA RSN
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
wep_key0="1234567891234"
wep_key1="1234567891234"
wep_key2="1234567891234"
wep_key3="1234567891234"
wep_tx_keyidx=0