Skip to content

mx-remote 12.1.0

Choose a tag to compare

@opdenkamp opdenkamp released this 05 Nov 08:58
· 32 commits to master since this release

Replace an offline unit of a mesh, and read and send the settings each unit keeps for its mesh, in step with mx-remote-rust 12.1.0.

Added

  • Replacing a mesh unit (0x56, units on protocol 0x32 and up):
    • Remote.query_mesh_replaceable() asks every device which offline units this client can replace, at most every 2 s.
    • Remote.mesh_replaceable lists the units offered in the last 30 s, each once, with the device that listed it.
    • Remote.request_mesh_replace() asks that device to replace one with this client. It is refused before sending where a unit would refuse it: the unit was not listed in the last 30 s, this client is in a mesh or has a default serial, or the unit has a OneIP source, OneIP sink or multiviewer feature this client lacks.
    • As a controller, send_mesh_replaceable() and send_mesh_replace_result() answer such a unit.
  • Kept settings (0x57, units on protocol 0x33 and up):
    • device.mesh_config_digest is the length and crc32 a unit announces of its own kept settings.
    • Remote.request_mesh_config() asks a device for a unit's settings, and Remote.mesh_config() reads them once every frame has arrived in order and the crc32 matches.
    • send_mesh_config_hello(), send_mesh_config() and send_mesh_config_set() send this client's own settings, an answer to a request, or settings a member is to take.
  • New types: MeshReplaceUnit, MeshReplaceUnits, MeshReplaceable, MeshReplaceResult, MeshSetting, MeshConfigDigest and MeshConfig. New limits: MESH_REPLACE_UNITS_MAX, MESH_REPLACE_NAME_MAX and MESH_CONFIG_MAX.
  • New callbacks on MxrCallbacks: on_mesh_replace_queried, on_mesh_replace_units_received, on_mesh_replace_requested, on_mesh_replace_answered, on_mesh_config_requested, on_mesh_config_received and on_mesh_config_set_requested.

Changed

  • The hello announces protocol version 0x33, the version units stamp on 0x57.

Fixed

  • Every frame from opcode 0x00 to 0x57 keeps its sender alive and proves its network path, as a unit treats it. That includes an application's 0x55 message, which was treated as past the opcode table.

Full Changelog: v12.0.0...v12.1.0