Description:

With this add-in script you can cycle through SSIDs in sequence on LCOS devices.

List of used variables:

VariableDescription




Add-in code:

/**
 * @param {Config} config
 * @param {Context} context
 * Do not edit this comment or parameter types. Required for code suggestions
*/
exports.main = function (config, context) {
    for (var ssidName in context.network.ssids) {
        var ssidObject = context.network.ssids[ssidName];
        config.addScriptLine("# The SSID: " + ssidObject.name);
        config.addScriptLine("# The Radius Name: " + ssidObject.radiusName);
        config.addScriptLine("# Number of interfaces: " + ssidObject.ifcNumber.length);
        var ifcNumbers = ssidObject.ifcNumber; // type: string[]
        var ifcNames = ssidObject.ifcName; // type: string[]
    }
};

Add-in as JSON file:

iterate_ssids.json