meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
3.3k stars 800 forks source link

1.3.34 Wifi wiped out [Bug]: #1612

Closed nomore1007 closed 2 years ago

nomore1007 commented 2 years ago

Category

WiFi

Hardware

T-Beam

Firmware Version

1.3.34

Description

New update wiped wifi info out, and will not accept new wifi settings from python.

Relevant log output

No response

garthvh commented 2 years ago

Settings are indeed wiped out when upgrading from 1.2 to 1.3

The syntax has changed for the new CLI

meshtastic --set wifi.psk "yourpassword" meshtastic --set wifi.ssid "ssid" meshtastic --set wifi.enabled true

nomore1007 commented 2 years ago

I set both. I did not set enabled, that's if you want the softAP? I am connecting it to a wifi network, after I set it, I check with --get, and its still blank.

Also, I upgraded from 1.3.30 to 1.3.34, that's when it disappeared.

garthvh commented 2 years ago

I set both. I did not set enabled, that's if you want the softAP? I am connecting it to a wifi network, after I set it, I check with --get, and its still blank.

Also, I upgraded from 1.3.30 to 1.3.34, that's when it disappeared.

No enabled has been added to wifi in general because the new validation on ssid and psk prevents the old method to disable wifi of setting them to "" the mode is now an enum that defaults to client so you should not need to set it unless you want to turn on the soft ap.

nomore1007 commented 2 years ago

Ok I did leave it unset. I noticed that it also lost the Name and defaulted back to "Meshtastic ####". I downgraded back to .30 and its working again.

nomore1007 commented 2 years ago
meshtastic --port /dev/ttyACM1 --set wifi.enabled true
Connected to radio
Aborting due to: local variable 'localConfig' referenced before assignment
garthvh commented 2 years ago

It is updated on the device, looks like the protobufs need to be updated on the python API. The new settings are in iOS.