Skip to content

mx-remote 12.0.0

Choose a tag to compare

@opdenkamp opdenkamp released this 03 Nov 21:39
· 35 commits to master since this release

Read a OneIP unit's locale by name, read and change its remote control settings, and refuse tiling windows a unit ignores, in step with mx-remote-rust 12.0.0.

Added

  • rc_settings holds a unit's remote control and CEC settings as an RCSettings, from its own 0x45 report. set_rc_settings() can change one setting: any setting left out, and ip left at KEEP_REPORTED, is sent as the unit last reported it. A unit reports the settings it runs, not the ones it stores, so a setting left out stores what is running.
  • UnitFlag.FIRMWARE_UPGRADE (bit 18): the update service offered the unit a firmware upgrade. UnitFlag.UPGRADE_INSTALLING (bit 19): the unit is writing one to its flash, and its picture is gone until it restarts.
  • OsdCaptionField.DEFAULT_TEXT sends a unit back to its layout's default caption, drawn in its own locale.
  • ONEIP_TILING_X_STEP, ONEIP_TILING_WIDTH_STEP and ONEIP_TILING_MIN.

Changed

  • set_oneip_tiling() refuses, unsent, a window a OneIP output silently ignores. Its values are pixels of the decoded source. A window with a zero width or height shows the whole picture.
  • set_rc_settings() refuses to fill a setting left out from a unit that has not reported its settings yet.

Fixed

  • The locale is read and written by name, such as NL_NL, at byte 248 of the 0x3C settings block, where units send it. A locale write runs to 256 bytes.
  • ONEIP_PREVIEW_PORT is 50024, the port units send their live preview to.
  • The hello cuts the serial and version to 15 bytes and ends each with a zero byte. A unit reads each field up to its first zero byte, so a full 16-byte value ran on into the next field.
  • The docs of route_oneip_unit_with_arc() give the real reason a route to another unit's audio return plays no audio: OneIP firmware has no ARC support.

Breaking

  • oneip_locale returns str|None, and set_oneip_locale() takes a str. It refuses a name that is empty, longer than ONEIP_LOCALE_MAX (8) bytes, or not printable ASCII.
  • ONEIP_LOCALE_UNKNOWN is removed.
  • ONEIP_PREVIEW_PORT changes from 5880 to 50024.

Full Changelog: v11.0.0...v12.0.0