Description:

With this add-in script, it is possible to change the WLAN network details for LCOS LX access points.

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) {
// ------------------------------------------------------------------------
// Wireless LAN/WLAN networks/General/Network
// ------------------------------------------------------------------------
  var table = config.getTableByOid( "13.2.20.1" );
  var row;
  var netNameUppercase = context.network.name.toUpperCase();



for ( var ssidName in context.network.ssids);
row = table.createNewRow();
row.setByOid( "1" , "1_" +netNameUppercase + "_" +ssidName);   // Network-Name  -       PLEASE DO NOT DELETE THIS LINE!

  // Values you want to overwrite. Please delete all lines you do not want to change!
row.setByOid( "2" , "LANCOM" ); // SSID-Name
row.setByOid( "100" , "" ); // Key (PSK)
row.setByOid( "101" , "1" ); // Radios             ( 2.4GHz+5GHz (1), 2.4GHz (2), 5GHz (3), none (4))
row.setByOid( "102" , "P-PSK" ); // Encryption-Profile
row.setByOid( "103" , "300" ); // Idle-Timeout
row.setByOid( "20" , "0" ); // Tx bandwidth limit
row.setByOid( "21" , "0" ); // Rx bandwidth limit
row.setByOid( "200" , "0" ); // VLAN-ID
row.setByOid( "13" , "0" ); // Inter-Station-Traffic       (No (0), Yes (1))
row.setByOid( "14" , "0" ); // Client Isolation            (No (0), Yes (1))
row.setByOid( "4" , "0" ); // Suppress SSID broadcast  (No (0), Yes (1))
row.setByOid( "10" , "0" ); // Maximum client count
row.setByOid( "16" , "0" ); // Minimal client signal str.
row.setByOid( "17" , "0" ); // Exclude From Client Mgmt
row.setByOid( "18" , "ALWAYS" ); // Timeframe
row.setByOid( "19" , "" ); // Hotspot
row.setByOid( "25" , "0" ); // Block Multicast     No (0), IPv4-only (1), IPv6-only (2), Both (3)
row.setByOid( "26" , "0" ); // Client Tx bandwidth limit
row.setByOid( "27" , "0" ); // Client Rx bandwidth limit
row.setByOid( "29" , "0" ); // Multicast-to-Unicast        No (0), Convert-To-Unicast (1), Convert-To-Aggregate (2)
row.setByOid( "30" , "0" ); // Bridge              br-lan (0), WLC-Tunnel-1 (1), WLC-Tunnel-2 (2).....
row.setByOid( "31" , "9999" ); // WLC-Continuation-Time
row.setByOid( "28" , "0" ); // ARP-Handling            Off (0), On (1), Strict (2)
row.setByOid( "990" , "" ); // Mobility-Domain
row.setByOid( "32" , "" ); // WDS-Link
row.setByOid( "34" , "0" ); // U-APSD          No (0), Yes (1)
row.setByOid( "35" , "0" ); // RRM / 802.11k           No (0), Yes (1)

table.addOrMerge(row);
}

Add-in as JSON file:

wlan-details-lcos-lx.json