wifiConnections() improved BSSID parsing (windows)

This commit is contained in:
Sebastian Hildebrandt 2024-12-14 08:36:25 +01:00
parent c4b99a515e
commit 6d1141bf7a
4 changed files with 11 additions and 5 deletions

View File

@ -90,8 +90,9 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.23.12 | 2024-12-13 | `networkConnections()` fixed wrond PID parsing (macOS) |
| 5.23.11 | 2024-12-13 | `networkConnections()` fixed wrond PID parsing (macOS) |
| 5.23.13 | 2024-12-14 | `wifiConnections()` improved BSSID parsing (windows) |
| 5.23.12 | 2024-12-13 | `networkConnections()` fixed wrong PID parsing (macOS) |
| 5.23.11 | 2024-12-13 | `networkConnections()` fixed wrong PID parsing (macOS) |
| 5.23.10 | 2024-12-12 | `time()` changed retrieval of timezones (linux, macOS) |
| 5.23.9 | 2024-12-11 | `typings` added definitions with overload |
| 5.23.8 | 2024-12-10 | `system()` added Raspberry 500 detection |

View File

@ -58,7 +58,12 @@
</thead>
<tbody>
<tr>
<th scope="row">5.23.21</th>
<th scope="row">5.23.13</th>
<td>2024-12-14</td>
<td><span class="code">wifiConnections()</span> improved BSSID parsing (windows)</td>
</tr>
<tr>
<th scope="row">5.23.12</th>
<td>2024-12-13</td>
<td><span class="code">networkConnections()</span> fixed PID parsing macOS >= version 15 (macOS)</td>
</tr>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.23.12</span></div>
<div class="version">New Version: <span id="version">5.23.13</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">

View File

@ -700,7 +700,7 @@ function wifiConnections(callback) {
const model = lines[1].indexOf(':') >= 0 ? lines[1].split(':')[1].trim() : '';
const id = lines[2].indexOf(':') >= 0 ? lines[2].split(':')[1].trim() : '';
const ssid = util.getValue(lines, 'SSID', ':', true);
const bssid = util.getValue(lines, 'BSSID', ':', true);
const bssid = util.getValue(lines, 'BSSID', ':', true) || util.getValue(lines, 'AP BSSID', ':', true);;
const quality = util.getValue(lines, 'Signal', ':', true);
const signalLevel = wifiDBFromQuality(quality);
const type = util.getValue(lines, 'Radio type', ':', true) || util.getValue(lines, 'Type de radio', ':', true) || util.getValue(lines, 'Funktyp', ':', true) || null;