-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bridge #21975
Bridge #21975
Conversation
Cluster definitions are automatically generated from the IDL and devices automatically route read/writes to the appropriate cluster. Writes can be intercepted on a per-cluster basis to talk to whatever bridged backend there is.
scripts/idl/tests/outputs/cluster_struct_attribute/cpp/BridgeClustersImpl.h
Outdated
Show resolved
Hide resolved
PR #21975: Size comparison from 1939019 to 035b8a5 Increases above 0.2%:
Increases (4 builds for cc13x2_26x2, linux, nrfconnect)
Decreases (4 builds for bl602, cc13x2_26x2, linux, telink)
Full report (40 builds for bl602, cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
Updates userinput backend to run commands on matter thread
PR #21975: Size comparison from f68b948 to f35521b Increases above 0.2%:
Increases (1 build for linux)
Decreases (4 builds for cc13x2_26x2, cyw30739, linux, psoc6)
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, telink)
|
PR #21975: Size comparison from 383c416 to e362714 Increases above 0.2%:
Increases (6 builds for cc13x2_26x2, linux, psoc6, telink)
Decreases (5 builds for bl602, cc13x2_26x2, esp32, linux, qpg)
Full report (46 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
As per our conversation, here're the four things we should fix to make this more re-usable and integratable into the broader SDK in the near future, since I think there are a number of concepts here worth leveraging going forward:
To do that, we might need to add a new file similar to
As well as containing the metadata information. This then makes it easy to track the attributes in a list, as well as dynamically create the metadata table from this very information.
|
PR #21975: Size comparison from d520402 to 68d79a1 Increases (9 builds for bl602, bl702, cc13x2_26x2, psoc6)
Decreases (11 builds for bl602, bl702, cc13x2_26x2, psoc6, telink)
Full report (32 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, k32w, linux, psoc6, qpg, telink)
|
PR #21975: Size comparison from 2a1f9ef to b935207 Increases above 0.2%:
Increases (4 builds for bl702, k32w)
Decreases (3 builds for bl702, k32w)
Full report (9 builds for bl702, k32w, linux, mbed, nrfconnect)
|
PR #21975: Size comparison from 2a1f9ef to c98d9d4 Increases above 0.2%:
Increases (19 builds for bl702, cc13x2_26x2, cyw30739, esp32, k32w, linux, nrfconnect, psoc6, telink)
Decreases (13 builds for bl602, cc13x2_26x2, k32w, psoc6, qpg, telink)
Full report (37 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
Cluster definitions are automatically generated from the IDL and
devices automatically route read/writes to the appropriate cluster.
Writes can be intercepted on a per-cluster basis to talk to whatever
bridged backend there is.
Bridge includes an interactive CLI to modify and inspect bridge state
b/225921621
Testing
Manual testing with chip-tool on linux.
Add device to bridge via CLI
new-device switch
finish-device
Then read the newly added switch device's attributes
Then change attribute via set and read new value