Added Mac-change & Beacon Interval Setting

This commit is contained in:
Stefan Kremser
2017-05-19 18:02:59 +02:00
parent ff745f6870
commit 64cb0a6f2a
8 changed files with 74 additions and 17 deletions

View File

@@ -16,6 +16,8 @@ var multiAPs = getE('multiAPs');
var multiAttacks = getE('multiAttacks');
var cMac = getE('cMac');
var cName = getE('cName');
var macInterval = getE('macInterval');
var beaconInterval = getE('beaconInterval');
var res;
function getData() {
@@ -40,6 +42,8 @@ function getData() {
/*channelHop.checked = res.channelHop;*/
multiAPs.checked = res.multiAPs;
multiAttacks.checked = res.multiAttacks;
macInterval.value = res.macInterval;
beaconInterval.checked = res.beaconInterval;
});
}
@@ -60,6 +64,8 @@ function saveSettings() {
/*url += "&channelHop=" + channelHop.checked;*/
url += "&multiAPs="+multiAPs.checked;
url += "&multiAttacks="+multiAttacks.checked;
url += "&macInterval="+macInterval.value;
url += "&beaconInterval="+beaconInterval.checked;
getResponse(url, function(responseText) {
if (responseText == "true") {