-
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 app test updates #18858
Merged
bzbarsky-apple
merged 12 commits into
project-chip:master
from
jwinder-ca:bridge-app-test-updates
Jun 10, 2022
Merged
Bridge app test updates #18858
bzbarsky-apple
merged 12 commits into
project-chip:master
from
jwinder-ca:bridge-app-test-updates
Jun 10, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added single character commands to the bridge-app to support the bridge test plan. The following commands are supported: 2 (TC-BR-2) Light 2 is added 4 (TC-BR-4) Light 1 is removed 5 (TC-BR-5) Light 1 is added back b (TC-BR-3 step 1b) Present devices are renamed c (TC-BR-3 step 2c) State of Light 1 and Light 2 are changed. Z
… ID. The example/bridge-app was updated to use a non-zero endpoint-ID. The bridge/aggregator is now on endpoint 1. All endpoint IDs show on both endpoint ID 0, and the dynamic deivces added to the bridge show on the bridge endpoint ID 1 as well.
The funcion of the fixed label is replaced by the actions cluster, so the fixed label was removed.
andy31415
approved these changes
May 27, 2022
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
woody-apple
approved these changes
Jun 2, 2022
PR #18858: Size comparison from 3bec7f6 to 0bb582b Increases above 0.2%:
Increases (2 builds for cc13x2_26x2, linux)
Decreases (5 builds for cc13x2_26x2, esp32, linux, nrfconnect)
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
Hi @jwinder-ca I'm kicking CLA bot right now to fix the CLA issue, however there are two real build failures here: |
- removed fixed label support from esp32 bridge-app - added include for identify-server.h - added callbacks for bridged-actions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The bridge-app example was updated to support the bridge test plan and to conform to specification changes.
Change overview
Commands were added to the bridge-app to add, remove, rename, and change the state for dynamic endpoints with a Matter aggregator(bridge).
The aggregator(bridge) was changed to use a non-zero endpoint ID to match the specification.
The bridge-app was changed so that it does not use fixed labels. (A function replaced by Action clusters).
Testing
The changes to the bridge-app were tested by running the chip-bridge-app from a Linux terminal and using chip-tool to examine the parts-list, node labels, and on-off state.
chip-tool pairing ethernet 12344321 20202021 3840 localhost 5540
chip-tool descriptor read parts-list 12344321 0
chip-tool descriptor read parts-list 12344321 1
chip-tool descriptor read parts-list 12344321 1
chip-tool descriptor read parts-list 12344321 1
chip-tool descriptor read parts-list 12344321 1
./out/host/chip-tool bridgeddevicebasic read node-label 12344321 11
chip-tool onoff read on-off 12344321 11
chip-tool onoff read on-off 12344321 11