node-wifi
node-wifi copied to clipboard
Windows 11 support for `getCurrentConnections` (fix parsing)
Description
Windows 11 has two more fields in netsh wlan show interfaces
: Interface Type (ifaceType
) and Band (band
). This made the parsing break so .getCurrentConnections()
would return its values on the wrong keys for the resulting object.
Also made a few quick typo corrections.
Motivation and Context
See #176
Usage examples
Use .getCurrentConnections()
in Windows 11.
How Has This Been Tested?
I tested getting the current connections and the object would now make sense.
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Refactorization (non-functional change which improve code readibility)