Closed lesenther closed 2 years ago
Fixes incorrect mac address returned when getting connections information on windows, which actually returns the bssid instead.
Bugfix
const wifi = require('node-wifi'); wifi.init({iface: 'wlan'}); wifi.getCurrentConnections().then(result => console.log(result));
// Compare with 'netsh wlan show interfaces'
Tested on Windows 10
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description
Fixes incorrect mac address returned when getting connections information on windows, which actually returns the bssid instead.
Motivation and Context
Bugfix
Usage examples
const wifi = require('node-wifi'); wifi.init({iface: 'wlan'}); wifi.getCurrentConnections().then(result => console.log(result));
// Compare with 'netsh wlan show interfaces'
How Has This Been Tested?
Tested on Windows 10
Types of changes