/wb-mcu-fw-updater

A command-line tool, updating WirenBoard modbus devices to latest firmwares

Primary LanguagePythonMIT LicenseMIT

wb-mcu-fw-updater

A command-line tool, updating WirenBoard modbus devices to latest firmwares. Versions 1.1.x flash devices via wb-mcu-fw-flasher binary; versions 1.2+ use own implementation of fw-update protocol.

Python packages inside:

  • wb_mcu_fw_updater - downloading firmwares from remote server; flashing firmwares; handling generic update logic.
  • wb_modbus - safe & configurable wrappers around minimalmodbus; common (for Wiren Board devices) modbus bindings.

Debian packages:

  • python2-wb-mcu-fw-updater - python2 library (wb_mcu_fw_updater + wb_modbus)
  • python3-wb-mcu-fw-updater - python3 library (wb_mcu_fw_updater + wb_modbus)
  • wb-mcu-fw-updater - python3-library-dependent binary

External dependencies:

  • for python2-package: python-serial
  • for python3-package: python3-serial

Building:

dpkg-buildpackage -rfakeroot -us -uc

Installation:

The tool is included in the standard software package with the Wiren Board controller and is not supported on other platforms.

Alternatively, for Linux and Windows OS, use the wb-mcu-fw-flasher.