12.07.2015 Views

Technical Documentation - Barix

Technical Documentation - Barix

Technical Documentation - Barix

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

9 Remote Configuration and Update interfacePlease note that the Remote Firmware Update is supported only on devices with 2MB Flashmemory.Remote Configuration Update as well as Remote Command Execution can be performed ondevices with 1MB as well as 2MB Flash memory.9.1 Configuration parametersUpdate URLFor remote configuration and update the configuration field “Update URL” can be used to pointto the web server (http) containing the “Configuration Meta File”. Only the HTTP protocol issupported, including all its options and the possibility of using HTTP Proxy.Remote Update PeriodThe URL provided is checked and processed periodically. The frequency of checking theconfiguration meta file can be set in the configuration field “Remote Update Period” in minutes.9.2 Configuration Meta FileWhen the “Configuration Meta File” is loaded, it's version of is checked against the “RemoteUpdate File Version” stored in the EEPROM.The “Configuration Meta File” is only parsed (executed) if the version is higher.The “Configuration Meta File” can contain three different types of assignments: keywords,control commands and config values.KeywordsID Type DescriptionVERSIONFW_VERSIONFW_URL16bit unsigned decimalnumber16bit unsigned hexadecimalnumberURL string with maximumlength of 99 charactersMeta file versionVersion of the firmware fileURL of the firmware .bin fileControl CommandsControl commands are described in chapter 3.2 CGI command interface.There must be only one command per line, no command concatenation is supported.Commands are executed in the same order as they appear in the file.Config valuesConfig values are textual descriptors of places in the configuration memory. Config valuenames are looked up in the update.ini file (described in the next section, see chapter 4.1 UserInterface Development Kit on how to upload this file).Execution procedureOnce the version is checked to be higher the “Configuration Meta File” is processed in thefollowing 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 firmwarefile (compound.bin) and the value of the keyword FW_VERSION differs (smaller or bigger)BARIX AG | 44/58

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!