Repository navigation
mx-remote 13.0.0
Dedicated mesh controllers, taking an overlay sync as a unit, lost-settings reporting, and confinement to the selected interface; in step with mx-remote-rust 13.0.0.
Dedicated controllers (0x58 CONTROLLER_STATE)
- A device sending a
CONTROLLER_STATEhello is marked as a dedicated controller:DeviceBase.controller_hello,dedicated_controller, andMxrCallbacks.on_controller_hello_changed(). Remote(dedicated_controller=True)sends one after its hello, at most every 10 s;set_controller_role()sets role and primary.set_controller_parts()serves the parts of its state;pull_controller_part()pulls another's, in 8192-byte windows of 1024-byte frames, arriving aton_controller_part_received()or ending aton_controller_part_failed().allow_controller_state()admits a controller from outside the mesh.- The announced protocol is now 0x34.
Mesh
request_mesh_bays(),mesh_bays()andsend_mesh_bays(): a controller's numbering (0x57 kind 4/5), withon_mesh_bays_requested()andon_mesh_bays_received().set_member_setup_completed()marks one member's setup (0x57 kind 9);set_setup_completed()sets this client's ownSETUP_COMPLETED.- Lost settings:
MeshConfigDigest.lost,MeshConfig.lost,Device.mesh_membership_lost, andBayStatusMask.SETTINGS_LOST, while which a bay keeps its name and hidden flag. send_unit_status()reports this client's own unit status (0x4F).
Overlay sync as a unit
Remote(osd_sync=True)announcesOSD_SYNC;request_osd_sync(),request_osd_settings()andsend_osd_report()take a sync the way a unit does.keep_osd_sync()holds content without sending it;OsdSync.logo_url()andOsdSyncSetting.entryhelp serve what was taken.
Network
- On Linux, with
local_ipgiven, only datagrams arriving on that interface are taken, and an address no interface holds fails to start. - The overlay logo server listens on
local_ipalone, moving with it. announce_interfaces/set_announce_interfaces()announce the hellos on further interfaces, leaving outMANAGER,MESH_MASTERandOSD_SYNC, and take nothing in there.- A peer counts towards this client's multicast fault only after a 60 s grace.
Full Changelog: v12.1.0...v13.0.0