Skip to content

Commit

Permalink
Merge branch 'master' into wake_on_lan_to_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Nov 8, 2023
2 parents 88cb7e8 + 155917e commit ee85ed2
Show file tree
Hide file tree
Showing 139 changed files with 46,206 additions and 16,267 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ jobs:
TEST_RUNNER_ASAN_OPTIONS=__CURRENT_VALUE__:detect_stack_use_after_return=1 xcodebuild test -target "Matter" -scheme "Matter Framework Tests" -sdk macosx -enableAddressSanitizer YES -enableUndefinedBehaviorSanitizer YES OTHER_CFLAGS='${inherited} -Werror -Wconversion' CHIP_IS_UBSAN=YES CHIP_IS_BLE=NO GCC_PREPROCESSOR_DEFINITIONS='${inherited} MTR_NO_AVAILABILITY=1'> >(tee /tmp/darwin/framework-tests/darwin-tests-asan.log) 2> >(tee /tmp/darwin/framework-tests/darwin-tests-asan-err.log >&2)
# And the same thing, but with MTR_PER_CONTROLLER_STORAGE_ENABLED turned off, so we test that it does not break for now.
TEST_RUNNER_ASAN_OPTIONS=__CURRENT_VALUE__:detect_stack_use_after_return=1 xcodebuild test -target "Matter" -scheme "Matter Framework Tests" -sdk macosx -enableAddressSanitizer YES -enableUndefinedBehaviorSanitizer YES OTHER_CFLAGS='${inherited} -Werror -Wconversion' CHIP_IS_UBSAN=YES CHIP_IS_BLE=NO GCC_PREPROCESSOR_DEFINITIONS='${inherited} MTR_NO_AVAILABILITY=1 MTR_PER_CONTROLLER_STORAGE_ENABLED=0' > >(tee /tmp/darwin/framework-tests/darwin-tests-asan-controller-storage.log) 2> >(tee /tmp/darwin/framework-tests/darwin-tests-asan-controller-storage-err.log >&2)
# And the same thing, but with MTR_ENABLE_PROVISIONAL also turned on.
TEST_RUNNER_ASAN_OPTIONS=__CURRENT_VALUE__:detect_stack_use_after_return=1 xcodebuild test -target "Matter" -scheme "Matter Framework Tests" -sdk macosx -enableAddressSanitizer YES -enableUndefinedBehaviorSanitizer YES OTHER_CFLAGS='${inherited} -Werror -Wconversion' CHIP_IS_UBSAN=YES CHIP_IS_BLE=NO GCC_PREPROCESSOR_DEFINITIONS='${inherited} MTR_NO_AVAILABILITY=1 MTR_PER_CONTROLLER_STORAGE_ENABLED=1 MTR_ENABLE_PROVISIONAL=1' > >(tee /tmp/darwin/framework-tests/darwin-tests-asan-provisional.log) 2> >(tee /tmp/darwin/framework-tests/darwin-tests-asan-provisional-err.log >&2)
# And the same thing, but with MTR_NO_AVAILABILITY not turned on. This requires -Wno-unguarded-availability-new to avoid availability errors.
TEST_RUNNER_ASAN_OPTIONS=__CURRENT_VALUE__:detect_stack_use_after_return=1 xcodebuild test -target "Matter" -scheme "Matter Framework Tests" -sdk macosx -enableAddressSanitizer YES -enableUndefinedBehaviorSanitizer YES OTHER_CFLAGS='${inherited} -Werror -Wconversion -Wno-unguarded-availability-new' CHIP_IS_UBSAN=YES CHIP_IS_BLE=NO GCC_PREPROCESSOR_DEFINITIONS='${inherited}' > >(tee /tmp/darwin/framework-tests/darwin-tests-asan-with-availability-annotations.log) 2> >(tee /tmp/darwin/framework-tests/darwin-tests-asan-with-availability-annotations-err.log >&2)
# -enableThreadSanitizer instruments the code in Matter.framework,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6886,7 +6886,7 @@
"code": 3,
"mfgCode": null,
"side": "server",
"type": "temperature",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -7559,5 +7559,6 @@
"endpointId": 4,
"networkId": 0
}
]
],
"log": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -6883,7 +6883,7 @@
"code": 4,
"mfgCode": null,
"side": "server",
"type": "bitmap8",
"type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -14856,7 +14856,7 @@
"code": 3,
"mfgCode": null,
"side": "server",
"type": "temperature",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -20475,7 +20475,7 @@
"code": 4,
"mfgCode": null,
"side": "server",
"type": "bitmap8",
"type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -21901,5 +21901,6 @@
"endpointId": 65534,
"networkId": 0
}
]
],
"log": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -3452,12 +3452,6 @@ server cluster KeypadInput = 1289 {

/** This cluster provides an interface for launching content on a media player device such as a TV or Speaker. */
server cluster ContentLauncher = 1290 {
enum ContentLaunchStatusEnum : enum8 {
kSuccess = 0;
kUrlNotAvailable = 1;
kAuthFailed = 2;
}

enum MetricTypeEnum : enum8 {
kPixels = 0;
kPercentage = 1;
Expand All @@ -3480,12 +3474,18 @@ server cluster ContentLauncher = 1290 {
kVideo = 13;
}

enum StatusEnum : enum8 {
kSuccess = 0;
kURLNotAvailable = 1;
kAuthFailed = 2;
}

bitmap Feature : bitmap32 {
kContentSearch = 0x1;
kURLPlayback = 0x2;
}

bitmap SupportedStreamingProtocol : bitmap32 {
bitmap SupportedProtocolsBitmap : bitmap32 {
kDASH = 0x1;
kHLS = 0x2;
}
Expand All @@ -3497,13 +3497,13 @@ server cluster ContentLauncher = 1290 {
}

struct AdditionalInfoStruct {
char_string name = 0;
char_string value = 1;
char_string<256> name = 0;
char_string<8192> value = 1;
}

struct ParameterStruct {
ParameterEnum type = 0;
char_string value = 1;
char_string<1024> value = 1;
optional AdditionalInfoStruct externalIDList[] = 2;
}

Expand All @@ -3512,13 +3512,13 @@ server cluster ContentLauncher = 1290 {
}

struct StyleInformationStruct {
optional char_string imageURL = 0;
optional char_string color = 1;
optional char_string<8192> imageURL = 0;
optional char_string<9> color = 1;
optional DimensionStruct size = 2;
}

struct BrandingInformationStruct {
char_string providerName = 0;
char_string<256> providerName = 0;
optional StyleInformationStruct background = 1;
optional StyleInformationStruct logo = 2;
optional StyleInformationStruct progressBar = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4702,7 +4702,7 @@
"code": 4,
"mfgCode": null,
"side": "server",
"type": "bitmap8",
"type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -11002,7 +11002,7 @@
"code": 4,
"mfgCode": null,
"side": "server",
"type": "bitmap8",
"type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -12348,5 +12348,6 @@
"endpointId": 65534,
"networkId": 0
}
]
],
"log": []
}
Loading

0 comments on commit ee85ed2

Please sign in to comment.