-
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
Marshal the data from BasicInformationCluster to FabricBridge #34854
Marshal the data from BasicInformationCluster to FabricBridge #34854
Conversation
…ove nonsense comments
…orks (fixed memory leak on remove device)
PR #34854: Size comparison from e8186eb to b0c3ffd Full report (84 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
examples/fabric-admin/commands/pairing/DeviceSynchronization.cpp
Outdated
Show resolved
Hide resolved
PR #34854: Size comparison from b58a70e to dc75ac5 Full report (84 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
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, just one nit comment to validate an assumption or crash
examples/fabric-admin/commands/pairing/DeviceSynchronization.cpp
Outdated
Show resolved
Hide resolved
examples/fabric-admin/commands/pairing/DeviceSynchronization.cpp
Outdated
Show resolved
Hide resolved
PR #34854: Size comparison from b58a70e to 46b75f2 Full report (10 builds for cc32xx, nrfconnect, qpg, stm32, tizen)
|
PR #34854: Size comparison from b58a70e to 4ae53d0 Full report (84 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Merging to be able to rebase the other PR. Linux standalone compile finished and that is the only bit touching this code at the moment. |
…t-chip#34854) * Add extra attributes to the bridged device basic info structures, remove nonsense comments * Make use of AAI for BridgedDeviceBasicInformation cluster * Restyled by gn * Fix sizes for software version * Update the synchronized device proto to have more data in it * Switch to unique ptr in the registry, making sure memory management works (fixed memory leak on remove device) * Use more std::optional * Bump revision to 4 * Forward attributes from the create call into the bridged device * Make attribute mapping actually work * Restyle * Ensure unique IDs are generated * Restyle * Increase size to 33 to allow for a null terminator * make sure that the rpc structures are initialized * Restyle * Add some fake data to test moving the data around * Remove unused members that were likely just copied over * make the attributes optional * Prepare some device sync data - reading the basic info cluster * Prepare some device sync data - reading the basic info cluster * Full implementation of forwarding data * Restyle * Add missing file * Restyle * reset readclient, since this may reset the exchange manager ... seems cleaner * Add the verifyOrDie * Restyled by clang-format * Fix string size for HW and software versions * Remove some of the spammier logs * Enfore RPC enabling for synchronized device addition * Add device sync in progress tracking * Undo submodule update * Fix up device sync progress tracking to better handle errors * Restyled by clang-format --------- Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: Andrei Litvin <andreilitvin@google.com>
This builds on #34851 adds the flow of: