-
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
Refactor CHIPDevice class to Operational and Commissionee device proxy #10808
Conversation
PR #10808: Size comparison from 0c16976 to 7156bce 14 builds (for efr32, k32w, mbed, p6, qpg, telink)
|
7156bce
to
f46ccb7
Compare
PR #10808: Size comparison from 0c16976 to f46ccb7 8 builds (for k32w, p6, qpg, telink)
6 builds (for efr32, mbed)
12 builds (for esp32, nrfconnect)
|
f46ccb7
to
b91f5f6
Compare
PR #10808: Size comparison from e282eec to b91f5f6 27 builds (for efr32, esp32, k32w, mbed, nrfconnect, p6, qpg, telink)
|
PR #10808: Size comparison from e282eec to 597d90b Increases above 1.0% from e282eec to 597d90b:
8 builds (for k32w, p6, qpg, telink)
|
597d90b
to
b68b331
Compare
PR #10808: Size comparison from 736dc81 to b68b331 17 builds (for efr32, esp32, k32w, mbed, p6, qpg, telink)
10 builds (for nrfconnect)
|
28eda31
to
b6d5c2c
Compare
PR #10808: Size comparison from 5213452 to b6d5c2c 5 builds (for p6, qpg, telink)
|
PR #10808: Size comparison from 5213452 to b6d5c2c Increases (2 builds for efr32, k32w)
Decreases (1 build for efr32)
Full report (7 builds for efr32, k32w)
|
PR #10808: Size comparison from 5213452 to b6d5c2c Full report (4 builds for mbed)
|
PR #10808: Size comparison from 5213452 to b6d5c2c Increases (1 build for esp32)
Full report (12 builds for esp32, nrfconnect)
|
b6d5c2c
to
dd1b21e
Compare
PR #10808: Size comparison from 7b14930 to dd1b21e Increases (3 builds for efr32, esp32, k32w)
Decreases (1 build for efr32)
Full report (28 builds for efr32, esp32, k32w, mbed, nrfconnect, p6, qpg, telink)
|
dd01d08
to
627cc87
Compare
PR #10808: Size comparison from 3948f4f to 627cc87 Increases (4 builds for k32w, qpg, telink)
Full report (8 builds for k32w, p6, qpg, telink)
|
627cc87
to
feb0786
Compare
PR #10808: Size comparison from 149e582 to feb0786 Increases above 0.2%:
Increases (19 builds for esp32, k32w, linux, nrfconnect, qpg, telink)
Decreases (4 builds for linux)
Full report (37 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
Looks like comments have been addressed, nothing pending, and has had > 3 days for review. Tagging fast track. |
/rebase |
2342aa3
to
14408ec
Compare
@pan-apple Build failures :( |
PR #10808: Size comparison from 3f82de1 to 14408ec Increases (14 builds for efr32, k32w, nrfconnect, p6, qpg, telink)
Full report (28 builds for efr32, k32w, mbed, nrfconnect, p6, qpg, telink)
|
I'll take a look at it today. Last CI run was clean, not sure what changed.. |
14408ec
to
df01aa9
Compare
PR #10808: Size comparison from 6b422ee to df01aa9 Increases above 0.2%:
Increases (22 builds for efr32, esp32, k32w, linux, nrfconnect, p6, qpg, telink)
Decreases (4 builds for esp32, linux)
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
df01aa9
to
5a7470b
Compare
5a7470b
to
f042c2c
Compare
PR #10808: Size comparison from 86511a1 to f042c2c Increases (8 builds for efr32, k32w, p6, qpg, telink)
Decreases (1 build for efr32)
Full report (13 builds for efr32, k32w, p6, qpg, telink)
|
PR #10808: Size comparison from 86511a1 to 1eb303e Increases above 0.2%:
Increases (23 builds for efr32, esp32, k32w, linux, nrfconnect, p6, qpg, telink)
Decreases (4 builds for efr32, linux)
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
project-chip#10808) * Refactor CHIPDevice class to Operational and Commissionee device proxy * Remove use of storage and serializable in CommissioneeDeviceProxy * address review comments * fix build errors * Fix build of ameba platform * rebase and fixes * fixes after rebase * fix Linux build
Problem
Change overview
Refactor chip::Device into
Update the controller and cluster code to use the base class, or specialized class based on the use case.
Testing
Ran commissioning tests, and tests to control commissioned devices using all-cluster-app, chip-tool, Python controller, iOS controller, and m5stack.
CI would run existing unit and integration tests to ensure the existing functionality is intact.