Repository navigation
mx-remote 12.0.0
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_settingsholds a unit's remote control and CEC settings as anRCSettings, from its own 0x45 report.set_rc_settings()can change one setting: any setting left out, andipleft atKEEP_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_TEXTsends a unit back to its layout's default caption, drawn in its own locale.ONEIP_TILING_X_STEP,ONEIP_TILING_WIDTH_STEPandONEIP_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_PORTis 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_localereturnsstr|None, andset_oneip_locale()takes astr. It refuses a name that is empty, longer thanONEIP_LOCALE_MAX(8) bytes, or not printable ASCII.ONEIP_LOCALE_UNKNOWNis removed.ONEIP_PREVIEW_PORTchanges from 5880 to 50024.
Full Changelog: v11.0.0...v12.0.0