Skip to content

mx-remote 14.2.0

Choose a tag to compare

@opdenkamp opdenkamp released this 27 Nov 08:42
· 11 commits to master since this release

Port metadata across the mesh, the mesh membership token, overlay previews, and routes made on an output's own unit; in step with mx-remote-rust 14.2.0.

Port metadata (0x57 METADATA, INDEX, REQUEST)

  • set_port_metadata() stores up to 16 key/value fields per port; port_metadata(), port_metadata_store() and restore_port_metadata() read and restore what the mesh holds.
  • As mesh controller this client sends an index of every port's checksum, 1 s after a change and every 45–60 s; members pull what differs and request_port_metadata() pulls one port.
  • MxrCallbacks.on_port_metadata_changed() and on_port_metadata_generation_changed() report what arrives.

Mesh

  • MeshOperationMessage carries a membership token and flags (MeshOperationFlag.PROMOTE_CORRECTIVE), with register_with_token(), promote_controller_with_token() and report_membership_with_token(); Device.mesh_membership_token holds the one a unit reports.
  • CONTROLLER_STATE is no longer sent on announce-only interfaces.

Overlay

  • send_osd_preview() has one unit show a sync without storing it, from an image server of its own; hold_osd_preview(), commit_osd_preview() and revert_osd_preview() steer it, with OsdSyncState.PREVIEWING and REVERTED. The layout is provisional until the firmware confirms it.
  • DeviceBase.osd_message_reported stamps every overlay message report a unit sends.

Routing

  • MxrCallbacks.on_own_route_reported() reports a route made on an output's own unit (MX_ROUTE flag bit 0), every time, after its sources are applied.
  • The announced protocol is now 0x36.

Full Changelog: v13.0.0...v14.2.0