Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Файлы обновления прошивки и файлы резервных настроек имеют один и тот же формат самораспаковывающегося архива, поэтому для их установки в системе используются одни и те же процедуры.

Table of Contents

Установка обновлений firmware или файлов резервных настроек

Кроме установки фабричной прошивки  при помощи штатного загрузчика процессора, в системе возможна установка обновлений firmware или файлов резервных настроек следующими способами:

  1. С USB Flash носителя, при его подключении к порту USB устройства. При этом срабатывает скрипт обновления, и при наличии в корневой директории файла прошивки с предопределенным именем (...), этот файл устанавливается в системе;
  2. По HTTP, при этом загрузка файла прошивки в устройство с последующим автоматическим обновлением производится путем передачи формы методом POST скрипту upload-firmware.htm. Данные файла прошивки должны передаваться в поле Filedata формы, ключ текущей сессии соответственно передается в поле k
  3. По FTP, при этом адрес ftp сервера задается в поле ftp общих настроек. А вызов upgrade запускает скрипт обновления по ftp c сервера в соответствие с общими системными настройками.

Восстановление заводских настроек

Восстановление заводских настроек возможно программно при помощи вызова:

  • recovery - запуск скрипта восстановления настроек, по умолчанию сбрасывает настройки датчиков, также доступна передача параметров:
    • param - параметры, возможные значения:
      • all - восстанавливает заводские настройки;



Table of Contents

Firmware update files and backup files have the same format as the self-extracting archive, so for thir installation, the system uses same procedures.

Installing firmware updates or backup files

In addition to installing the factory firmware with a regular processor loader, the system can install firmware updates or backup files in the following ways:

  1. From USB flash media, when it is connected to the USB port of the device. In this case, the update script runs, and if there is a firmware file with a predefined name (...) in the root directory, this file is installed in the system;
  2. By HTTP, by downloading the firmware file to the device and then automatically updating it by submitting the form using the POST method to the upload-firmware.htm script. The data of the firmware file must be transferred to the field of the Filedata form, the key of the current session is accordingly transmitted to the field k.
  3. By FTP, where FTP server's address is set in the ftp field general settings. And the upgrade call runs the update script on the ftp server from the server in accordance with the general system settings.

Restore factory settings

The factory settings can be restored programmatically by calling:

  • recovery - the start of the restore configuration script; by default resets the sensor settings; parameters transfer is also available:
    • param - parameters, possible values:
      • all - restores the factory settings;