Document #10-32813 Rev A; June 07, 2019
Page
45
of 69
Figure 37: index.htm token formats
l
Tokens are user-defined strings. The remainder of the record elements are bus dependent as before.
Token Format
HTML files (*.html, *.htm) replace tokens with live data when streaming pages from the micro SD card to the browser.
The format of a token is ${TokenKey}. When the parser encounters a token, it searches for a match. If a match is found,
the token key is replaced with the token value. If a match is not found, the token key is replaced with a question mark.
The parser supports three token key formats and searches them in the following order:
1. If the format is
${CxxIxxMxx}
, then the value is expected to be a member of the RMA PLUS where
Cxx
is the stand-
ard bus Class ID (hexadecimal),
Ixx
is the standard bus Instance ID (hexadecimal), and
Mxx
is the standard bus Mem-
ber ID (hexadecimal) i.e. ${C01I01M01} for the Hardware ID.
2. Next, it searches user-defined tokens from the configuration file defined by the key HTTPs in the setup file.
3. Finally, it searches a hardcoded token table.
Key
Value
EntHostName
Ethernet host name i.e. RMA-<Serial Number>
FileNameEventLog Event log file name / path defined by setup key EventLog
HTTPs hardcoded tokens
Token
Bus Segment Zone Class Instance Member Refresh Count
Example Custom HTTPs Table