Programming interface
3.5 Code examples
SIMATIC RTLS4084T
22
Operating Instructions, 04/2021, C79000-G8976-C626-02
function (res) {
/*if ( config.debug ) console.log("epaperapi response:",
res);*/
for (let etag of config.tagwhitelist){
var isin = false
for (let epaper of res["args"][1]){
if ( config.debug ) console.log("check epaperadr", epaper[0]);
if (epaper[0] == etag.addr){
isin = true
break
}
}
if (isin == false){
console.error("epaper in config not found in wls
(nodekey): ",etag.addr)
}
}
}
);
}; //connection.onopen
connection.onclose = function (reason, details) {
console.log("no connection to wamp-router",config.wamp.name);
}
connection.open();