Skip to content

mx-remote 14.4.0

Choose a tag to compare

@opdenkamp opdenkamp released this 27 Nov 13:38
· 7 commits to master since this release

Driving a mesh through a OneIP controller's driver proxy, and remote-control keys over mx_remote; in step with mx-remote-rust 14.4.0.

Driver proxy

  • A hello and a PROXY ANNOUNCE (0x59) under one uid mark a OneIP controller's driver proxy: DeviceBase.proxy_controller, MxrCallbacks.on_proxy_found() and on_proxy_controller_changed(). It counts as configured with no bays, and the mark lapses 30 s after the last ANNOUNCE.
  • Remote(proxy=ProxyConfig(controller, key, uplink_uid)) joins the proxy with its driver key and drives the mesh behind it by unicast on UDP 8813, every frame sealed with AES-256-GCM. No multicast or broadcast goes on the uplink. Needs the new mx_remote[proxy] extra.
  • The join proves the key both ways. The client joins again by itself after a refusal (10, 20, 40, then 60 s), a controller restart or a lapsed lease, and follows the controller to a new address once the key is proven there. on_proxy_join_status() reports each answer; Remote.proxy holds the session, including the controller's mesh_uid.
  • Behind a controller, every unit's Device.address is the controller's. Overlay syncs and previews, Device.get_api() and Device.get_log() are refused, since the proxy carries no HTTP.

Remote control

  • Bay.send_key() sends 0x0C TX_RC_KEY to the unit rather than calling its web API, so keys pass a driver proxy too.

Full Changelog: v14.2.0...v14.4.0