m77-raspberry-wifi-node-nmcli
Advanced tools
Comparing version
{ | ||
"name": "m77-raspberry-wifi-node-nmcli", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Module in nodejs to configure Wifi connections on Raspberry Pi (managed by nmcli)", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -458,3 +458,3 @@ class M77RaspberryWIFI { | ||
const scanned = await this.#nmcli(`device wifi list ifname ${this.#device} --rescan no`) | ||
const scanned = await this.#nmcli(`device wifi list ifname ${this.#device} --rescan yes`) | ||
if (scanned === false) { resolve({ success: false, code: 2031, msg: `It was not possible to obtain the list of the scanned Wi-Fi networks in inteface`, data: { device: this.#device } }); return false } | ||
@@ -461,0 +461,0 @@ |
87781
0