Iโm trying to make virtual parameter for Ping diagnostic no matter what value I set in the virtual parameter the value that was set to InternetGatewayDevice.IPPingDiagnostics.Host is always wrong
can some shed some light because for sure iโm missing something obvious
Happy New Year !!
edit:
when I change the code a little bit
from this
value = args[1].value;
into this
value = args[1].value[0];
Hello,
sorry this is off the topic but can you share me the parameters you used to get pon power and optical power and temperature and other parameters.
//VirtualParameters.Sample
let value;
if ("value" in args[1]) {
value = args[1].value[0];
value = [value,'xsd:string'];
} else if ("value" in args[3]) {
value = args[3].value;
} else {
value = ['','xsd:string'];
}
return {writable: true, value: value};
After countless retry i finally got it and understand what's wrong :)