Skip to content

Commit

Permalink
Merge branch 'master' into Add_tests_for_new_pause_and_resume_compati…
Browse files Browse the repository at this point in the history
…ble_states
  • Loading branch information
hicklin committed Jan 19, 2024
2 parents d268c35 + ddc961d commit 24288f0
Show file tree
Hide file tree
Showing 191 changed files with 7,290 additions and 9,394 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,8 @@ jobs:
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-lit-icd-ipv6only-no-ble-no-wifi-tsan-clang-test/lit-icd-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_ICDM_2_1.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_DA_1_5.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_IDM_1_2.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_FAN_3_1.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_FAN_3_2.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_FAN_3_3.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_FAN_3_4.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_FAN_3_5.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7583,6 +7583,5 @@
"endpointId": 4,
"networkId": 0
}
],
"log": []
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -6063,6 +6063,5 @@
"endpointId": 1,
"networkId": 0
}
],
"log": []
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3056,20 +3056,20 @@ cluster TemperatureControl = 86 {
cluster RefrigeratorAlarm = 87 {
revision 1; // NOTE: Default/not specifically set

bitmap AlarmMap : bitmap32 {
bitmap AlarmBitmap : bitmap32 {
kDoorOpen = 0x1;
}

info event Notify = 0 {
AlarmMap active = 0;
AlarmMap inactive = 1;
AlarmMap state = 2;
AlarmMap mask = 3;
AlarmBitmap active = 0;
AlarmBitmap inactive = 1;
AlarmBitmap state = 2;
AlarmBitmap mask = 3;
}

readonly attribute AlarmMap mask = 0;
readonly attribute AlarmMap state = 2;
readonly attribute AlarmMap supported = 3;
readonly attribute AlarmBitmap mask = 0;
readonly attribute AlarmBitmap state = 2;
readonly attribute AlarmBitmap supported = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down Expand Up @@ -3274,7 +3274,7 @@ cluster SmokeCoAlarm = 92 {
cluster DishwasherAlarm = 93 {
revision 1; // NOTE: Default/not specifically set

bitmap AlarmMap : bitmap32 {
bitmap AlarmBitmap : bitmap32 {
kInflowError = 0x1;
kDrainError = 0x2;
kDoorError = 0x4;
Expand All @@ -3288,16 +3288,16 @@ cluster DishwasherAlarm = 93 {
}

info event Notify = 0 {
AlarmMap active = 0;
AlarmMap inactive = 1;
AlarmMap state = 2;
AlarmMap mask = 3;
AlarmBitmap active = 0;
AlarmBitmap inactive = 1;
AlarmBitmap state = 2;
AlarmBitmap mask = 3;
}

readonly attribute AlarmMap mask = 0;
readonly attribute optional AlarmMap latch = 1;
readonly attribute AlarmMap state = 2;
readonly attribute AlarmMap supported = 3;
readonly attribute AlarmBitmap mask = 0;
readonly attribute optional AlarmBitmap latch = 1;
readonly attribute AlarmBitmap state = 2;
readonly attribute AlarmBitmap supported = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -3306,11 +3306,11 @@ cluster DishwasherAlarm = 93 {
readonly attribute int16u clusterRevision = 65533;

request struct ResetRequest {
AlarmMap alarms = 0;
AlarmBitmap alarms = 0;
}

request struct ModifyEnabledAlarmsRequest {
AlarmMap mask = 0;
AlarmBitmap mask = 0;
}

/** Reset alarm */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9778,7 +9778,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "AlarmMap",
"type": "AlarmBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand All @@ -9794,7 +9794,7 @@
"code": 2,
"mfgCode": null,
"side": "server",
"type": "AlarmMap",
"type": "AlarmBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand All @@ -9810,7 +9810,7 @@
"code": 3,
"mfgCode": null,
"side": "server",
"type": "AlarmMap",
"type": "AlarmBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -10560,7 +10560,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "AlarmMap",
"type": "AlarmBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand All @@ -10576,7 +10576,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "AlarmMap",
"type": "AlarmBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand All @@ -10592,7 +10592,7 @@
"code": 2,
"mfgCode": null,
"side": "server",
"type": "AlarmMap",
"type": "AlarmBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand All @@ -10608,7 +10608,7 @@
"code": 3,
"mfgCode": null,
"side": "server",
"type": "AlarmMap",
"type": "AlarmBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -24193,6 +24193,5 @@
"endpointId": 65534,
"networkId": 0
}
],
"log": []
]
}
2 changes: 1 addition & 1 deletion examples/all-clusters-app/linux/ValveControlDelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void ValveControlDelegate::HandleRemainingDurationTick(uint32_t duration)
sLastOpenDuration = duration;
}

void ExtendedTimeSyncDelegate::UTCTimeChanged(uint64_t time)
void ExtendedTimeSyncDelegate::UTCTimeAvailabilityChanged(uint64_t time)
{
ValveConfigurationAndControl::UpdateAutoCloseTime(time);
}
2 changes: 1 addition & 1 deletion examples/all-clusters-app/linux/ValveControlDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace TimeSynchronization {
class ExtendedTimeSyncDelegate : public DefaultTimeSyncDelegate
{
public:
void UTCTimeChanged(uint64_t time) override;
void UTCTimeAvailabilityChanged(uint64_t time) override;
};

} // namespace TimeSynchronization
Expand Down
Loading

0 comments on commit 24288f0

Please sign in to comment.