monome / norns

norns is many sound instruments.
http://monome.org
GNU General Public License v3.0
633 stars 147 forks source link

Wifi add/connect screens blank #743

Closed markwheeler closed 5 years ago

markwheeler commented 5 years ago

Testing the 2.0 beta I've seen these situations happen:

Seems like a few people on lines have mentioned similar. Let me know how I can help debug further.

okyeron commented 5 years ago

would it be helpful to do some error checking on m.wifi.ssid_list and wifi.conn_list and display something like "can't find networks" instead of a blank screen?

tehn commented 5 years ago

@okyeron yes that is a good idea

okyeron commented 5 years ago

Looking at this again today and it seems like maybe a good solution is to add the error checking in listselect.lua ls.enter() so if ls.len ==0 then it displays none or empty or something?

Also wonder if #788 is related (wifi.init not getting properly run at startup)?

okyeron commented 5 years ago

Testing this just now - I got to a state where CONNECT/ADD/DEL all showed none so I rebooted. Then I would get none for CONNECT, but got a listing for ADD. Adding my usual network ended up with Network 1 and then the CONNECT list showed Network and Network 1 (along with another saved network)

So... it seems like the connect listing is forgetting known networks when the wifi.status is unavailable?