Skip to content
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

Increment lifetime counter on advertisement #13598

Merged
merged 78 commits into from
Jan 20, 2022

Conversation

hnnajh
Copy link
Collaborator

@hnnajh hnnajh commented Jan 14, 2022

Problem

The LifeTimeCounter was not following the specs, as it is not incrementing for every advertisement (BLE/MDNS)

The lifetime counter SHALL be an integer at least 16 bits in size, incremented upon each
commencement of advertising, and wrapping when the maximum value is reached.

Change overview

Incremented the lifetime counter on every advertisement

Testing

Used chip-shell to check if the lifetime counter will be increment on each advertisement (e.g. ble adv start)

hnnajh and others added 30 commits November 25, 2020 08:02
#### Problem

Some conversions to use PacketBufferHandle (project-chip#3909) broke Darwin builds,
which aren't currently run in CI.

#### Summary of Changes

Fix src/platform/Darwin/BleConnectionDelegateImpl.mm to match the API
change in project-chip#3909.
* New seekbar in Android CHIPTool
* Sample usage in lighting-app/nrfconnect

Signed-off-by: Markus Becker <[email protected]>
PR project-chip#3704 introduced a change that the BLE transport in
RendezvousSession is only initialized when PeerAddress
in RendezvousParams is of type BLE. However, PeerAddress
isn't initialized anywhere. As a result Rendezvous over BLE
stopped working between Android CHIPTool and accessories.

Btw, remove an assert related to the storage delegate
as it seems an optional member of the device controller.
* Fix data loss or crash in TCPEndPoint with LwIP

#### Problem

Under the configuration CHIP_SYSTEM_CONFIG_USE_LWIP, in some cases where
the data size exceeds the TCP window size, TCPEndPoint can either die or
lose data when accounting of un-acked data falls out of sync.

#### Summary of Changes

Imported fix from Weave:

* This change removes separate accounting of the unsent
  data position and replaces it with simple counting of
  sent-but-not-acked data and a skip-loop at the start
  of DriveSending().

Fixes project-chip#4013 - Data loss or crash in TCPEndPoint with LwIP

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
…#3966)

mDNS doesn't build with no device layer. Remove it from the build and
add back the coverage that would catch this that was lost in project-chip#3340.
Looking to remove usage of 'Utils' unless we have really no choice.
'UnitTestRegistration' seems clearer in what it does compared to
'TestUtils'.
* Cleanup zap chip-helper.js

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
…#3999)

* Move src/transport/tests to auto-test-driver generation

* Add relevant libraries (and more test-capable libs) to nrf.

* Refactor inet test helpers (to not include actual inet tests), try to make qemu allow better linkage but still failed for transport tests so disabled for now

* Added more tests on esp32 qemu

* Restyle fixes

* Fix cast errors in InetCommon

* Disable raw tests from zephyr: somehow they fail running out of endpoints

* Disable DNS test on zephyr

* Remove inet endpoint test from zephyr

* Remove inet endpoint test from zephyr - fix again

* Modify gitignore

* Restyle fixes
…ject-chip#4017)

* Implement the missing part of Exchange Header in Transport layer

* Revert comment 'if' back to 'iff'("if and only if")
project-chip#3994)

* Remove duplicated send flag defines and put ExchangeMgr/ExchangeContext under the same namespace as CRMP

* Rename kSendFlag_Default to kSendFlag_None
…ion (project-chip#3998)

* Move src/lib/asn1/tests and src/ble/tests to auto-test-driver generation

* Remove one more unused file

* Attempt to enable asn1 and ble tests in esp32 - see if they pass or not

* Fix merge error

* Update include header for ASN1 test

* Include  ASN1 in libCHIP
* Some conversions to use PacketBufferHandle

#### Problem

Code should use `PacketBufferHandle` rather than `PacketBuffer *`.

#### Summary of Changes

- Converts remaining receive path in //src/inet and //src/transport.
- Converts most of //src/ble.
- Introduces Handle versions of the `AddToEnd`/`DetachTail` pair.

Part of issue project-chip#2707 - Figure out a way to express PacketBuffer ownership in the type system

* Restyled by clang-format

* review

* revive BtpEngine::Clear[TR]xPacket()
* simplify conditional
* (void) message.DetachTail() → message.FreeHead()
* remove ExchangeContext::kSendFlag_RetainBuffer
* missed pBuf.IsNull()
* DetachHead() → PopTail()
* typos

Co-authored-by: Restyled.io <[email protected]>
* Move src/system/tests to auto-test-driver generation

* Remove a TCP/IP init call that was killing qemu
The "all" target exists implicitly and contains everything. We don't
need to specify one, and it's misleading to do so specifying deps has no
effect.
@github-actions
Copy link

github-actions bot commented Jan 14, 2022

PR #13598: Size comparison from 69e1438 to 4eb280e

Increases (29 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 69e1438 4eb280e change % change
efr32 lighting-app BRD4161A (read only) 834852 834924 72 0.0
.text 834844 834916 72 0.0
BRD4161A+rpc (read only) 822248 822296 48 0.0
.text 822240 822288 48 0.0
window-app BRD4161A (read only) 805440 805480 40 0.0
.text 805432 805472 40 0.0
esp32 all-clusters-app c3devkit (read only) 912114 912198 84 0.0
(read/write) 1316682 1316690 8 0.0
.flash.rodata 178384 178392 8 0.0
.flash.text 912114 912198 84 0.0
m5stack (read only) 960895 960951 56 0.0
.flash.text 955511 955567 56 0.0
k32w light k32w061+release (read/write) 657920 658004 84 0.0
.text 573132 573216 84 0.0
lock k32w061+release (read/write) 661796 661896 100 0.0
.text 576692 576792 100 0.0
linux chip-tool-ipv6only arm64 (read only) 8042132 8042244 112 0.0
(read/write) 370641 370657 16 0.0
.data.rel.ro 245856 245864 8 0.0
.text 6833716 6833796 80 0.0
thermostat-no-ble arm64 (read only) 2042140 2042236 96 0.0
(read/write) 145969 145985 16 0.0
.data.rel.ro 73016 73024 8 0.0
.text 1697664 1697744 80 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2349920 2349984 64 0.0
.text 1312496 1312560 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2334504 2334568 64 0.0
.text 1297104 1297168 64 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2304848 2304920 72 0.0
.text 1267448 1267520 72 0.0
shell CY8CPROTO_062_4343W+release (read/write) 2054464 2054472 8 0.0
.text 1017064 1017072 8 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 943419 943487 68 0.0
rodata 108824 108828 4 0.0
text 637380 637456 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 928883 928967 84 0.0
rodata 101272 101276 4 0.0
text 632776 632852 76 0.0
nrf52840dongle_nrf52840 (read/write) 994095 994163 68 0.0
rodata 113576 113580 4 0.0
text 669580 669656 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853242 853326 84 0.0
rodata 101996 102000 4 0.0
text 554308 554380 72 0.0
lock-app nrf52840dk_nrf52840 (read/write) 912763 912847 84 0.0
rodata 103792 103796 4 0.0
text 612828 612904 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822846 822914 68 0.0
rodata 97016 97020 4 0.0
text 529792 529864 72 0.0
pump-app nrf52840dk_nrf52840 (read/write) 915627 915711 84 0.0
rodata 104152 104156 4 0.0
text 615484 615560 76 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910715 910799 84 0.0
rodata 103264 103268 4 0.0
text 611408 611484 76 0.0
shell nrf52840dk_nrf52840 (read/write) 798655 798675 20 0.0
rodata 78388 78392 4 0.0
text 533992 534012 20 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711470 711490 20 0.0
rodata 72688 72692 4 0.0
text 451668 451692 24 0.0
p6 all-clusters-app default (read/write) 2404400 2404448 48 0.0
.text 1362664 1362712 48 0.0
light-app default (read/write) 2329704 2329752 48 0.0
.text 1287968 1288016 48 0.0
lock-app default (read/write) 2298728 2298776 48 0.0
.text 1256992 1257040 48 0.0
qpg lighting-app qpg6105+debug (read only) 563984 564068 84 0.0
.text 558664 558748 84 0.0
lock-app qpg6105+debug (read only) 515484 515568 84 0.0
.text 510164 510248 84 0.0
telink lighting-app tlsr9518adk80d (read/write) 840786 840870 84 0.0
text 587756 587830 74 0.0
Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 69e1438 4eb280e change % change
efr32 lighting-app BRD4161A (read only) 834852 834924 72 0.0
(read/write) 127628 127628 0 0.0
.bss 125744 125744 0 0.0
.data 1884 1884 0 0.0
.text 834844 834916 72 0.0
BRD4161A+rpc (read only) 822248 822296 48 0.0
(read/write) 144288 144288 0 0.0
.bss 142304 142304 0 0.0
.data 1984 1984 0 0.0
.text 822240 822288 48 0.0
window-app BRD4161A (read only) 805440 805480 40 0.0
(read/write) 126320 126320 0 0.0
.bss 124480 124480 0 0.0
.data 1836 1836 0 0.0
.text 805432 805472 40 0.0
esp32 all-clusters-app c3devkit (read only) 912114 912198 84 0.0
(read/write) 1316682 1316690 8 0.0
.dram0.bss 70520 70520 0 0.0
.dram0.data 14284 14284 0 0.0
.flash.rodata 178384 178392 8 0.0
.flash.text 912114 912198 84 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 960895 960951 56 0.0
(read/write) 448840 448840 0 0.0
.dram0.bss 74976 74976 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 207672 207672 0 0.0
.flash.text 955511 955567 56 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 657920 658004 84 0.0
.bss 77136 77136 0 0.0
.data 1852 1852 0 0.0
.text 573132 573216 84 0.0
lock k32w061+release (read/write) 661796 661896 100 0.0
.bss 77432 77432 0 0.0
.data 1872 1872 0 0.0
.text 576692 576792 100 0.0
linux chip-tool-ipv6only arm64 (read only) 8042132 8042244 112 0.0
(read/write) 370641 370657 16 0.0
.bss 55217 55217 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 245856 245864 8 0.0
.dynamic 560 560 0 0.0
.got 64776 64776 0 0.0
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 419420 419420 0 0.0
.text 6833716 6833796 80 0.0
thermostat-no-ble arm64 (read only) 2042140 2042236 96 0.0
(read/write) 145969 145985 16 0.0
.bss 65089 65089 0 0.0
.data 880 880 0 0.0
.data.rel.ro 73016 73024 8 0.0
.dynamic 560 560 0 0.0
.got 4048 4048 0 0.0
.init 24 24 0 0.0
.init_array 304 304 0 0.0
.rodata 129884 129884 0 0.0
.text 1697664 1697744 80 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2349920 2349984 64 0.0
.bss 189220 189220 0 0.0
.data 5320 5320 0 0.0
.text 1312496 1312560 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2334504 2334568 64 0.0
.bss 180760 180760 0 0.0
.data 5568 5568 0 0.0
.text 1297104 1297168 64 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304848 2304920 72 0.0
.bss 179768 179768 0 0.0
.data 5544 5544 0 0.0
.text 1267448 1267520 72 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054464 2054472 8 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1017064 1017072 8 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 943419 943487 68 0.0
bss 119628 119628 0 0.0
rodata 108824 108828 4 0.0
text 637380 637456 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 928883 928967 84 0.0
bss 116672 116672 0 0.0
rodata 101272 101276 4 0.0
text 632776 632852 76 0.0
nrf52840dongle_nrf52840 (read/write) 994095 994163 68 0.0
bss 122472 122472 0 0.0
rodata 113576 113580 4 0.0
text 669580 669656 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853242 853326 84 0.0
bss 116416 116416 0 0.0
rodata 101996 102000 4 0.0
text 554308 554380 72 0.0
lock-app nrf52840dk_nrf52840 (read/write) 912763 912847 84 0.0
bss 118784 118784 0 0.0
rodata 103792 103796 4 0.0
text 612828 612904 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822846 822914 68 0.0
bss 115600 115600 0 0.0
rodata 97016 97020 4 0.0
text 529792 529864 72 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541835 541835 0 0.0
bss 52588 52588 0 0.0
rodata 50104 50104 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 915627 915711 84 0.0
bss 118548 118548 0 0.0
rodata 104152 104156 4 0.0
text 615484 615560 76 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910715 910799 84 0.0
bss 118572 118572 0 0.0
rodata 103264 103268 4 0.0
text 611408 611484 76 0.0
shell nrf52840dk_nrf52840 (read/write) 798655 798675 20 0.0
bss 109776 109776 0 0.0
rodata 78388 78392 4 0.0
text 533992 534012 20 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711470 711490 20 0.0
bss 107664 107664 0 0.0
rodata 72688 72692 4 0.0
text 451668 451692 24 0.0
p6 all-clusters-app default (read/write) 2404400 2404448 48 0.0
.bss 117492 117492 0 0.0
.data 2600 2600 0 0.0
.text 1362664 1362712 48 0.0
light-app default (read/write) 2329704 2329752 48 0.0
.bss 106064 106064 0 0.0
.data 2392 2392 0 0.0
.text 1287968 1288016 48 0.0
lock-app default (read/write) 2298728 2298776 48 0.0
.bss 104920 104920 0 0.0
.data 2344 2344 0 0.0
.text 1256992 1257040 48 0.0
qpg lighting-app qpg6105+debug (read only) 563984 564068 84 0.0
(read/write) 146940 146940 0 0.0
.bss 89960 89960 0 0.0
.data 1048 1048 0 0.0
.text 558664 558748 84 0.0
lock-app qpg6105+debug (read only) 515484 515568 84 0.0
(read/write) 146936 146936 0 0.0
.bss 88584 88584 0 0.0
.data 972 972 0 0.0
.text 510164 510248 84 0.0
persistent-storage-app qpg6105+debug (read only) 106848 106848 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38512 38512 0 0.0
.data 288 288 0 0.0
.text 101528 101528 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 840786 840870 84 0.0
bss 87316 87316 0 0.0
noinit 37160 37160 0 0.0
text 587756 587830 74 0.0

Copy link
Contributor

@andy31415 andy31415 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update naming so that code is obvious/easy to read.

Copy link
Contributor

@LuDuda LuDuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

Could you please remove these lines?

@github-actions
Copy link

github-actions bot commented Jan 15, 2022

PR #13598: Size comparison from 69e1438 to afd57d2

Increases (29 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 69e1438 afd57d2 change % change
efr32 lighting-app BRD4161A (read only) 834852 834924 72 0.0
.text 834844 834916 72 0.0
BRD4161A+rpc (read only) 822248 822296 48 0.0
.text 822240 822288 48 0.0
window-app BRD4161A (read only) 805440 805480 40 0.0
.text 805432 805472 40 0.0
esp32 all-clusters-app c3devkit (read only) 912114 912198 84 0.0
(read/write) 1316682 1316690 8 0.0
.flash.rodata 178384 178392 8 0.0
.flash.text 912114 912198 84 0.0
m5stack (read only) 960895 960951 56 0.0
.flash.text 955511 955567 56 0.0
k32w light k32w061+release (read/write) 657920 658004 84 0.0
.text 573132 573216 84 0.0
lock k32w061+release (read/write) 661796 661896 100 0.0
.text 576692 576792 100 0.0
linux chip-tool-ipv6only arm64 (read only) 8042132 8042244 112 0.0
(read/write) 370641 370657 16 0.0
.data.rel.ro 245856 245864 8 0.0
.text 6833716 6833796 80 0.0
thermostat-no-ble arm64 (read only) 2042140 2042236 96 0.0
(read/write) 145969 145985 16 0.0
.data.rel.ro 73016 73024 8 0.0
.text 1697664 1697744 80 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2349920 2349984 64 0.0
.text 1312496 1312560 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2334504 2334568 64 0.0
.text 1297104 1297168 64 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2304848 2304920 72 0.0
.text 1267448 1267520 72 0.0
shell CY8CPROTO_062_4343W+release (read/write) 2054464 2054472 8 0.0
.text 1017064 1017072 8 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 943419 943487 68 0.0
rodata 108824 108828 4 0.0
text 637380 637456 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 928883 928967 84 0.0
rodata 101272 101276 4 0.0
text 632776 632852 76 0.0
nrf52840dongle_nrf52840 (read/write) 994095 994163 68 0.0
rodata 113576 113580 4 0.0
text 669580 669656 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853242 853326 84 0.0
rodata 101996 102000 4 0.0
text 554308 554380 72 0.0
lock-app nrf52840dk_nrf52840 (read/write) 912763 912847 84 0.0
rodata 103792 103796 4 0.0
text 612828 612904 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822846 822914 68 0.0
rodata 97016 97020 4 0.0
text 529792 529864 72 0.0
pump-app nrf52840dk_nrf52840 (read/write) 915627 915711 84 0.0
rodata 104152 104156 4 0.0
text 615484 615560 76 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910715 910799 84 0.0
rodata 103264 103268 4 0.0
text 611408 611484 76 0.0
shell nrf52840dk_nrf52840 (read/write) 798655 798675 20 0.0
rodata 78388 78392 4 0.0
text 533992 534012 20 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711470 711490 20 0.0
rodata 72688 72692 4 0.0
text 451668 451692 24 0.0
p6 all-clusters-app default (read/write) 2404400 2404448 48 0.0
.text 1362664 1362712 48 0.0
light-app default (read/write) 2329704 2329752 48 0.0
.text 1287968 1288016 48 0.0
lock-app default (read/write) 2298728 2298776 48 0.0
.text 1256992 1257040 48 0.0
qpg lighting-app qpg6105+debug (read only) 563984 564068 84 0.0
.text 558664 558748 84 0.0
lock-app qpg6105+debug (read only) 515484 515568 84 0.0
.text 510164 510248 84 0.0
telink lighting-app tlsr9518adk80d (read/write) 840786 840870 84 0.0
text 587756 587830 74 0.0
Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 69e1438 afd57d2 change % change
efr32 lighting-app BRD4161A (read only) 834852 834924 72 0.0
(read/write) 127628 127628 0 0.0
.bss 125744 125744 0 0.0
.data 1884 1884 0 0.0
.text 834844 834916 72 0.0
BRD4161A+rpc (read only) 822248 822296 48 0.0
(read/write) 144288 144288 0 0.0
.bss 142304 142304 0 0.0
.data 1984 1984 0 0.0
.text 822240 822288 48 0.0
window-app BRD4161A (read only) 805440 805480 40 0.0
(read/write) 126320 126320 0 0.0
.bss 124480 124480 0 0.0
.data 1836 1836 0 0.0
.text 805432 805472 40 0.0
esp32 all-clusters-app c3devkit (read only) 912114 912198 84 0.0
(read/write) 1316682 1316690 8 0.0
.dram0.bss 70520 70520 0 0.0
.dram0.data 14284 14284 0 0.0
.flash.rodata 178384 178392 8 0.0
.flash.text 912114 912198 84 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 960895 960951 56 0.0
(read/write) 448840 448840 0 0.0
.dram0.bss 74976 74976 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 207672 207672 0 0.0
.flash.text 955511 955567 56 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 657920 658004 84 0.0
.bss 77136 77136 0 0.0
.data 1852 1852 0 0.0
.text 573132 573216 84 0.0
lock k32w061+release (read/write) 661796 661896 100 0.0
.bss 77432 77432 0 0.0
.data 1872 1872 0 0.0
.text 576692 576792 100 0.0
linux chip-tool-ipv6only arm64 (read only) 8042132 8042244 112 0.0
(read/write) 370641 370657 16 0.0
.bss 55217 55217 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 245856 245864 8 0.0
.dynamic 560 560 0 0.0
.got 64776 64776 0 0.0
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 419420 419420 0 0.0
.text 6833716 6833796 80 0.0
thermostat-no-ble arm64 (read only) 2042140 2042236 96 0.0
(read/write) 145969 145985 16 0.0
.bss 65089 65089 0 0.0
.data 880 880 0 0.0
.data.rel.ro 73016 73024 8 0.0
.dynamic 560 560 0 0.0
.got 4048 4048 0 0.0
.init 24 24 0 0.0
.init_array 304 304 0 0.0
.rodata 129884 129884 0 0.0
.text 1697664 1697744 80 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2349920 2349984 64 0.0
.bss 189220 189220 0 0.0
.data 5320 5320 0 0.0
.text 1312496 1312560 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2334504 2334568 64 0.0
.bss 180760 180760 0 0.0
.data 5568 5568 0 0.0
.text 1297104 1297168 64 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304848 2304920 72 0.0
.bss 179768 179768 0 0.0
.data 5544 5544 0 0.0
.text 1267448 1267520 72 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054464 2054472 8 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1017064 1017072 8 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 943419 943487 68 0.0
bss 119628 119628 0 0.0
rodata 108824 108828 4 0.0
text 637380 637456 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 928883 928967 84 0.0
bss 116672 116672 0 0.0
rodata 101272 101276 4 0.0
text 632776 632852 76 0.0
nrf52840dongle_nrf52840 (read/write) 994095 994163 68 0.0
bss 122472 122472 0 0.0
rodata 113576 113580 4 0.0
text 669580 669656 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853242 853326 84 0.0
bss 116416 116416 0 0.0
rodata 101996 102000 4 0.0
text 554308 554380 72 0.0
lock-app nrf52840dk_nrf52840 (read/write) 912763 912847 84 0.0
bss 118784 118784 0 0.0
rodata 103792 103796 4 0.0
text 612828 612904 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822846 822914 68 0.0
bss 115600 115600 0 0.0
rodata 97016 97020 4 0.0
text 529792 529864 72 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541835 541835 0 0.0
bss 52588 52588 0 0.0
rodata 50104 50104 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 915627 915711 84 0.0
bss 118548 118548 0 0.0
rodata 104152 104156 4 0.0
text 615484 615560 76 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910715 910799 84 0.0
bss 118572 118572 0 0.0
rodata 103264 103268 4 0.0
text 611408 611484 76 0.0
shell nrf52840dk_nrf52840 (read/write) 798655 798675 20 0.0
bss 109776 109776 0 0.0
rodata 78388 78392 4 0.0
text 533992 534012 20 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711470 711490 20 0.0
bss 107664 107664 0 0.0
rodata 72688 72692 4 0.0
text 451668 451692 24 0.0
p6 all-clusters-app default (read/write) 2404400 2404448 48 0.0
.bss 117492 117492 0 0.0
.data 2600 2600 0 0.0
.text 1362664 1362712 48 0.0
light-app default (read/write) 2329704 2329752 48 0.0
.bss 106064 106064 0 0.0
.data 2392 2392 0 0.0
.text 1287968 1288016 48 0.0
lock-app default (read/write) 2298728 2298776 48 0.0
.bss 104920 104920 0 0.0
.data 2344 2344 0 0.0
.text 1256992 1257040 48 0.0
qpg lighting-app qpg6105+debug (read only) 563984 564068 84 0.0
(read/write) 146940 146940 0 0.0
.bss 89960 89960 0 0.0
.data 1048 1048 0 0.0
.text 558664 558748 84 0.0
lock-app qpg6105+debug (read only) 515484 515568 84 0.0
(read/write) 146936 146936 0 0.0
.bss 88584 88584 0 0.0
.data 972 972 0 0.0
.text 510164 510248 84 0.0
persistent-storage-app qpg6105+debug (read only) 106848 106848 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38512 38512 0 0.0
.data 288 288 0 0.0
.text 101528 101528 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 840786 840870 84 0.0
bss 87316 87316 0 0.0
noinit 37160 37160 0 0.0
text 587756 587830 74 0.0

@github-actions
Copy link

github-actions bot commented Jan 15, 2022

PR #13598: Size comparison from 69e1438 to f215a2f

Increases (27 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 69e1438 f215a2f change % change
efr32 lighting-app BRD4161A (read only) 834852 834884 32 0.0
.text 834844 834876 32 0.0
BRD4161A+rpc (read only) 822248 822264 16 0.0
.text 822240 822256 16 0.0
window-app BRD4161A (read only) 805440 805456 16 0.0
.text 805432 805448 16 0.0
esp32 all-clusters-app c3devkit (read only) 912114 912172 58 0.0
.flash.text 912114 912172 58 0.0
m5stack (read only) 960895 960915 20 0.0
.flash.text 955511 955531 20 0.0
k32w light k32w061+release (read/write) 657920 657968 48 0.0
.text 573132 573180 48 0.0
lock k32w061+release (read/write) 661796 661860 64 0.0
.text 576692 576756 64 0.0
linux chip-tool-ipv6only arm64 (read only) 8042132 8042196 64 0.0
.text 6833716 6833780 64 0.0
thermostat-no-ble arm64 (read only) 2042140 2042204 64 0.0
.text 1697664 1697728 64 0.0
mbed lighting-app CY8CPROTO_062_4343W+release (read/write) 2334504 2334568 64 0.0
.text 1297104 1297168 64 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2304848 2304912 64 0.0
.text 1267448 1267512 64 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 943419 943467 48 0.0
text 637380 637436 56 0.0
nrf52840dk_nrf52840+rpc (read/write) 928883 928947 64 0.0
text 632776 632832 56 0.0
nrf52840dongle_nrf52840 (read/write) 994095 994143 48 0.0
text 669580 669636 56 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853242 853290 48 0.0
text 554308 554360 52 0.0
lock-app nrf52840dk_nrf52840 (read/write) 912763 912827 64 0.0
text 612828 612884 56 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822846 822894 48 0.0
text 529792 529844 52 0.0
pump-app nrf52840dk_nrf52840 (read/write) 915627 915691 64 0.0
text 615484 615540 56 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910715 910763 48 0.0
text 611408 611464 56 0.0
shell nrf52840dk_nrf52840 (read/write) 798655 798671 16 0.0
text 533992 534004 12 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711470 711486 16 0.0
text 451668 451680 12 0.0
p6 all-clusters-app default (read/write) 2404400 2404416 16 0.0
.text 1362664 1362680 16 0.0
light-app default (read/write) 2329704 2329720 16 0.0
.text 1287968 1287984 16 0.0
lock-app default (read/write) 2298728 2298744 16 0.0
.text 1256992 1257008 16 0.0
qpg lighting-app qpg6105+debug (read only) 563984 564048 64 0.0
.text 558664 558728 64 0.0
lock-app qpg6105+debug (read only) 515484 515548 64 0.0
.text 510164 510228 64 0.0
telink lighting-app tlsr9518adk80d (read/write) 840786 840842 56 0.0
text 587756 587812 56 0.0
Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 69e1438 f215a2f change % change
efr32 lighting-app BRD4161A (read only) 834852 834884 32 0.0
(read/write) 127628 127628 0 0.0
.bss 125744 125744 0 0.0
.data 1884 1884 0 0.0
.text 834844 834876 32 0.0
BRD4161A+rpc (read only) 822248 822264 16 0.0
(read/write) 144288 144288 0 0.0
.bss 142304 142304 0 0.0
.data 1984 1984 0 0.0
.text 822240 822256 16 0.0
window-app BRD4161A (read only) 805440 805456 16 0.0
(read/write) 126320 126320 0 0.0
.bss 124480 124480 0 0.0
.data 1836 1836 0 0.0
.text 805432 805448 16 0.0
esp32 all-clusters-app c3devkit (read only) 912114 912172 58 0.0
(read/write) 1316682 1316682 0 0.0
.dram0.bss 70520 70520 0 0.0
.dram0.data 14284 14284 0 0.0
.flash.rodata 178384 178384 0 0.0
.flash.text 912114 912172 58 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 960895 960915 20 0.0
(read/write) 448840 448840 0 0.0
.dram0.bss 74976 74976 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 207672 207672 0 0.0
.flash.text 955511 955531 20 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 657920 657968 48 0.0
.bss 77136 77136 0 0.0
.data 1852 1852 0 0.0
.text 573132 573180 48 0.0
lock k32w061+release (read/write) 661796 661860 64 0.0
.bss 77432 77432 0 0.0
.data 1872 1872 0 0.0
.text 576692 576756 64 0.0
linux chip-tool-ipv6only arm64 (read only) 8042132 8042196 64 0.0
(read/write) 370641 370641 0 0.0
.bss 55217 55217 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 245856 245856 0 0.0
.dynamic 560 560 0 0.0
.got 64776 64776 0 0.0
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 419420 419420 0 0.0
.text 6833716 6833780 64 0.0
thermostat-no-ble arm64 (read only) 2042140 2042204 64 0.0
(read/write) 145969 145969 0 0.0
.bss 65089 65089 0 0.0
.data 880 880 0 0.0
.data.rel.ro 73016 73016 0 0.0
.dynamic 560 560 0 0.0
.got 4048 4048 0 0.0
.init 24 24 0 0.0
.init_array 304 304 0 0.0
.rodata 129884 129884 0 0.0
.text 1697664 1697728 64 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2349920 2349920 0 0.0
.bss 189220 189220 0 0.0
.data 5320 5320 0 0.0
.text 1312496 1312496 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2334504 2334568 64 0.0
.bss 180760 180760 0 0.0
.data 5568 5568 0 0.0
.text 1297104 1297168 64 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304848 2304912 64 0.0
.bss 179768 179768 0 0.0
.data 5544 5544 0 0.0
.text 1267448 1267512 64 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054464 2054464 0 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1017064 1017064 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 943419 943467 48 0.0
bss 119628 119628 0 0.0
rodata 108824 108824 0 0.0
text 637380 637436 56 0.0
nrf52840dk_nrf52840+rpc (read/write) 928883 928947 64 0.0
bss 116672 116672 0 0.0
rodata 101272 101272 0 0.0
text 632776 632832 56 0.0
nrf52840dongle_nrf52840 (read/write) 994095 994143 48 0.0
bss 122472 122472 0 0.0
rodata 113576 113576 0 0.0
text 669580 669636 56 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853242 853290 48 0.0
bss 116416 116416 0 0.0
rodata 101996 101996 0 0.0
text 554308 554360 52 0.0
lock-app nrf52840dk_nrf52840 (read/write) 912763 912827 64 0.0
bss 118784 118784 0 0.0
rodata 103792 103792 0 0.0
text 612828 612884 56 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822846 822894 48 0.0
bss 115600 115600 0 0.0
rodata 97016 97016 0 0.0
text 529792 529844 52 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541835 541835 0 0.0
bss 52588 52588 0 0.0
rodata 50104 50104 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 915627 915691 64 0.0
bss 118548 118548 0 0.0
rodata 104152 104152 0 0.0
text 615484 615540 56 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910715 910763 48 0.0
bss 118572 118572 0 0.0
rodata 103264 103264 0 0.0
text 611408 611464 56 0.0
shell nrf52840dk_nrf52840 (read/write) 798655 798671 16 0.0
bss 109776 109776 0 0.0
rodata 78388 78388 0 0.0
text 533992 534004 12 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711470 711486 16 0.0
bss 107664 107664 0 0.0
rodata 72688 72688 0 0.0
text 451668 451680 12 0.0
p6 all-clusters-app default (read/write) 2404400 2404416 16 0.0
.bss 117492 117492 0 0.0
.data 2600 2600 0 0.0
.text 1362664 1362680 16 0.0
light-app default (read/write) 2329704 2329720 16 0.0
.bss 106064 106064 0 0.0
.data 2392 2392 0 0.0
.text 1287968 1287984 16 0.0
lock-app default (read/write) 2298728 2298744 16 0.0
.bss 104920 104920 0 0.0
.data 2344 2344 0 0.0
.text 1256992 1257008 16 0.0
qpg lighting-app qpg6105+debug (read only) 563984 564048 64 0.0
(read/write) 146940 146940 0 0.0
.bss 89960 89960 0 0.0
.data 1048 1048 0 0.0
.text 558664 558728 64 0.0
lock-app qpg6105+debug (read only) 515484 515548 64 0.0
(read/write) 146936 146936 0 0.0
.bss 88584 88584 0 0.0
.data 972 972 0 0.0
.text 510164 510228 64 0.0
persistent-storage-app qpg6105+debug (read only) 106848 106848 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38512 38512 0 0.0
.data 288 288 0 0.0
.text 101528 101528 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 840786 840842 56 0.0
bss 87316 87316 0 0.0
noinit 37160 37160 0 0.0
text 587756 587812 56 0.0

@andy31415 andy31415 dismissed their stale review January 17, 2022 19:27

Naming was updated.

Copy link
Contributor

@kkasperczyk-no kkasperczyk-no left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@andy31415 andy31415 merged commit 786fdfa into project-chip:master Jan 20, 2022
selissia pushed a commit to selissia/connectedhomeip that referenced this pull request Jan 28, 2022
* RotatingId: version0

* RotatingId: version1

* RotatingId: version0

* RotatingId: version1

* Fix Darwin host build (project-chip#3990)

#### Problem

Some conversions to use PacketBufferHandle (project-chip#3909) broke Darwin builds,
which aren't currently run in CI.

#### Summary of Changes

Fix src/platform/Darwin/BleConnectionDelegateImpl.mm to match the API
change in project-chip#3909.

* Add '-Wextra' to compiler flags (project-chip#3902)

* Implement Level Control Cluster (project-chip#3806)

* New seekbar in Android CHIPTool
* Sample usage in lighting-app/nrfconnect

Signed-off-by: Markus Becker <[email protected]>

* Fix Rendezvous over BLE after recent changes (project-chip#4012)

PR project-chip#3704 introduced a change that the BLE transport in
RendezvousSession is only initialized when PeerAddress
in RendezvousParams is of type BLE. However, PeerAddress
isn't initialized anywhere. As a result Rendezvous over BLE
stopped working between Android CHIPTool and accessories.

Btw, remove an assert related to the storage delegate
as it seems an optional member of the device controller.

* [thread] fix invalid configuration of active dataset (project-chip#4008)

* Fix data loss or crash in TCPEndPoint with LwIP (project-chip#4022)

* Fix data loss or crash in TCPEndPoint with LwIP

#### Problem

Under the configuration CHIP_SYSTEM_CONFIG_USE_LWIP, in some cases where
the data size exceeds the TCP window size, TCPEndPoint can either die or
lose data when accounting of un-acked data falls out of sync.

#### Summary of Changes

Imported fix from Weave:

* This change removes separate accounting of the unsent
  data position and replaces it with simple counting of
  sent-but-not-acked data and a skip-loop at the start
  of DriveSending().

Fixes project-chip#4013 - Data loss or crash in TCPEndPoint with LwIP

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>

* Update lighting-app gen/ folder with ZAP generated content (project-chip#4010)

* Fix segmentation fault error in response echo message (project-chip#3984)

* Add back Android default build coverage & fix the build (project-chip#3966)

mDNS doesn't build with no device layer. Remove it from the build and
add back the coverage that would catch this that was lost in project-chip#3340.

* Update all-clusters-app gen/ folder with ZAP generated content (project-chip#3963)

* Move src/inet/tests to auto-test-driver generation (project-chip#3997)

* Rename TestUtils to UnitTestRegistration. (project-chip#4021)

Looking to remove usage of 'Utils' unless we have really no choice.
'UnitTestRegistration' seems clearer in what it does compared to
'TestUtils'.

* Update src/lib/core/tests to auto-test-driver generation (project-chip#3991)

* Cleanup zap chip-helper.js (project-chip#3973)

* Cleanup zap chip-helper.js

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>

* Move src/transport/tests to auto-test-driver generation (project-chip#3999)

* Move src/transport/tests to auto-test-driver generation

* Add relevant libraries (and more test-capable libs) to nrf.

* Refactor inet test helpers (to not include actual inet tests), try to make qemu allow better linkage but still failed for transport tests so disabled for now

* Added more tests on esp32 qemu

* Restyle fixes

* Fix cast errors in InetCommon

* Disable raw tests from zephyr: somehow they fail running out of endpoints

* Disable DNS test on zephyr

* Remove inet endpoint test from zephyr

* Remove inet endpoint test from zephyr - fix again

* Modify gitignore

* Restyle fixes

* Use CHIPDeviceController instead of CHIPDeviceController_deprecated (project-chip#3979)

* Implement the missing part of Exchange Header in Transport layer (project-chip#4017)

* Implement the missing part of Exchange Header in Transport layer

* Revert comment 'if' back to 'iff'("if and only if")

* Remove duplicated send flag defines and put ExchangeMgr/ExchangeConte… (project-chip#3994)

* Remove duplicated send flag defines and put ExchangeMgr/ExchangeContext under the same namespace as CRMP

* Rename kSendFlag_Default to kSendFlag_None

* Move src/lib/asn1/tests and src/ble/tests to auto-test-driver generation (project-chip#3998)

* Move src/lib/asn1/tests and src/ble/tests to auto-test-driver generation

* Remove one more unused file

* Attempt to enable asn1 and ble tests in esp32 - see if they pass or not

* Fix merge error

* Update include header for ASN1 test

* Include  ASN1 in libCHIP

* Some conversions to use PacketBufferHandle (project-chip#4011)

* Some conversions to use PacketBufferHandle

#### Problem

Code should use `PacketBufferHandle` rather than `PacketBuffer *`.

#### Summary of Changes

- Converts remaining receive path in //src/inet and //src/transport.
- Converts most of //src/ble.
- Introduces Handle versions of the `AddToEnd`/`DetachTail` pair.

Part of issue project-chip#2707 - Figure out a way to express PacketBuffer ownership in the type system

* Restyled by clang-format

* review

* revive BtpEngine::Clear[TR]xPacket()
* simplify conditional
* (void) message.DetachTail() → message.FreeHead()
* remove ExchangeContext::kSendFlag_RetainBuffer
* missed pBuf.IsNull()
* DetachHead() → PopTail()
* typos

Co-authored-by: Restyled.io <[email protected]>

* Move src/system/tests to auto-test-driver generation (project-chip#4000)

* Move src/system/tests to auto-test-driver generation

* Remove a TCP/IP init call that was killing qemu

* Remove explicit "all" target from root build file (project-chip#3967)

The "all" target exists implicitly and contains everything. We don't
need to specify one, and it's misleading to do so specifying deps has no
effect.

* Make src/setup_payload compile with -Werror=conversion (project-chip#4032)

* Add SSID and password to chip-tool pairing (project-chip#4054)

* Get temperature-measurement and all-clusters-app to use examples/common/chip-app-server (project-chip#4039)

#### Problem

PR project-chip#3704 introduced a change where a `PeerAddress` is now required in order to start `RendezvousSession`.
Sadly the multiple code paths bootstrapping `RendezvousSession` has not been updated.

PR project-chip#4012 add a fix for some of the `examples/` but not for the `all-clusters-app` nor the `temperature-measurement-app`.

To avoid such situation, this PR merge `examples/common/chip-app-server` and the custom code from `all-clusters-app` and `temperature-measurement-app`.

One of the more discutable change of this PR (imo) is the code that moves the custom `Echo` mechanism from the `all-clusters-app` to `chip-app-server`. I was hoping to get rid of it before doing this change but the `all-clusters-app` and the `temperature-measurement-app` are broken since project-chip#3704 and this PR should fix that.
Also I have a PR (mostly) ready once project-chip#3979 lands to get rid of this `Echo` specific code and replace it by a manufacturer specific `ping` command.

 #### Summary of Changes
 * Remove `EchoServer.cpp`, `RendezvousDeviceDelegate.cpp` and `include/RendezvousDeviceDelegate.h` from `all-clusters-app`
 * Remove `ResponseServer.cpp`, `RendezvousDeviceDelegate.cpp` and `include/RendezvousDeviceDelegate.h` from `temperature-measurement-app`
 * Introduce `chip-app-server/include/AppDelegate.h` in order to keep the behavior the `all-clusters-app` that turns on/off leds on different events. Maybe it should be converted to some types of `ChipDeviceEvent` or `CHIPCallback` at some point.
 * Fix `chip-app-server` to accomodate for the specifics of `all-clusters-app`

* Add all Thread ULA addresses to the lwip interface (project-chip#4053)

ULA prefixes will used for CHIP network so we need to add all these
addresses to the interface.

* Remove src/lib/message. (project-chip#4055)

* Remove src/lib/message.

Updated messaging implementation lives in src/messaging and the
src/lib/message is not currently compiled or linked in.

This saves us from looking at this code when some refactoring is needed
(e.g. the SystemPacketBuffer changes).

* Remove one more unused file

* [ChipTool] Add Payload Parse Command (project-chip#3696)

* [ChipTool] Add Payload Parse Command

* [ChipTool] Add Payload Parse Command

* [ChipTool] Restyle issues resolved

* Restyled by whitespace

* Resolve build errors caused by Command.h schema change

Co-authored-by: lijayaku <[email protected]>
Co-authored-by: Restyled.io <[email protected]>

* rename ParseCommand to QRCodeParseCommand

* adding AdditionalDataParseCommand version 0

* Adding parsing logic + logging

* adding another parsing method

* Basic Parsing is DONE

* fixing memory issue

* removing some logs

* removing more logs

* minor update

* Add RotatingDeviceId to DNS-SD

* Revert "Merge pull request #4 from hnnajh/rotating-id-test"

This reverts commit 0235d05, reversing
changes made to 3e1a4b9.

* increment lifetime counter

* Incrementing lifetime counter at each BLE/MDNS advertisement

* address comments

* Update src/include/platform/ConfigurationManager.h

Co-authored-by: Boris Zbarsky <[email protected]>

* removing unnecessary lines

* nit

* Update src/app/server/Dnssd.cpp

Co-authored-by: chrisdecenzo <[email protected]>

* restyling

* Update src/app/server/Dnssd.cpp

Co-authored-by: chrisdecenzo <[email protected]>

* Update src/app/server/Dnssd.cpp

Co-authored-by: chrisdecenzo <[email protected]>

* fix comments

* incrementing lifetimecounter once

* remove unnecessary include

Co-authored-by: Kevin Schoedel <[email protected]>
Co-authored-by: Vivien Nicolas <[email protected]>
Co-authored-by: Markus Becker <[email protected]>
Co-authored-by: Damian Królik <[email protected]>
Co-authored-by: Łukasz Duda <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Yufeng Wang <[email protected]>
Co-authored-by: Michael Spang <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: jepenven-silabs <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: Jiacheng Guo <[email protected]>
Co-authored-by: Liju Jayakumar <[email protected]>
Co-authored-by: lijayaku <[email protected]>
Co-authored-by: chrisdecenzo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.