-
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
[nrfconnect] Include GenericSwitch in light-switch example #19848
[nrfconnect] Include GenericSwitch in light-switch example #19848
Conversation
bf762cd
to
66a6a45
Compare
* Directly calling GenericSwitchInitialPress/GenericSwitchReleasePress without Timer * Rename newPosition/previousPosition
* Remove Switch cluster on EP0 * Disabled Groups, Scenes, Binding on EP2 * Named EP2
Thanks @greg-fer. Co-authored-by: Grzegorz Ferenc <41291385+greg-fer@users.noreply.github.com>
66a6a45
to
cd1b9e1
Compare
PR #19848: Size comparison from 29451fb to e039af7 Increases (5 builds for cc13x2_26x2, cyw30739, nrfconnect, telink)
Decreases (4 builds for cc13x2_26x2, nrfconnect)
Full report (44 builds for cc13x2_26x2, cyw30739, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
Thanks for applying the edits, @markus-becker-tridonic-com ! |
PR #19848: Size comparison from 29451fb to c4b4ca0 Increases above 0.2%:
Increases (31 builds for cc13x2_26x2, cyw30739, esp32, k32w, mbed, nrfconnect, p6, telink)
Decreases (1 build for cc13x2_26x2)
Full report (44 builds for cc13x2_26x2, cyw30739, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
…nes (#19881) GenericSwitch only requires ``` ClusterName Client/Server Quality Conformance Identify Server M Switch Server M FixedLabel Server desc ``` according to spec. As requested in #19848 (comment).
Proposals how to fix the misspell error? It's for keepSubscriptions in
which is in a code section. Add to wordlist or has the code section be marked somehow? |
PR #19848: Size comparison from 2d0c529 to a5c6bb1 Increases (4 builds for cc13x2_26x2, nrfconnect, telink)
Decreases (1 build for k32w)
Full report (38 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
It probably is missing backticks, so it thingks it is words. In the quote I seem to see a missing starting backtick |
Problem
In matter there are 2 types of light switch device types:
Up to now only the first type was shown in the light-switch example.
Change overview
This PR adds GenericSwitch for the nrfconnect light-switch sample.
The GenericSwitch has been added on EP 2 and uses button 3.
The code implements a momentary switch with features MS and MSR.
Testing
Tested using chip-tool and DK:
Subscribe to the initial-press and short-release