wifiscanner
wifiscanner copied to clipboard
Open to adding a feature?
This library seems pretty old and untouched for years - but still works and does what I want (I would in fact prefer calling into libraries via FFI rather than a Command, but that's a different topic and probably not easy) - I was wondering would you be open to a PR to add the feature described below.
Is your feature request related to a problem? Please describe. I would like to know which SSID in the list returned is the one currently being used. I know there maybe corner cases that complicate it, but I don't care too much about those and what the "airport" returns is good enough for me.
Describe the solution you'd like Add a field in the Wifi struct returned to indicate if that wifi (SSID) is the one currently being used, as reported by invoking "airport" command (on MacOS) with "-I" option (older versions had a "ssid" option I think).
On linux I don't know the equivalent, but hope it could be found
Describe alternatives you've considered
These alternatives would also be fine and in fact this first one maybe better - unless we could get the info in just one Command
invokation, saving time.
- A separate function in the library in addition to
scan()
- return a struct with the SSID name plus a vec or wifis in the
scan()
command