Open matthiaslau opened 5 years ago
Hi, Sorry for the delay. Thank for noticing this bug. I will fix it next week. I am trying to improve the stability of node-wifi and for that I need outputs from different OS. Could you please send a airport output relating to your situation ?
I am sorry, I don´t have the tested wifi around me any more. It was a 5GHz only wifi with a channel >100.
When there is a wifi in reach using a channel >99 the parsing the airport output with the title indexOf will result in faulty data. E.g.
will result in
It could be fixed using a regexp like this: https://github.com/ancasicolica/node-wifi-scanner/blob/master/lib/airport.js#L10