Hi how are you??
Just testing provision scripts, I can’t get to refresh correctly the WLAN parameters.
let test10 = declare(“InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.*”, {path: Date.now(), value: Date.now()});
for (let iter of test10) {
log(iter.path);
};
I’ve tried many other parameter with wildcards and they all work ok:
DeviceID.*
InternetGatewayDevice.DeviceInfo.* -->works ok!
InternetGatewayDevice.LANDevice.1.* -->works ok!
Enable debug mode (Add the config key cwmp.debug = '<your_acs_id>' Then refresh just the InternetGatewayDevice.LANDevice.1.WLANConfiguration.1 parameter. What is in the genieacs-debug.yaml file after doing that?
I will try that and let you know…
When you mean your_acs_id, you mean the ID of the device?
DCBB96-FD%2DHG8421C-4857544396132FF0 is I use this, then the key add spaces before and after %2 simbol. Is that ok?
Hi, I am attaching two scenarios:
First, and maybe I am doing something wrong here: I am testing everything using a provision scrip that will trigger on BOOT Event. I don’t know if this conflicts with the “default” provsion.
Script code:
const now = Date.now();
log(“Chequeo los WLAN”);
let test10 = declare(“InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.*”, {path: Date.now(), value: Date.now()});
for (let iter of test10) {
log(iter.path);
};
log(‘\n’ + ‘\n’);
First log is the result of just using the Summon button.
Second file is the result of reboot the ONT just after the Summon button.
From a quick review of the logs, it appears your CPE needs time for the WLAN pieces to come online, hence why you are getting faults returning params for InternetGatewayDevice.LANDevice.1.WLANConfiguration.1. on boot, but not after the CPE has been up for a bit.
As to how to work around that, you will need to work with your CPE vendor to have them fix their stuff.