Skip to content

Restore the flexibility for the user to inject their own EP0 cluster handlers - #47

Open
ivmarkov wants to merge 4 commits into
masterfrom
extra-flex
Open

Restore the flexibility for the user to inject their own EP0 cluster handlers#47
ivmarkov wants to merge 4 commits into
masterfrom
extra-flex

Conversation

@ivmarkov

@ivmarkov ivmarkov commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Use cases: the user might want to add to the root endpoint some optional system clusters, which however must live on that endpoint exactly. For example:

  • ICD
  • TimeSync (currently mandatory, but i don't see why it should be)
  • Sw diag (ditto)
  • OTA
  • Diag logs
  • labeling
  • power source conf
  • localizations
  • etc. etc.

This is an alternative approach to #46

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

PR #47: Size comparison from 3cede58 to a480fad

Increases above 0.2%:

platform target config section 3cede58 a480fad change % change
light_eth x86_64-unknown-linux-gnu infologs-optz-ltofat FLASH 1945248 1950692 5444 0.3
Full report (2 builds for light, light_eth)
platform target config section 3cede58 a480fad change % change
light x86_64-unknown-linux-gnu infologs-optz-ltofat FLASH 2663728 2666864 3136 0.1
RAM 77480 77488 8 0.0
light_eth x86_64-unknown-linux-gnu infologs-optz-ltofat FLASH 1945248 1950692 5444 0.3
RAM 72464 72472 8 0.0

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

PR #47: Size comparison from 3cede58 to 5477a21

Increases above 0.2%:

platform target config section 3cede58 5477a21 change % change
light x86_64-unknown-linux-gnu infologs-optz-ltofat FLASH 2663728 2677992 14264 0.5
light_eth x86_64-unknown-linux-gnu infologs-optz-ltofat FLASH 1945248 1961124 15876 0.8
Full report (2 builds for light, light_eth)
platform target config section 3cede58 5477a21 change % change
light x86_64-unknown-linux-gnu infologs-optz-ltofat FLASH 2663728 2677992 14264 0.5
RAM 77480 77600 120 0.2
light_eth x86_64-unknown-linux-gnu infologs-optz-ltofat FLASH 1945248 1961124 15876 0.8
RAM 72464 72584 120 0.2

ivmarkov added a commit to project-chip/rs-matter that referenced this pull request Sep 5, 2026
* This PR replaces the bulky `EpClMatcher` with a fn based one that has
a lighter-weight syntax
* Additionally, the PR exposes additional utilities in the `endpoints`
module: `root_handlker` and `*_net_handler`, which would allow
downstream in `rs-matter-stack` to have additional user-provided system
cluster handlers on EP0. See
sysgrok/rs-matter-stack#47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant