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

[LevelControl] Implemented the Q quality logic for the CurrentLevel a… #34488

Merged
merged 4 commits into from
Jul 25, 2024

Conversation

jmartinez-silabs
Copy link
Member

…nd RemainingTime attributes

CurrentLevel attribute is reported on at most every second, but usually 4 times throughout the transition or at transition start and end or if the attribute goes from or to Null.

RemainingTime is reported on value increase, or when it changes from or to 0

I also cleaned up some namespace usage in the level-control.cpp file

#fixes #33861

Tests:

  • Existing Level control cert tests.
  • Manual test by subscribing to the attributes

@github-actions github-actions bot added the app label Jul 24, 2024
Copy link

github-actions bot commented Jul 24, 2024

PR #34488: Size comparison from c88d5cf to 494c705

Increases above 0.2%:

platform target config section c88d5cf 494c705 change % change
tizen all-clusters-app arm FLASH 1640516 1645472 4956 0.3
RAM 48708 48908 200 0.4
Full report (49 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, mbed, nxp, psoc6, qpg, stm32, tizen)
platform target config section c88d5cf 494c705 change % change
bl602 lighting-app bl602 FLASH 1271964 1273724 1760 0.1
RAM 95384 95424 40 0.0
bl602+mfd FLASH 1286222 1287982 1760 0.1
RAM 95528 95568 40 0.0
bl602+rpc FLASH 1310932 1312692 1760 0.1
RAM 103808 103848 40 0.0
bl702 lighting-app bl702 FLASH 1092858 1094618 1760 0.2
RAM 15245 15245 0 0.0
bl702+mfd FLASH 1103552 1105568 2016 0.2
RAM 15397 15397 0 0.0
bl702+rpc FLASH 1182924 1184684 1760 0.1
RAM 24245 24245 0 0.0
bl706-eth FLASH 876158 877918 1760 0.2
RAM 27348 27348 0 0.0
bl706-wifi FLASH 1128342 1130358 2016 0.2
RAM 14681 14681 0 0.0
bl702l lighting-app bl702l FLASH 1079756 1081772 2016 0.2
RAM 21800 21800 0 0.0
bl702l+mfd FLASH 1091018 1093034 2016 0.2
RAM 21960 21960 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798924 800076 1152 0.1
RAM 109236 109276 40 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816684 816684 0 0.0
RAM 117020 117020 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808516 808516 0 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761132 762272 1140 0.1
RAM 105408 105448 40 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746916 746916 0 0.0
RAM 105632 105632 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606494 606494 0 0.0
RAM 204564 204564 0 0.0
lock CC3235SF_LAUNCHXL FLASH 652026 652026 0 0.0
RAM 204836 204836 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 668041 669153 1112 0.2
RAM 77700 77740 40 0.1
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 687893 689013 1120 0.2
RAM 80340 80380 40 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 687893 689013 1120 0.2
RAM 80340 80380 40 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 644829 645941 1112 0.2
RAM 72768 72808 40 0.1
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609585 609585 0 0.0
RAM 70884 70884 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629221 629221 0 0.0
RAM 73428 73428 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629221 629221 0 0.0
RAM 73428 73428 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 625289 625289 0 0.0
RAM 73900 73900 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644997 644997 0 0.0
RAM 76444 76444 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644997 644997 0 0.0
RAM 76444 76444 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593509 593509 0 0.0
RAM 67852 67852 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613361 613361 0 0.0
RAM 70492 70492 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613361 613361 0 0.0
RAM 70492 70492 0 0.0
efr32 lighting-app BRD4187C FLASH 926120 927272 1152 0.1
RAM 134528 134568 40 0.0
lock-app BRD4338a FLASH 734524 734516 -8 -0.0
RAM 208004 208004 0 0.0
window-app BRD4187C FLASH 1014604 1014604 0 0.0
RAM 126648 126648 0 0.0
esp32 all-clusters-app c3devkit DRAM 90948 90988 40 0.0
FLASH 1471086 1472394 1308 0.1
IRAM 75570 75570 0 0.0
m5stack DRAM 117428 117468 40 0.0
FLASH 1540211 1541727 1516 0.1
IRAM 125403 125403 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1503276 1503276 0 0.0
RAM 226720 226720 0 0.0
nxp contact k32w0+release FLASH 576100 576100 0 0.0
RAM 70104 70104 0 0.0
k32w1+release FLASH 591672 591672 0 0.0
RAM 74144 74144 0 0.0
light k32w0+release FLASH 610432 611616 1184 0.2
RAM 69564 69608 44 0.1
k32w1+release FLASH 675216 676352 1136 0.2
RAM 82872 82912 40 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1611476 1612852 1376 0.1
RAM 209728 209768 40 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1531828 1533220 1392 0.1
RAM 206544 206584 40 0.0
light cy8ckit_062s2_43012 FLASH 1458860 1460236 1376 0.1
RAM 199808 199848 40 0.0
lock cy8ckit_062s2_43012 FLASH 1459500 1459500 0 0.0
RAM 224328 224328 0 0.0
qpg lighting-app qpg6105+debug FLASH 651748 652900 1152 0.2
RAM 104636 104680 44 0.0
lock-app qpg6105+debug FLASH 612136 612136 0 0.0
RAM 99320 99320 0 0.0
stm32 light STM32WB5MM-DK FLASH 474144 475280 1136 0.2
RAM 144260 144300 40 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1640516 1645472 4956 0.3
RAM 48708 48908 200 0.4
chip-tool-ubsan arm unknown 2388 2388 0 0.0
FLASH 16290886 16290886 0 0.0
RAM 7153232 7153232 0 0.0

Copy link

github-actions bot commented Jul 25, 2024

PR #34488: Size comparison from c88d5cf to c09be5f

Increases above 0.2%:

platform target config section c88d5cf c09be5f change % change
linux bridge-app debug RAM 212992 213664 672 0.3
shell debug FLASH 2982829 2990973 8144 0.3
telink all-clusters-app tlsr9118bdk40d FLASH 658786 660140 1354 0.2
bridge-app tlsr9258a FLASH 676032 677392 1360 0.2
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614066 615420 1354 0.2
pump-app tlsr9518adk80d FLASH 616960 618340 1380 0.2
tizen all-clusters-app arm FLASH 1640516 1645472 4956 0.3
RAM 48708 48908 200 0.4
Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section c88d5cf c09be5f change % change
bl602 lighting-app bl602 FLASH 1271964 1273724 1760 0.1
RAM 95384 95424 40 0.0
bl602+mfd FLASH 1286222 1287982 1760 0.1
RAM 95528 95568 40 0.0
bl602+rpc FLASH 1310932 1312692 1760 0.1
RAM 103808 103848 40 0.0
bl702 lighting-app bl702 FLASH 1092858 1094618 1760 0.2
RAM 15245 15245 0 0.0
bl702+mfd FLASH 1103552 1105568 2016 0.2
RAM 15397 15397 0 0.0
bl702+rpc FLASH 1182924 1184684 1760 0.1
RAM 24245 24245 0 0.0
bl706-eth FLASH 876158 877918 1760 0.2
RAM 27348 27348 0 0.0
bl706-wifi FLASH 1128342 1130358 2016 0.2
RAM 14681 14681 0 0.0
bl702l lighting-app bl702l FLASH 1079756 1081772 2016 0.2
RAM 21800 21800 0 0.0
bl702l+mfd FLASH 1091018 1093034 2016 0.2
RAM 21960 21960 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798924 800076 1152 0.1
RAM 109236 109276 40 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816684 816684 0 0.0
RAM 117020 117020 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 808516 808516 0 0.0
RAM 111308 111308 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761132 762272 1140 0.1
RAM 105408 105448 40 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746916 746916 0 0.0
RAM 105632 105632 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606494 606494 0 0.0
RAM 204564 204564 0 0.0
lock CC3235SF_LAUNCHXL FLASH 652026 652026 0 0.0
RAM 204836 204836 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 668041 669153 1112 0.2
RAM 77700 77740 40 0.1
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 687893 689013 1120 0.2
RAM 80340 80380 40 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 687893 689013 1120 0.2
RAM 80340 80380 40 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 644829 645941 1112 0.2
RAM 72768 72808 40 0.1
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609585 609585 0 0.0
RAM 70884 70884 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629221 629221 0 0.0
RAM 73428 73428 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629221 629221 0 0.0
RAM 73428 73428 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 625289 625289 0 0.0
RAM 73900 73900 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644997 644997 0 0.0
RAM 76444 76444 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644997 644997 0 0.0
RAM 76444 76444 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 593509 593509 0 0.0
RAM 67852 67852 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 613361 613361 0 0.0
RAM 70492 70492 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 613361 613361 0 0.0
RAM 70492 70492 0 0.0
efr32 lighting-app BRD4187C FLASH 926120 927272 1152 0.1
RAM 134528 134568 40 0.0
lock-app BRD4338a FLASH 734524 734516 -8 -0.0
RAM 208004 208004 0 0.0
window-app BRD4187C FLASH 1014604 1014604 0 0.0
RAM 126648 126648 0 0.0
esp32 all-clusters-app c3devkit DRAM 90948 90988 40 0.0
FLASH 1471086 1472394 1308 0.1
IRAM 75570 75570 0 0.0
m5stack DRAM 117428 117468 40 0.0
FLASH 1540211 1541727 1516 0.1
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4632 4632 0 0.0
FLASH 2710279 2710279 0 0.0
RAM 125200 125200 0 0.0
all-clusters-app debug unknown 5400 5400 0 0.0
FLASH 5838628 5846426 7798 0.1
RAM 494560 494752 192 0.0
all-clusters-minimal-app debug unknown 5312 5312 0 0.0
FLASH 5298426 5306364 7938 0.1
RAM 235728 235920 192 0.1
bridge-app debug unknown 5296 5296 0 0.0
FLASH 4699178 4707164 7986 0.2
RAM 212992 213664 672 0.3
chip-tool debug unknown 5784 5784 0 0.0
FLASH 12279306 12279306 0 0.0
RAM 548050 548050 0 0.0
chip-tool-ipv6only arm64 unknown 20128 20128 0 0.0
FLASH 10986972 10986972 0 0.0
RAM 597680 597680 0 0.0
fabric-admin debug unknown 5672 5672 0 0.0
FLASH 11299679 11299679 0 0.0
RAM 544890 544890 0 0.0
fabric-bridge-app debug unknown 4568 4568 0 0.0
FLASH 4453412 4453412 0 0.0
RAM 199024 199024 0 0.0
lighting-app debug+rpc+ui unknown 5968 5968 0 0.0
FLASH 5623249 5631233 7984 0.1
RAM 224272 224464 192 0.1
lock-app debug unknown 5232 5232 0 0.0
FLASH 4757630 4757630 0 0.0
RAM 200704 200704 0 0.0
ota-provider-app debug unknown 4608 4608 0 0.0
FLASH 4402124 4402124 0 0.0
RAM 194880 194880 0 0.0
ota-requestor-app debug unknown 4544 4544 0 0.0
FLASH 4539938 4539938 0 0.0
RAM 199416 199416 0 0.0
shell debug unknown 4168 4176 8 0.2
FLASH 2982829 2990973 8144 0.3
RAM 153704 153896 192 0.1
thermostat-no-ble arm64 unknown 9208 9208 0 0.0
FLASH 4259572 4259572 0 0.0
RAM 236360 236360 0 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 5974781 5982765 7984 0.1
RAM 573184 573856 672 0.1
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10490877 10490877 0 0.0
RAM 633352 633352 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1503276 1503276 0 0.0
RAM 226720 226720 0 0.0
nxp contact k32w0+release FLASH 576100 576100 0 0.0
RAM 70104 70104 0 0.0
k32w1+release FLASH 591672 591672 0 0.0
RAM 74144 74144 0 0.0
light k32w0+release FLASH 610432 611616 1184 0.2
RAM 69564 69608 44 0.1
k32w1+release FLASH 675216 676352 1136 0.2
RAM 82872 82912 40 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1611476 1612852 1376 0.1
RAM 209728 209768 40 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1531828 1533220 1392 0.1
RAM 206544 206584 40 0.0
light cy8ckit_062s2_43012 FLASH 1458860 1460236 1376 0.1
RAM 199808 199848 40 0.0
lock cy8ckit_062s2_43012 FLASH 1459500 1459500 0 0.0
RAM 224328 224328 0 0.0
qpg lighting-app qpg6105+debug FLASH 651748 652900 1152 0.2
RAM 104636 104680 44 0.0
lock-app qpg6105+debug FLASH 612136 612136 0 0.0
RAM 99320 99320 0 0.0
stm32 light STM32WB5MM-DK FLASH 474144 475280 1136 0.2
RAM 144260 144300 40 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 633112 633112 0 0.0
RAM 50576 50576 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 658786 660140 1354 0.2
RAM 148480 148520 40 0.0
all-clusters-minimal-app tlsr9528a FLASH 779012 780366 1354 0.2
RAM 113260 113300 40 0.0
bridge-app tlsr9258a FLASH 676032 677392 1360 0.2
RAM 95344 95384 40 0.0
contact-sensor-app tlsr9528a_retention FLASH 634696 634696 0 0.0
RAM 50620 50620 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 720568 720568 0 0.0
RAM 77196 77196 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614066 615420 1354 0.2
RAM 144684 144724 40 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 801870 803224 1354 0.2
RAM 103088 103128 40 0.0
lock-app-dfu tlsr9528a FLASH 666524 666524 0 0.0
RAM 69900 69900 0 0.0
ota-requestor-app tlsr9258a FLASH 695394 695394 0 0.0
RAM 95068 95068 0 0.0
pump-app tlsr9518adk80d FLASH 616960 618340 1380 0.2
RAM 57000 57040 40 0.1
pump-controller-app tlsr9518adk80d FLASH 607370 607370 0 0.0
RAM 56800 56800 0 0.0
shell tlsr9518adk80d FLASH 466520 466520 0 0.0
RAM 72488 72488 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 641314 641314 0 0.0
RAM 52248 52248 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 651192 651192 0 0.0
RAM 60436 60436 0 0.0
thermostat tlsr9518adk80d FLASH 626078 626078 0 0.0
RAM 57124 57124 0 0.0
window-covering tlsr9118bdk40d FLASH 519462 519462 0 0.0
RAM 97856 97856 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1640516 1645472 4956 0.3
RAM 48708 48908 200 0.4
chip-tool-ubsan arm unknown 2388 2388 0 0.0
FLASH 16290886 16290886 0 0.0
RAM 7153232 7153232 0 0.0

@jmartinez-silabs jmartinez-silabs changed the title [LevelContro] Implemented the Q quality logic for the CurrentLevel a… [LevelControl] Implemented the Q quality logic for the CurrentLevel a… Jul 25, 2024
@jmartinez-silabs jmartinez-silabs merged commit 4423b3a into project-chip:master Jul 25, 2024
69 of 70 checks passed
@jmartinez-silabs jmartinez-silabs deleted the LVL_Q_quality branch July 25, 2024 18:01
/*
* @brief
* This function is used to update the current level attribute
* while respecting it's defined quiet reporting quality:
Copy link
Contributor

Choose a reason for hiding this comment

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

"its"

* - At the end of the movement/transition, or
* - When it changes from null to any other value and vice versa.
*
* @param endpoint: endpoint on which the currentLevel attribute must be updated.
Copy link
Contributor

Choose a reason for hiding this comment

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

"CurrentLevel", not "currentLevel".


if (dirtyState == AttributeDirtyState::kMustReport)
{
markDirty = MarkAttributeDirty::kIfChanged;
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we guaranteed that we can't have isStartOrEndOfTransition true, the value not changing, and reporting needing to be triggered?

Also, why is markDirty declared all the way at the start of the function?

}

Attributes::RemainingTime::Set(endpoint, state->quietRemainingTime.value().ValueOr(0), markDirty);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why the ValueOr(0)? We just set it to a non-null value, so why is this not just Value()?

goto send_default_response;
}

// Cancel any currently active command.
cancelEndpointTimerCallback(endpoint);
SetCurrentLevelQuietReport(endpoint, state, state->quietCurrentLevel.value(), true /*isStartOrEndOfTransition*/);
Copy link
Contributor

Choose a reason for hiding this comment

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

So this one is a bit complicated: if we are in fact at start of transition, but the the current value of quietCurrentLevel has not been reported, then we should in fact report here (right?), and I don't think we will given the code above.

It looks like we need a MarkAttributeDirty::kYes value, probably?

PeterC1965 pushed a commit to PeterC1965/connectedhomeip that referenced this pull request Jul 26, 2024
project-chip#34488)

* Implemented the Quiete reporting quality logic for the CurrentLevel and RemainingTime attributes

* Restyled by clang-format

* use c++ struct rather than c struct format

* add cluster-building-blocks to the data model public dep

---------

Co-authored-by: Restyled.io <[email protected]>
mergify bot pushed a commit that referenced this pull request Jul 29, 2024
* Add WHM to the all clusters app

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Fix CI test

* Address review comments from JamesH

* Address review comments from JamesH

* Address review comments from JamesH

* Restyled by clang-format

* Get tests passing again

* Restyled by clang-format

* Declare some global items for future testing (#34509)

Co-authored-by: Andrei Litvin <[email protected]>

* [LevelControl] Implemented the Q quality logic for the CurrentLevel a… (#34488)

* Implemented the Quiete reporting quality logic for the CurrentLevel and RemainingTime attributes

* Restyled by clang-format

* use c++ struct rather than c struct format

* add cluster-building-blocks to the data model public dep

---------

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

* Revert thermostat stuff breaking tot (#34518)

* Revert "update tests and thermostat server cluster for new constraints for LocalTemperatureCalibration and MinSetpointDeadBand (#34474)"

This reverts commit 335ac96.

* Revert "update constraints for LocalTemperatureCalibration and MinSetpointDeadBand attributes (#34473)"

This reverts commit 21a5bd6.

* [Telink] Update Docker image (Zephyr update) (#34503)

* Add TransportPayloadCapability flag for GetConnectedDevices and bubble (#34450)

up the flag to the wrapper IM Python APIs.

Add python script binding methods for LargePayload tests
--to check if session allows large payload.
--to close the underlying TCP connection.
--to check if the session is active.

* Remove no-longer-used MTRDevice logic for truncating data version lists (#34183)

* Remove no-longer-used MTRDevice logic for truncating data version lists

After #34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.

* Address review comment.

* Fix compile issues.

* Address another review comment.

* Address review comment.

* Address review comments by JamesH

* Remove unnecessary include file

* Address further review comments from JamhesH

* Restyled by whitespace

* Restyled by clang-format

* Address further review comments from JamesH

* Address further review comments from JamesH

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Undo suggested change from Boris as idx needed in the loop

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

Co-authored-by: lpbeliveau-silabs <[email protected]>

* Address review comments

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Junior Martinez <[email protected]>
Co-authored-by: C Freeman <[email protected]>
Co-authored-by: Alex Tsitsiura <[email protected]>
Co-authored-by: Pradip De <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: jamesharrow <[email protected]>
Co-authored-by: lpbeliveau-silabs <[email protected]>
j-ororke pushed a commit to j-ororke/connectedhomeip that referenced this pull request Jul 31, 2024
project-chip#34488)

* Implemented the Quiete reporting quality logic for the CurrentLevel and RemainingTime attributes

* Restyled by clang-format

* use c++ struct rather than c struct format

* add cluster-building-blocks to the data model public dep

---------

Co-authored-by: Restyled.io <[email protected]>
j-ororke pushed a commit to j-ororke/connectedhomeip that referenced this pull request Jul 31, 2024
* Add WHM to the all clusters app

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Fix CI test

* Address review comments from JamesH

* Address review comments from JamesH

* Address review comments from JamesH

* Restyled by clang-format

* Get tests passing again

* Restyled by clang-format

* Declare some global items for future testing (project-chip#34509)

Co-authored-by: Andrei Litvin <[email protected]>

* [LevelControl] Implemented the Q quality logic for the CurrentLevel a… (project-chip#34488)

* Implemented the Quiete reporting quality logic for the CurrentLevel and RemainingTime attributes

* Restyled by clang-format

* use c++ struct rather than c struct format

* add cluster-building-blocks to the data model public dep

---------

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

* Revert thermostat stuff breaking tot (project-chip#34518)

* Revert "update tests and thermostat server cluster for new constraints for LocalTemperatureCalibration and MinSetpointDeadBand (project-chip#34474)"

This reverts commit 335ac96.

* Revert "update constraints for LocalTemperatureCalibration and MinSetpointDeadBand attributes (project-chip#34473)"

This reverts commit 21a5bd6.

* [Telink] Update Docker image (Zephyr update) (project-chip#34503)

* Add TransportPayloadCapability flag for GetConnectedDevices and bubble (project-chip#34450)

up the flag to the wrapper IM Python APIs.

Add python script binding methods for LargePayload tests
--to check if session allows large payload.
--to close the underlying TCP connection.
--to check if the session is active.

* Remove no-longer-used MTRDevice logic for truncating data version lists (project-chip#34183)

* Remove no-longer-used MTRDevice logic for truncating data version lists

After project-chip#34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.

* Address review comment.

* Fix compile issues.

* Address another review comment.

* Address review comment.

* Address review comments by JamesH

* Remove unnecessary include file

* Address further review comments from JamhesH

* Restyled by whitespace

* Restyled by clang-format

* Address further review comments from JamesH

* Address further review comments from JamesH

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Undo suggested change from Boris as idx needed in the loop

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

Co-authored-by: lpbeliveau-silabs <[email protected]>

* Address review comments

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Junior Martinez <[email protected]>
Co-authored-by: C Freeman <[email protected]>
Co-authored-by: Alex Tsitsiura <[email protected]>
Co-authored-by: Pradip De <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: jamesharrow <[email protected]>
Co-authored-by: lpbeliveau-silabs <[email protected]>
rochaferraz pushed a commit to rochaferraz/connectedhomeip that referenced this pull request Jul 31, 2024
project-chip#34488)

* Implemented the Quiete reporting quality logic for the CurrentLevel and RemainingTime attributes

* Restyled by clang-format

* use c++ struct rather than c struct format

* add cluster-building-blocks to the data model public dep

---------

Co-authored-by: Restyled.io <[email protected]>
rochaferraz pushed a commit to rochaferraz/connectedhomeip that referenced this pull request Jul 31, 2024
* Add WHM to the all clusters app

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Fix CI test

* Address review comments from JamesH

* Address review comments from JamesH

* Address review comments from JamesH

* Restyled by clang-format

* Get tests passing again

* Restyled by clang-format

* Declare some global items for future testing (project-chip#34509)

Co-authored-by: Andrei Litvin <[email protected]>

* [LevelControl] Implemented the Q quality logic for the CurrentLevel a… (project-chip#34488)

* Implemented the Quiete reporting quality logic for the CurrentLevel and RemainingTime attributes

* Restyled by clang-format

* use c++ struct rather than c struct format

* add cluster-building-blocks to the data model public dep

---------

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

* Revert thermostat stuff breaking tot (project-chip#34518)

* Revert "update tests and thermostat server cluster for new constraints for LocalTemperatureCalibration and MinSetpointDeadBand (project-chip#34474)"

This reverts commit 335ac96.

* Revert "update constraints for LocalTemperatureCalibration and MinSetpointDeadBand attributes (project-chip#34473)"

This reverts commit 21a5bd6.

* [Telink] Update Docker image (Zephyr update) (project-chip#34503)

* Add TransportPayloadCapability flag for GetConnectedDevices and bubble (project-chip#34450)

up the flag to the wrapper IM Python APIs.

Add python script binding methods for LargePayload tests
--to check if session allows large payload.
--to close the underlying TCP connection.
--to check if the session is active.

* Remove no-longer-used MTRDevice logic for truncating data version lists (project-chip#34183)

* Remove no-longer-used MTRDevice logic for truncating data version lists

After project-chip#34111, ReadClient
handles this logic itself, so the attempted truncation in MTRDevice was now dead
code.

* Address review comment.

* Fix compile issues.

* Address another review comment.

* Address review comment.

* Address review comments by JamesH

* Remove unnecessary include file

* Address further review comments from JamhesH

* Restyled by whitespace

* Restyled by clang-format

* Address further review comments from JamesH

* Address further review comments from JamesH

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Update examples/all-clusters-app/all-clusters-common/src/WhmManufacturer.cpp

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

* Undo suggested change from Boris as idx needed in the loop

* Update examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp

Co-authored-by: lpbeliveau-silabs <[email protected]>

* Address review comments

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Junior Martinez <[email protected]>
Co-authored-by: C Freeman <[email protected]>
Co-authored-by: Alex Tsitsiura <[email protected]>
Co-authored-by: Pradip De <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: jamesharrow <[email protected]>
Co-authored-by: lpbeliveau-silabs <[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.

Add implementation for added Q quality in Level Control
5 participants