macro_rules! root_endpoint {
($t:ident
$(, acl($($acl_opt:ident),* $(,)?))?
$(, sw_diag($($sw_opt:ident),* $(,)?))?
$(, time_sync($($ts_opt:ident),* $(,)?))?
) => { ... };
}Expand description
Re-export the rs-matter crate
A macro to generate the meta-data for the root endpoint (Endpoint 0).
Net-type token (pick one): sys, eth, wifi, thread — same meaning
as the corresponding tokens on the crate::clusters! macro.
Optional cluster-shape modifiers (in order):
acl(aux)— makes the Access Control cluster advertise the provisionalAUXILIARYfeature andAuxiliaryACLattribute (e.g. for nodes hosting the Groupcast cluster).sw_diag(heap | watermarks | thread, …)— shapes the Software Diagnostics cluster.time_sync(time_zone | ntp_client | ntp_server | time_sync_client, …)— shapes the Time Synchronization cluster.
See the crate::clusters! docs for the token semantics.
The Groups cluster is intentionally not part of any of these presets — it
is not a Root Node device-type cluster and has no defined behavior on the
root endpoint. Add GroupsHandler::CLUSTER to the application endpoint(s)
where group-addressed traffic is actually meaningful.