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

Enable batch commands for the linux example all-clusters-app #31531

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/all-clusters-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ matter_log_json_payload_decode_full = true
matter_log_json_payload_hex = true
tehampson marked this conversation as resolved.
Show resolved Hide resolved
chip_enable_smoke_co_trigger = true
chip_enable_boolean_state_configuration_trigger = true

chip_max_paths_per_invoke = 5
1 change: 1 addition & 0 deletions src/lib/core/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ buildconfig_header("chip_buildconfig") {
"CHIP_CONFIG_BIG_ENDIAN_TARGET=${chip_target_is_big_endian}",
"CHIP_CONFIG_TLV_VALIDATE_CHAR_STRING_ON_WRITE=${chip_tlv_validate_char_string_on_write}",
"CHIP_CONFIG_TLV_VALIDATE_CHAR_STRING_ON_READ=${chip_tlv_validate_char_string_on_read}",
"CHIP_CONFIG_MAX_PATHS_PER_INVOKE=${chip_max_paths_per_invoke}",
"CHIP_CONFIG_SENDING_BATCH_COMMANDS_ENABLED=${chip_enable_sending_batch_commands}",
]

Expand Down
2 changes: 2 additions & 0 deletions src/lib/core/core.gni
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ declare_args() {
chip_tlv_validate_char_string_on_write = true
chip_tlv_validate_char_string_on_read = false

chip_max_paths_per_invoke = 1
tehampson marked this conversation as resolved.
Show resolved Hide resolved

chip_enable_sending_batch_commands =
current_os == "linux" || current_os == "mac" || current_os == "ios"
}
Expand Down
Loading