Skip to content

Commit 6d1141b

Browse files
wifiConnections() improved BSSID parsing (windows)
1 parent c4b99a5 commit 6d1141b

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
9090

9191
| Version | Date | Comment |
9292
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
93-
| 5.23.12 | 2024-12-13 | `networkConnections()` fixed wrond PID parsing (macOS) |
94-
| 5.23.11 | 2024-12-13 | `networkConnections()` fixed wrond PID parsing (macOS) |
93+
| 5.23.13 | 2024-12-14 | `wifiConnections()` improved BSSID parsing (windows) |
94+
| 5.23.12 | 2024-12-13 | `networkConnections()` fixed wrong PID parsing (macOS) |
95+
| 5.23.11 | 2024-12-13 | `networkConnections()` fixed wrong PID parsing (macOS) |
9596
| 5.23.10 | 2024-12-12 | `time()` changed retrieval of timezones (linux, macOS) |
9697
| 5.23.9 | 2024-12-11 | `typings` added definitions with overload |
9798
| 5.23.8 | 2024-12-10 | `system()` added Raspberry 500 detection |

docs/history.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ <h3>Full version history</h3>
5858
</thead>
5959
<tbody>
6060
<tr>
61-
<th scope="row">5.23.21</th>
61+
<th scope="row">5.23.13</th>
62+
<td>2024-12-14</td>
63+
<td><span class="code">wifiConnections()</span> improved BSSID parsing (windows)</td>
64+
</tr>
65+
<tr>
66+
<th scope="row">5.23.12</th>
6267
<td>2024-12-13</td>
6368
<td><span class="code">networkConnections()</span> fixed PID parsing macOS >= version 15 (macOS)</td>
6469
</tr>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
<img class="logo" src="assets/logo.png" alt="logo">
171171
<div class="title">systeminformation</div>
172172
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
173-
<div class="version">New Version: <span id="version">5.23.12</span></div>
173+
<div class="version">New Version: <span id="version">5.23.13</span></div>
174174
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
175175
</div>
176176
<div class="down">

lib/wifi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ function wifiConnections(callback) {
700700
const model = lines[1].indexOf(':') >= 0 ? lines[1].split(':')[1].trim() : '';
701701
const id = lines[2].indexOf(':') >= 0 ? lines[2].split(':')[1].trim() : '';
702702
const ssid = util.getValue(lines, 'SSID', ':', true);
703-
const bssid = util.getValue(lines, 'BSSID', ':', true);
703+
const bssid = util.getValue(lines, 'BSSID', ':', true) || util.getValue(lines, 'AP BSSID', ':', true);;
704704
const quality = util.getValue(lines, 'Signal', ':', true);
705705
const signalLevel = wifiDBFromQuality(quality);
706706
const type = util.getValue(lines, 'Radio type', ':', true) || util.getValue(lines, 'Type de radio', ':', true) || util.getValue(lines, 'Funktyp', ':', true) || null;

0 commit comments

Comments
 (0)