(nodekey): ",etag.addr)
}
);
}; //connection.onopen
connection.onclose = function (reason, details) {
console.log("no connection to wamp-router",config.wamp.name);
}
connection.open();
Code-Beispiel RPC-Aufrufe (Pseudo-Code)
//get_version
RPC: agilion.wls.epaper.get_version [ ]
-> In return value: [Version]
//get_tags
RPC: agilion.wls.epaper.get_tags [ ]
-> In return value: [ [TransponderID,
ProductID, "FirmwareVersion"] , TransponderID, ProductID,
"FirmwareVersion"], ...]
-> [ [34954, 6021999, "GANYMED_TY41_002.000.025"] , [35319,
6021999, "GANYMED_TY41_002.000.025"], ...]
//set_display_theme
RPC: agilion.wls.epaper.set_display_theme [TransponderID, ThemeID,
[ [FieldID, "text1"], [FieldID, "text2"] ] ]
agilion.wls.epaper.set_display_theme [12345, 1, [ [0, "text1"], [1,
"text2"] ] ]
-> Theme 1 with texts 1: text1 and 2: text2
//get_display_theme
RPC: agilion.wls.epaper.get_display_theme [TransponderID]
agilion.wls.epaper.set_display_theme [12345]
-> In return value: [result_code, ThemeID, [ [FieldID, "text1"],
[FieldID, "text2"] ] ]
SIMATIC RTLS Datenexportdienst
Applikationshandbuch, 03/2024, C79000-G8900-C531-08
console.error("epaper in config not found in wls
}
}
Konfiguration des "Datenexportdienst"
5.7 Exportmodul "ExportEpaperAPI"
63