-
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
[app] decouple CASESession from OperationalDevice #12148
Conversation
The number of outbound clients has been made configurable. For device controllers the limit has been also increased to 16. @woody-apple @msandstedt PTAL. |
68995eb
to
bcba7a3
Compare
PR #12148: Size comparison from f111727 to bcba7a3 Increases above 0.2%:
Increases (3 builds for linux)
Decreases (1 build for linux)
Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
bcba7a3
to
9342cd8
Compare
PR #12148: Size comparison from 70af2c4 to 9342cd8 Increases above 0.2%:
Increases (3 builds for linux)
Decreases (1 build for linux)
Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
9342cd8
to
1b09c8c
Compare
PR #12148: Size comparison from bfdbd45 to 1b09c8c Increases above 0.2%:
Increases (3 builds for linux)
Decreases (1 build for linux)
Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
/rebase |
1b09c8c
to
4048ea4
Compare
PR #12148: Size comparison from a1cb341 to 4048ea4 Increases above 0.2%:
Increases (4 builds for esp32, linux)
Decreases (1 build for linux)
Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
4048ea4
to
44a82d1
Compare
44a82d1
to
baef6d6
Compare
PR #12148: Size comparison from 5c70530 to baef6d6 Increases above 0.2%:
Increases (4 builds for esp32, linux)
Decreases (1 build for linux)
Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
@msandstedt PTAL |
Problem
There is an
CASESession
object in eachOperationalDevice
. TheCASESession
object is large and won't be used after authentication. For device-to-device communication such as binding, the object size will be a concern.Change overview
This change decouples
CASESession
fromOperationalDevice
. Now the device will dynamically allocate from a session pool and release it after being authenticated.Testing
Tested with
chip-tool pairing
andchip-tool onoff toggle