-
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
zephyr: Added support for rotating device ID #13411
Conversation
b084c2e
to
30623aa
Compare
PR #13411: Size comparison from c396dfa to 30623aa Increases (14 builds for efr32, esp32, k32w, linux, p6, qpg)
Full report (15 builds for efr32, esp32, k32w, linux, p6, qpg)
|
2fffa2a
to
8963c29
Compare
@kkasperczyk-no - if possible, please prefer incremental separate commits to force-push as it makes review somewhat easier (can see deltas since last review and comments are not overwritten) We squash-merge commits, so the master commit will always be only one. |
PR #13411: Size comparison from 5053f20 to 8963c29 Increases above 0.2%:
Increases (27 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Full report (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
@andy31415 sure I usually do so, but in this case I wanted only to fix building errors and not address review comments yet. Probably I should have turned it into draft until it's ready instead of force pushing few times. |
Zephyr platform doesn't support advertising over Bluetooth LE rotating device ID. * Added kconfig option to enable CHIP_ROTATING_DEVICE_ID support * Changed IncrementLifetimeCounter method scope to be implemented by the ConfigurationManager and not in the local Generic manager scope. * Added setting additional data flag in BLE device identification info if additional data advertising is enabled * Added BLE GATT C3 characteristic and support for reading its attribute * Added generating rotating device ID for BLE GATT C3 characteristic
df01071
to
9ba9b44
Compare
f2c7e0a
to
f74049d
Compare
PR #13411: Size comparison from 19f61eb to f74049d Increases above 0.2%:
Increases (26 builds for efr32, esp32, k32w, linux, nrfconnect, p6, qpg, telink)
Decreases (1 build for efr32)
Full report (27 builds for efr32, esp32, k32w, linux, nrfconnect, p6, qpg, telink)
|
Pushed commit disabling rotating device ID by default, after verifying that CI passed with this feature enabled. |
PR #13411: Size comparison from 19f61eb to 929f6bb Increases above 0.2%:
Increases (29 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Decreases (1 build for qpg)
Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
* zephyr: Added support for rotating device ID Zephyr platform doesn't support advertising over Bluetooth LE rotating device ID. * Added kconfig option to enable CHIP_ROTATING_DEVICE_ID support * Changed IncrementLifetimeCounter method scope to be implemented by the ConfigurationManager and not in the local Generic manager scope. * Added setting additional data flag in BLE device identification info if additional data advertising is enabled * Added BLE GATT C3 characteristic and support for reading its attribute * Added generating rotating device ID for BLE GATT C3 characteristic * Extracted additional data payload files from the setup payload * Disabled rotating device ID support by default
* zephyr: Added support for rotating device ID Zephyr platform doesn't support advertising over Bluetooth LE rotating device ID. * Added kconfig option to enable CHIP_ROTATING_DEVICE_ID support * Changed IncrementLifetimeCounter method scope to be implemented by the ConfigurationManager and not in the local Generic manager scope. * Added setting additional data flag in BLE device identification info if additional data advertising is enabled * Added BLE GATT C3 characteristic and support for reading its attribute * Added generating rotating device ID for BLE GATT C3 characteristic * Extracted additional data payload files from the setup payload * Disabled rotating device ID support by default
Problem
Zephyr platform doesn't support advertising rotating device ID over Bluetooth LE.
Change overview
CHIP_ROTATING_DEVICE_ID
supportIncrementLifetimeCounter
method scope to be implemented by the ConfigurationManager and not in the local Generic manager scope.Testing
It was verified that device advertises additional data flag over Bluetooth LE and allows to read rotating device ID from C3 characteristic