bluerobotics / companion

Companion computer startup scripts and examples
https://www.ardusub.com/operators-manual/companion-web.html
GNU General Public License v3.0
48 stars 54 forks source link

index.js: encode wpa ssid names #262

Closed Williangalvani closed 5 years ago

Williangalvani commented 5 years ago

This was not a problem in our side, for some reason both iwlist and iwconfig return the SSIDs like that. This uses a regex to encode the codes back to what they should be.

Fix #261

Williangalvani commented 5 years ago

Can you add a comment or a minimal url link with some regex and examples to help us debug this in the future ? regex is one of the hard things to maintain if there is no documentation or modularity.

I added some comments