...
Starting from Firmware 16.XX the beroNet Gateways and Cards have a single XML File file for the functions:
- Backup
- Restore
- Provisioning
In older firmwares the backup constisted consisted of a .tar.gz package of several configuration files. These files are still the same, but encoded into a simple XML file.
This method allows it to handle provsioning provisioning more easy, because a single request provides the whole gateway configuration.
File Format
The File file is structured as follows:
Code Block | ||
---|---|---|
| ||
<?xml version="1.0"?>
<beroNetProvisioning>
<Config>
<Update>[yes|no]</Update>
<File>
<Name>FILENAME</Name>
<Contents>
FILE-CONTENTS
</Contents>
</File>
</Config>
<Firmware>
<Install>[yes|no]</Install>
<Filename>FIRMWARE.[tar.gz|fw]</Filename>
<Url>https://second-provisioning-server.url/ANOTHER-FIRMWARE.[tar.gz|fw]</Url>
</Firmware>
</beroNetProvisioning>
|
...
- <update> - defines if the file should be used in a device that receives it via provisioning.
- <Firmware> - defines a firmware that can be installed and if this firmware should be installed
Please Note:
The <Url> flag in the <Firmware> section is optional and only available since the 21.03 firmware. It offers the possibility to download the firmware to a second webserver using https://second-provisioning-server.url/ANOTHER-FIRMWARE.[tar.gz|fw] as Provisioning-URL. When set, it replaces the <Filename> flag. (HTTP of HTTPS protocol can be used).
All current config-files for the 16.XX firmware are:
...