node-raspbian-wifi
v1.0.2
Published
Node package for wifi handling on raspbian
Downloads
5
Readme
node-raspbian-wifi
This module enables you to setup wifi connections on a raspbian based device. The user executing the module needs access to /etc/wpa_supplicant/wpa_supplicant.conf
Usage
var wifi = require('node-raspbian-wifi');
wifi.resetWifi(function(error) {
console.log(error);
});
var options = {
ssid: "YOUR_SSID",
passphrase: "SECRET"
};
wifi.connectToWifi(options, function(error) {
console.log(error);
});
wifi.getCurrentWifiSettings(function(error, data) {
console.log(data.ssid);
});