in the following four steps:
• control commands are executed and config values are stored in the configuration
memory
• the firmware is updated if the value of the keyword FW_URL is pointing to a
valid firmware file (compound.bin) and the value of the keyword FW_VERSION
differs (smaller or bigger) from the currently running firmware version
• the version of the executed “Configuration Meta File” is stored in the EEPROM
field “Remote Update File Version”
• device restarts if necessary (configuration has been altered, firmware has been
changed or the c=99 command has been issued)
IMPORTANT: If the firmware update fails the version of the executed
“Configuration Meta File” is not stored. As a consequence the
For a detailed specification of the configuration meta file grammar see section
Configuration Meta File Grammar further below.
Update file request
The update meta file is requested via HTTP from the configured URL. The following
device information is sent in the HTTP header to the server:
Parameter Description
MAC MAC address of the device in format “aa:aa:aa:aa:aa:aa”.
All letters are small, individual octets are separated with colon.
mem-size Device's flash memory size in kB, followed by the two letters “kB”
hw-type Device hardware type code in decimal
ipam-type Device IPAM type code in decimal
Example:
Example of HTTP headers sent in remote update file request
Pragma: MAC=00:08:e1:00:01:02
Pragma: mem-size=1024kB
Pragma: hw-type=14
Pragma: ipam-type=0
File “update.ini”
The file update.ini is a text file containing lines with the following syntax:
<descriptor>,<address>[,<size>]
Where:
• <descriptor> is a textual descriptor of a configuration value
• <address> is a dynamic name of a configuration value (see chapter for
details).
For passwords, use Px and Px.1 (see chapter 4.4 Configuration via HTML Pages )
• <size> is an optional parameter used only for strings. It defines the length of the
string in the setup memory.
IMPORTANT: The terminating end-of-line in the file is mandatory for proper
function of the remote update.
BARIX AG | 49/63
Comentarios a estos manuales