Professional Documents
Culture Documents
Introduction 1
Security recommendations 2
3
SIMATIC RTLS Overview
Troubleshooting 6
Application Manual
C79000-G8976-C531-07
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
1 Introduction ........................................................................................................................................... 5
2 Security recommendations .................................................................................................................... 9
3 Overview.............................................................................................................................................. 13
4 Installing the "Data Export Service" ..................................................................................................... 15
5 Configuration of the "Data Export Service" ......................................................................................... 17
5.1 General configurations ...................................................................................................... 17
5.2 Supported framing methods in the RTLS localization network ............................................. 20
5.3 Logging of internal events and data transfer ...................................................................... 21
5.4 "ExportDatabase" export module ........................................................................................ 23
5.5 "ExportTCPIP" export module .............................................................................................. 24
5.6 "ExportSTDIP" export module ............................................................................................. 25
5.7 Export module "ExportSLMP: ISO/IEC 24730-1:2014" .......................................................... 29
5.7.1 SLMP via socket (TCP/IP) ..................................................................................................... 29
5.8 "ExportAVT" export module ................................................................................................ 31
5.8.1 Configuration of the "ExportAVT" export module ................................................................ 32
5.8.2 "[Orientation]" section of the configuration file .................................................................. 35
5.8.3 Output data of the "ExportAVT" export module ................................................................... 36
5.8.4 Parameter "NodeIdent"....................................................................................................... 39
5.8.5 Telegram types of the "ExportAVT" export module .............................................................. 40
5.8.6 Coordinates for the "ExportAVT" export module .................................................................. 56
5.9 "ExportEpaperAPI" export module....................................................................................... 57
5.9.1 Overview ........................................................................................................................... 57
5.9.2 Communication via the programming interface .................................................................. 58
5.9.3 RPC calls ............................................................................................................................ 60
5.9.4 Event messages ................................................................................................................. 62
5.9.5 Code examples .................................................................................................................. 64
5.9.6 Additional information ....................................................................................................... 67
5.10 BatteryLevelEvents............................................................................................................. 67
6 Troubleshooting .................................................................................................................................. 69
Additional information
You can find additional information on the SIMATIC RTLS products mentioned in this
documentation in the Readme file or on the Siemens support pages.
Link: (https://support.industry.siemens.com/cs/en/en/ps/25277)
Trademarks
SIMATIC RTLS ® is a registered trademark of the Siemens AG.
Security information
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, systems, machines, and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is
necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial
security concept. Siemens’ products and solutions form one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems,
machines and networks. These systems, machines and components should only be
connected to the enterprise network or the Internet if and only to the extent necessary and
with appropriate security measures (firewalls and/or network segmentation) in place.
You can find more information on protective measures in the area of industrial security by
visiting: (https://www.siemens.com/industrialsecurity).
Siemens’ products and solutions undergo continuous development to make them more
secure. Siemens strongly recommends performing product updates as soon as they are
available and using only the latest product versions. Use of product versions that are no
longer supported, and failure to apply latest updates may increase customer’s exposure to
cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS
Feed under (https://www.siemens.com/industrialsecurity).
• Make sure that all passwords are protected and inaccessible to unauthorized personnel.
• Do not use the same password for different users and systems or after it has expired.
Physical access
Restrict physical access to the device to qualified personnel.
Note
The service may only be used by experienced and trained users.
Application
The "Data Export Service" sends the position data calculated by the Locating Manager and,
depending on the configuration, user-specific data from the transponders to the external
recipient for further processing and analysis. The following technologies are used for this
purpose:
Name Description
Database Export of positions in a database table
TCP client The module is a TCP client that establishes a connection to a TCP server. If the
connection is interrupted, the module cyclically attempts to re-establish the
connection.
TCP server The module is a TCP server and opens a TCP port.
WAMP The module exports its information about this technology.
The following simultaneously operable export processes are available as output options:
The "Data Export Service" is configured via the "RTLS_LM_DataExport.ini" file. This is stored in
the "C:\Windows" directory by default. The configuration must be performed before starting
the "Data Export Service".
Start client
The "Data Export Service" (RTLS_LM_DataExportService.exe) is started automatically when the
PC is booted.
Note
Before starting the "Data Export Service", you need to edit the "RTLS_LM_DataExport.ini"
configuration file, otherwise the service will not provide export modules. You can find more
information about configuration of the export modules in the respective sections.
Note
When using the Windows text editor, make sure that you are logged into Windows with
administrator rights, otherwise there may be complications with assigning the file to the
service. To avoid this problem, use the Notepad++ editor, for example.
There is a section in the "RTLS_LM_DataExport.ini" configuration file for each export module.
These sections are created for the standard modules during installation These sections
contain the parameters required to configure the module. The name of the section defines
the type of the module. All modules have the "Active" parameter, which determines whether
the respective module is enabled.
Note
If a module is enabled or disabled via the "Network configuration" client, the "Active"
parameter is written.
In some cases, a module with different configurations is required. There is the possibility to
start export modules several times for this purpose.
1. Create an "["Exportmodul"]" section in the "RTLS_LM_DataExport.ini" configuration file and
give it a name that is different from any other section and contains "Modules".
2. Create a parameter named "ExportType" in this section.
3. Specify the name of the export module in this parameter.
Note
The names of the sections are the export modules listed in the "Overview (Page 13)" section.
Note that these are completely separate modules that are only structurally located in the
same "Data Export Service". The following example shows two "ExportTCPIP" modules that
connect to different ports of different PCs.
[LocSystem]
Host=localhost
Port=9500
;ReconnectInterval=1000
;The user used can be overwritten. This user must be created with
the UserAdmin.
login=DataExport
pwd=DA2
[ExportTCPIP]
;sends timestamp, address and coordinates via a TCP connection. Make
the connection yourself. It is a line-based protocol.
;LineFeed
Active=1
;Configuration to where the export interface connects.
Host=localhost
Port=5004
[Module.TCPIP2]
ExportType=ExportTCPIP
Active=1
Host=remotehost_2
Port=5005
Note
If an export module needs a resource, the export modules do not share it.
When an export module opens a socket at port 1234, no other export module or program on
that PC can open the port. The order in which the export modules are instantiated and
initialized is not defined.
When an export module is active and trying to connect to another system, the "Data Export
Service" is temporarily blocked during this time and the transfer of all data from the Locating
Manager server to the other export modules is briefly interrupted.
The "Data Export Service" can be run on a PC different than the Locating Manager. If the "Data
Export Service" is installed on another PC, a copy of the server's "LocNetBasicServer.ini"
configuration file must be located in the Windows folder of the "RTLS_LM_DataExport.ini"
configuration file of the "Data Export Service" to establish the data connection. You can
configure the Locating Manager host and port in the "[LocSystem]" section of the
configuration file for the "Data Export Service". For the host, you need to specify the name of
the PC or the IP address. For the port, you need to specify the corresponding TCP port. The
connection between the Locating Manager and the "Data Export Service" must not be blocked
by a firewall.
For authentication on the Locating Manager, the "Data Export Service" requires its own
credentials if the "Data Export Service" is operated on a different PC than the Locating
Manager. For this, you need to configure the "login" parameter and the "pwd" parameter in
the "[LocSystem]" section. If these parameters are not configured, the credentials of the "Data
Export Service" are only allowed on the PC where the Locating Manager is installed. If the
user is a domain, the domain must be specified as follows during login: "Domäne\Login".
You can enter the password in plain text or encrypted in the "RTLS_LM_DataExport.ini"
configuration file. Navigate to "Option > Encrypt password" in the menu bar to encrypt the
password. The option can be found in each client and the client does not need to be
connected to the server at this time. In the dialog box, enter the plain text password in the
"Password" text box and click the "Encrypt Password" button. The encrypted password
appears in the "Encrypted password" display field.
Note
The credentials for the default user "Administrator" are not created during installation. You
must therefore create a corresponding UMC user yourself. You can find instructions on how
to create UMC users in the Locating Manager installation manual.
Note
The "Observer" and "Manager" roles cannot be used to log onto the "Data Export Service". The
user must at least have the role "Applications".
For some export modules of the "Data Export Service", network addresses of transponders
must be output with a length of 6 bytes instead of 3.5 bytes. You can implement this using
the configuration of the technology prefix. The configuration changes the output of the 6-
byte network address of the devices in the export modules of the "Data Export Service" which
support these functions. The following parameters can be configured in the "[LocSystem]"
section for this purpose.
Characters Value
Start character 0x7F
End character 0x8F
ESC character 0x1B
Masking for special characters 0x20
Data (hexadecimal) 01 35 B2 8F 00 FF 01 1A 1B 1C 33
Masked data 7F 01 35 B2 1B AF 00 FF 01 1A 1B 3B 1C 33 8F
(hexadecimal)
Description SC Data Esc MC Data Esc MC Data EC
Parameter Description
ProtocolFile.dwMaxFileSize This parameter specifies the maximum file size in megabytes. The log rotates
when this value is reached.
The value "0" means that this parameter is inactive and a maximum limit does not
exist.
Default value: 100
ProtocolFile.dwMaxFileAge This parameter specifies the maximum age of the log files in seconds. The log
rotates when this value is reached.
The value "0" means that this parameter is inactive and a maximum age does not
exist.
Default value: 7200
Parameter Description
ProtocolFile.dwMinFreeDiskSpace This parameter specifies the minimum space in megabytes on the drive. If the
value drops below this, logging is disabled.
The value "0" means that this parameter is inactive and a check for available
memory is not activated.
Default value: 500
ProtocolFile.sFilePath This parameter specifies the path to the log files. If no path is specified, the
"RTLS_LM_DataExportService.exe" folder is created and used in the folder where
the "logs" file is located.
Logging is disabled when the specified path does not exist.
You can then enable or disable logging using the following parameters in each export
module block. If you enable it, the data transfer of this export module will be exported to log
files.
Parameter Description
ProtocolFile.boEnable This parameter specifies whether logging is active. The following values are
possible:
0: not active
1: active
Default value: 0
Configurations
The position data calculated by the Locating Manager are sent to the external recipient,
which you have defined in the "RTLS_LM_DataExport.ini" configuration file in the section
"ExportTCPIP" with the parameters "Host" and "Port". In addition, you must set the value of the
"Active" parameter from "0" to "1" to activate the data export via the socket connection. The
"FixedLineLength" parameter is important if you want an output of the distance data in the
same character length. If the value "0" is set, the output of e.g. 8 and 12 meters is different in
length. If you set the value to "1", +0008.00 or +0012.00 would be output (eight characters
each with leading zeros).
Output data
The "ExportTCP" export module data packet consists of the following eight fields. The output
format is specified in the respective description field:
Configuration
The position data calculated by the Locating Manager are sent to the external recipient,
which you have defined in the "RTLS_LM_DataExport.ini" configuration file in the section
"ExportSTDIP" with the parameters "Host" and "Port". In addition, you must set the value of
the "Active" parameter from "0" to "1" to activate the export via the socket connection.
Output data
The data packet of the "ExportSTDIP" export module consists of the fields described in the
table below. Different telegram types (command) are used in field 2, each of which triggers a
different output. The telegram types are described in the following.
The data packet is structured as follows:
The date and time indicate the time of the message transmission and are sent in local time.
The "Time stamp" parameter is only included in telegrams transmitted from the export
module to the other party. For commands in the opposite direction, do not use this
parameter and remove it from the telegram.
The following telegram types are supported in field 2:
All telegrams are described below and each end with a line break.
The telegram is sent by the RTLS as confirmation of the request by a telegram 0. A message
with telegram 0 and current protocol version is sent.
If the IO data are to be sent, telegram 11 is transmitted for all transponders with valid IO
data. The telegram is sent by the Locating Manager as confirmation of the request by
telegram 10. A message is sent with telegram 10 without attached data.
When the telegram is received, the Locating Manager attempts to transmit the message for
switching the output to the corresponding transponder.
Either a "Telegram 13: Outputs successfully switched" or a "Telegram 100: Error message" is
sent with each telegram of this type. The responses to the command can be assigned via the
referrer.
If errors occur when processing the command, a type 100 command is transmitted.
The telegram is sent by the Locating Manager when telegram 12 has been confirmed by the
transponder.
The telegram specification is made by the Locating Manager in accordance with the ISO/IEC
24720-1:2014 standard and can be found there.
Note
If the "Name" parameter was selected as identification feature, it is possible that this
parameter may not be unique in the project. If a command for a device is requested via the
"Name" parameter, an attempt is made to execute the command for the first available device
of the corresponding type with this name. It is not defined which device this is if several
devices use the same name.
For commands, "String" type parameters may not contain the separator character, which is
also used for separating parameters. This concerns, for example, the "NodeIdent" parameter
in the "Name" selection and the "Referrer" parameter. Responses can be assigned to the
command via the combination of the "Telegram ID", "NodeIdent" and "Referrer" parameters. If
another party sends such a command to the Locating Manager, but disconnects and
reestablishes the connection before the response message, it will not receive a response
message for this request. The request will still be executed. If multiple parties send such
commands, the commands will be executed according to the order in which they arrive on
the Locating Manager.
Note
Device specific commands are not supported by all devices. You can learn which devices
support specific functions in the operating instructions of the device.
Behavior depending on the version of the other party for all incoming commands
Device filter
In the configuration file, you can define special filters so that the data for fewer devices
should be transmitted. If a device is filtered out by this filter, in the export module it is treated
as if it were not present. In this case, no information is transferred for the device and the
corresponding error message is transferred for commands.
If you use GPS coordinates, the values must be converted. To do this, you need to give the
"PositionFormate" parameter the "LatLon" value and configure the reference points in the
"[Orientation]" section. For each reference point, you must specify a coordinate as
Locating Manager coordinate and its corresponding GPS coordinate. You must specify the
North direction. The closest conversion point is always used for the conversion. Specifying
the height is optional. If you do not specify a height, the value "0" is used. The name of the
reference point is part of the parameter name.
* All telegrams supported by an older version of ExportAVT are also supported in newer ExportAVT versions.
Note
If the content of the "NodeIdent" parameter changes for a device, no new message is sent,
but the corresponding telegram type.
Example:
Telegram from the Locating Manager server:
I1;2020-04-01T10:58:02.155Z
Examples:
Telegram from the Locating Manager server:
S1;2019-06-01T10:32:01.113Z;17:c5:00:00:19:ae;0;0;;11.700;;0
Telegram from the Locating Manager server:
S1;2020-04-01T10:45:50.783Z;17:85:00:00:ff:98;3;8;2;;45;1
Example:
Telegram from the Locating Manager server:
H1;2020-04-01T10:32:01.115Z;17:c5:00:00:19:ae
Examples:
Telegram from the Locating Manager server (device data of a gateway):
N1;2020-04-
01T10:45:50.783Z;17:c5:00:00:19:ae;17:c5:00:00:19:ae;6574;
G01.27;10.1.2.3:1010;A01085;Gateway;3.03;2.50;3.00;GateGroup3;0;;;;;
Telegram from the Locating Manager server (device data of a transponder)
N1;2020-04-
01T10:45:50.783Z;17:85:00:00:ff:98;17:85:00:00:ff:98;65432;
Tff98;;B65432;TAG;;;;Default;4;Text1;Text2;Text3;Text4;Text5
Example:
Telegram from the Locating Manager server:
OP1;2020-04-01T10:34:56.655Z;17:85:00:00:ff:98;31.01;-
8.54;4.72;2020-04-01T10:34:56.255Z
Example
The "SetOutputs1" command for setting output 1 to the value 0 of the "17:85:00:00:ff:98"
device with the "Referrer" value "MyRef42" is sent and successfully processed:
SetOutputs1;2021-05-17T10:54:58.776Z;17:85:00:00:ff:98;MyRef42;1;0
CMD_Ack1;2021-05-
17T10:54:58.776Z;SetOutputs1;17:85:00:00:ff:98;MyRef42
Example:
The "SetOutputs1" command for setting the output 1 to the value 0 of the
"17:85:00:00:ff:98" device with the "Referrer" value "MyRef42" is sent. The device is not
accessible.
SetOutputs1;2021-05-17T10:54:58.776Z;17:85:00:00:ff:98;MyRef42;1;0
Error1;2021-05-
17T10:54:58.776Z;22;SetOutputs1;17:85:00:00:ff:98;MyRef42;
Note
If the device is no longer accessible, e.g. via a heartbeat timeout, the command is rejected or
aborted with error 22 "Device not accessible".
Example:
The "SetOutputs1" command for setting the output 1 to the value 0 of the
"17:85:00:00:ff:98" device with the "Referrer" value "MyRef42" is sent. The device is not
accessible.
SetOutputs1;2021-05-17T10:54:58.776Z;17:85:00:00:ff:98;MyRef42;1;0
Error1;2021-05-
17T10:54:58.776Z;22;SetOutputs1;17:85:00:00:ff:98;MyRef42;
Note
• Note the increased power consumption of battery-operated devices when flashing for a
longer period of time.
• A flash pattern with a "cycle duration" or a "pulse duration" with a value of 0 causes the
device not to flash for the duration. This nevertheless counts as an active flash pattern.
• If the device is no longer accessible, e.g. via a heartbeat timeout, the command is rejected
or aborted with error 22 "Device not accessible".
• At the end of the flashing period, the device terminates the flashing pattern automatically.
Example:
The "LED_Blink1" command for activating the flashing pattern is sent.
Parameters:
• Duration: 10 seconds
• Cycle duration: 200 milliseconds
• Pulse duration: 100 milliseconds
• Force: No
• Device: 17:85:00:00:ff:98
• Referrer: MyRef42
The device is not accessible.
LED_Blink1;2021-05-
17T10:54:58.776Z;17:85:00:00:ff:98;MyRef42;10;200;100;0
Error1;2021-05-
17T10:54:58.776Z;22;LED_Blink1;17:85:00:00:ff:98;MyRef42;
Note
If the device is no longer accessible, e.g. via a heartbeat timeout, the command is rejected or
aborted with error 22 "Device not accessible".
Example:
The "LED_Off1" command to deactivate the LED of the "17:85:00:00:ff:98" device with the
"Referrer" value "MyRef42" is sent. The device is not accessible.
LED_Off1;2021-05-17T10:54:58.776Z;17:85:00:00:ff:98;MyRef42
Error1;2021-05-
17T10:54:58.776Z;22;LED_Off1;17:85:00:00:ff:98;MyRef42
If the Locating Manager has been restarted while a flash pattern is active on a device and it
has been configured that the telegram is sent during the connection establishment, the
"Flash pattern active" parameter is transmitted with the value 1 in this telegram. However,
the "Duration", "Cycle duration" and "Pulse duration" parameters are then transmitted empty.
Example:
The change of the flash pattern of the "17:85:00:00:ff:98" device that these are actively
executed for 10 seconds with a cycle duration of 200 milliseconds and a pulse duration of
100 milliseconds without forcing:
LED_Info1;2021-05-17T10:54:58.776Z;17:85:00:00:ff:98;1;10;200;100
Example:
The change of state of the function buttons of the "17:85:00:00:ff:98" transponder, where
the function button 1 is pressed long (L) and the function button 2 is pressed short (S), is
transmitted:
BtnStates1;2021-05-17T10:54:58.776Z;17:85:00:00:ff:98;L;S
Example:
The battery status of the transponder "17:85:00:00:ff:98", which is in the charging station
(5), is transmitted.
BattState1;2021-05-17T10:54:58.776Z;17:85:00:00:ff:98;5
Example:
The interval is configured to 5 seconds:
KeepAlive1;2021-05-17T10:54:58.776Z;5
Note
If the device is no longer accessible, e.g. due to a "heartbeat timeout", the command is
rejected or aborted with error 22 "Device not accessible".
If the device is in the "via static configuration" operating mode, the command is rejected or
aborted with error 25 "Busy".
Example:
The "SetAMAState1" command to set the AMA state to the value 132 (AMA 4) of the device
"17:85:00:00:ff:98" is sent by the "Referrer" with the value "MyRef42". The device is not
accessible:
SetAMAState1;2021-05-17T10:54:58.776Z;17:85:00:00:ff:98;MyRef42;132
Error1;2021-05-
17T10:54:58.776Z;22;SetAMAState1;17:85:00:00:ff:98;MyRef42;
If GPS coordinates are used, the values must be converted as described in section
""[Orientation]" section of the configuration file (Page 35)".
5.9.1 Overview
General
The communication of the programming interface is done via a WAMP-Router that is a
component of the Locating Manager Server. Establishing a connection from an application to
the Locating Manager Server requires the implementation of a WAMP client on the part of
this application. There is no provision for client-specific parameterization. A connection can
be terminated at any time using the WAMP client application. By default, the port for the
WAMP router is not accessible outside of the PC. A parameter is available in the "Network
configuration" client that you can use to open and close the WAMP router port.
All RPC calls (Remote Procedure Call) received by the programming interface are answered
immediately. This means that there is no need to wait for an acknowledgment of the RPC call
until the data transfer is completed. The completion of the data transmission is confirmed by
an event message provided for this purpose. The various event messages can be found in the
section "Event messages (Page 62)".
The positive acknowledgment of an RPC call does not guarantee or indicate successful
transmission to and display of new display contents on the transponders. This can happen,
for example, when the transponders were switched off during this time or are not within
radio range. Because the commands to be transmitted in the wireless network do not reach
the transponders or reach them incompletely, no event message is generated in this case.
If an RPC call sets a field form to a value that is already set, an event message is sent
immediately. This happens during or very shortly after the RPC call. Event messages are sent
when a situation is reached.
If a field content still to be transmitted is overwritten again before the previous value could
be sent to the transponders, only the value set last is transmitted to the transponders. In this
case, only the writing of the last value is acknowledged by an event message.
The transmission of background images, fonts and theme files is given higher priority and
temporarily interrupts the transmission of text content.
Parameter Description
TransponderID 48-bit ID according to IEEE EUI-48
The network address in decimal notation contains the transponder ID:
• 17:b4:1a:bb:cc:e2 • 180079842
• 17:b4:10:00:00:07 • 7
• 17:b4:11:23:45:67 • 19088743
ThemeID The number of the displayed theme
The value range depends on the type and version of the transponders.
FieldID The number of the text field
The value range depends on the type and version of the transponders.
Text Permitted characters: all printable ASCII characters and German umlauts
Result Sends the return value
Code Description
0x0000 No error was detected.
0x0011 The "TransponderID" parameter is invalid.
0x0012 The "ThemeID" parameter is invalid.
0x0013 The "FieldID" parameter is invalid.
0x0101 The text length is invalid.
0x0102 The text contains invalid characters or the characters are not supported.
URI "agilion.wls.epaper.get_tags"
Parameter None
Return value Consists of:
Result, type: UInt32
URI "agilion.wls.epaper.set_display_theme"
Parameter TransponderID, type: UInt64
ThemeID, type: UInt32
URI "agilion.wls.epaper.get_display_theme"
Parameter TransponderID, type: UInt64
Return value Consists of:
Result, type: UInt32
ThemeID, type: UInt32
General
The event messages and their parameters are described below.
URI "agilion.wls.epaper.display_theme_changed"
Parameter Consists of:
TransponderID, type: UInt64
ThemeID, type: UInt32
URI "agilion.wls.epaper.display_text_changed"
Parameter Consists of:
TransponderID, type: UInt64
FieldID, type: UInt32
Text, type: String
URI "agilion.wls.epaper.button_pressed"
Parameter Consists of:
TransponderID, type: UInt64
ButtonID, type: UInt32
ButtonDown, type: UInt32
The following happens when you briefly press the F1 function key:
Value Description
0 Evaluated as not pressed
OnShortButtonPress = 0
• Function key briefly pressed > Event parameter: ButtonDown = 0
• Function key pressed long (> 2 seconds) > Event parameter:
ButtonDown = 1
• After a short or long press and subsequent heartbeat > Event
parameter: ButtonDown = 0
1 Considered pressed
OnShortButtonPress = 1
• Function key pressed short or long > Event parameter: ButtonDown = 1
• After a short or long press and subsequent heartbeat > Event
parameter: ButtonDown = 0
);
}
console.log("load configuration")
try {
var config = require('./config.json')
} catch (e) {
console.error(e)
process.exit(1);
}
console.log("load autobahn")
try {
var autobahn = require('autobahn')
} catch (e) {
console.error(e)
process.exit(1);
}
console.log("connect to wamp-router", config.wamp.name)
var connection = new autobahn.Connection({
url: config.wamp.url,
realm: config.wamp.realm,
max_retries: 1,
authmethods: ['wampcra'],
authid: config.wamp.user,
onchallenge: function (session, method, extra) {
if (method === "wampcra") {
return autobahn.auth_cra.sign(config.wamp.key,
extra.challenge);
}
}
});
connection.onopen = function (session) {
console.log("connected to wamp-router", config.wamp.name)
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
5.10 BatteryLevelEvents
The "Data Export Service" can support battery level monitoring. In this case, battery level
events are generated for transponders and gateways if you enable this in the
"RTLS_LM_DataExport.ini" configuration file and the transponders send voltage information.
Set the "Active" parameter to "1" to enable the generation of events. For this, create the
section in the "RTLS_LM_DataExport.ini" configuration file if it is not available. If the "Active"
parameter is not configured, "0" is assumed.
If the voltage falls below or exceeds one of the thresholds, an event is generated and
processed via the "Message management" functionality. If the voltage value is close to a
threshold, it is possible that this threshold will be undershot and exceeded several times in
succession. Hysteresis is used to prevent these unnecessary events.
When a threshold is undershot and the voltage value changes from the safe to the critical
range, the event is sent immediately. If the voltage value changes from the critical to the safe
range, it must also exceed hysteresis for the event to be sent. The hysteresis is specified in
percent and can be configured via the "RTLS_LM_DataExport.ini" configuration file.
The "VoltageHysteresisPercentage1" and "VoltageHysteresisPercentage2" parameters specify
the percentage of the voltage that must be exceeded for the event to be sent. You can
disable the hysteresis if you set it to the value "0". If the parameter is not configured, the
value "20" is assumed. For more information about the message code "40002 Battery status",
refer to the documentation of the "Message management" functionality.
Threshold 1 and Threshold 2 have typical default values. You can configure the values in the
"Localization Configuration" client on a device-specific or group basis.