1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-18 01:03:14 +00:00

First commit of MeshAgent for MeshCentral

This commit is contained in:
Ylian Saint-Hilaire
2017-10-12 14:28:03 -07:00
commit 75d86eb4c8
349 changed files with 210459 additions and 0 deletions

15
Debug/ModuleTest.js Normal file
View File

@@ -0,0 +1,15 @@
var WiFiScanner = require('WiFiScanner');
var scanner = new WiFiScanner();
scanner.on('accessPoint', function (ap) { console.log("[" + ap.bssid + "] (" + ap.lq + ") " + ap.ssid); });
if (scanner.hasWireless())
{
console.log("This Computer has wireless");
scanner.Scan();
}
else
{
console.log("This Computer DOES NOT have wireless");
}