Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ component:
- id: matter_shell
- id: matter_gatt_static
- id: matter_provision_default
- id: matter_read_client

- id: matter_light_switch
- id: app_common
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ component:
- id: mbedtls_entropy_default_aws
condition: [matter_aws]
- id: matter_wifi
- id: matter_read_client

- id: matter_light_switch
- id: app_common
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ component:
- id: matter_wifi_ble
- id: matter_ota_support
- id: matter_crypto
- id: matter_read_client

- id: matter_efr32_ncp
- id: matter_wifi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ component:
- id: mbedtls_entropy_default_aws
condition: [matter_aws]
- id: matter_wifi
- id: matter_read_client

- id: matter_thermostat_app
- id: app_common
Expand Down
22 changes: 13 additions & 9 deletions slc/component/matter-clusters/matter_ota_requestor.slcc
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@ source:
- path: third_party/matter_sdk/src/app/clusters/ota-requestor/OTARequestorCluster.cpp
- path: third_party/matter_sdk/src/app/clusters/ota-requestor/OTATestEventTriggerHandler.cpp
include:
- path: third_party/matter_sdk/src/controller
file_list:
- path: CHIPCluster.h
- path: CommandSenderAllocator.h
- path: InvokeInteraction.h
- path: ReadInteraction.h
- path: TypedCommandCallback.h
- path: TypedReadCallback.h
- path: WriteInteraction.h
- path: third_party/matter_sdk/src/app/clusters/ota-requestor
file_list:
- path: BDXDownloader.h
Expand All @@ -52,6 +43,19 @@ include:
- path: OTARequestorStorage.h
- path: OTARequestorUserConsentDelegate.h
- path: OTATestEventTriggerHandler.h
# TODO these dependencies need to be fixed on CSA
- path: third_party/matter_sdk/src/controller
file_list:
- path: CHIPCluster.h
- path: InvokeInteraction.h
- path: TypedCommandCallback.h
- path: ReadInteraction.h
- path: TypedReadCallback.h
- path: WriteInteraction.h
- path: CommandSenderAllocator.h
- path: third_party/matter_sdk/src/app
file_list:
- path: BufferedReadCallback.h
template_contribution:
- name: component_catalog
value: matter_ota_requestor
Expand Down
5 changes: 1 addition & 4 deletions slc/component/matter-core-sdk/interaction_model.slcc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ include:
- path: third_party/nlio/include
- path: third_party/matter_sdk/src/app
file_list:
- path: ReadClient.h # Unless we refactor everything matter needs this header even if the content is not compiled.
- path: AttributeAccessToken.h
- path: InteractionModelDelegatePointers.h
- path: InteractionModelTimeout.h
Expand Down Expand Up @@ -53,12 +54,10 @@ include:
- path: InteractionModelHelper.h
- path: InteractionModelEngine.h
- path: EventLoggingTypes.h
- path: ReadClient.h
- path: CommandResponseSender.h
- path: StatusResponse.h
- path: ReadPrepareParams.h
- path: WriteClient.h
- path: BufferedReadCallback.h
- path: EventPathParams.h
- path: CommandResponseHelper.h
- path: CommandHandlerInterface.h
Expand All @@ -70,7 +69,6 @@ include:
- path: AttributeAccessInterface.h
- path: SafeAttributePersistenceProvider.h
- path: EventHeader.h
- path: ClusterStateCache.h
- path: CASEClientPool.h
- path: SpecificationDefinedRevisions.h
- path: OperationalSessionSetupPool.h
Expand Down Expand Up @@ -100,7 +98,6 @@ source:
- path: third_party/matter_sdk/src/app/InteractionModelEngine.cpp
- path: third_party/matter_sdk/src/app/OperationalSessionSetup.cpp
- path: third_party/matter_sdk/src/app/PendingResponseTrackerImpl.cpp
- path: third_party/matter_sdk/src/app/ReadClient.cpp
- path: third_party/matter_sdk/src/app/SimpleSubscriptionResumptionStorage.cpp
- path: third_party/matter_sdk/src/app/StatusResponse.cpp
- path: third_party/matter_sdk/src/app/SubscriptionResumptionSessionEstablisher.cpp
Expand Down
5 changes: 0 additions & 5 deletions slc/component/matter-core-sdk/libchipdatamodel.slcc
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,10 @@ include:
- path: InteractionModelHelper.h
- path: InteractionModelEngine.h
- path: EventLoggingTypes.h
- path: ReadClient.h
- path: CommandResponseSender.h
- path: StatusResponse.h
- path: ReadPrepareParams.h
- path: WriteClient.h
- path: BufferedReadCallback.h
- path: EventPathParams.h
- path: CommandResponseHelper.h
- path: CommandHandlerInterface.h
Expand All @@ -83,7 +81,6 @@ include:
- path: AttributeAccessInterface.h
- path: SafeAttributePersistenceProvider.h
- path: EventHeader.h
- path: ClusterStateCache.h
- path: CASEClientPool.h
- path: SpecificationDefinedRevisions.h
- path: OperationalSessionSetupPool.h
Expand Down Expand Up @@ -115,9 +112,7 @@ source:
- path: third_party/matter_sdk/src/app/AttributeReportBuilder.cpp
- path: third_party/matter_sdk/src/app/AttributePathExpandIterator.cpp
- path: third_party/matter_sdk/src/app/AttributeValueEncoder.cpp
- path: third_party/matter_sdk/src/app/BufferedReadCallback.cpp
- path: third_party/matter_sdk/src/app/ChunkedWriteCallback.cpp
- path: third_party/matter_sdk/src/app/ClusterStateCache.cpp
- path: third_party/matter_sdk/src/app/CommandHandler.cpp
- path: third_party/matter_sdk/src/app/CommandHandlerImpl.cpp
- path: third_party/matter_sdk/src/app/CommandHandlerInterfaceRegistry.cpp
Expand Down
27 changes: 27 additions & 0 deletions slc/component/matter-core-sdk/read_client.slcc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
category: Matter|Interaction Model

description: Implements the Matter Interaction Model for the read client. Mostly used for subcription/reading attributes.
id: matter_read_client
label: read_client
package: matter
provides:
- name: matter_read_client
quality: production
metadata:
sbom:
license: "Apache 2.0"


define:
- name: CHIP_CONFIG_ENABLE_READ_CLIENT
value: 1
include:
- path: third_party/matter_sdk/src/app
file_list:
- path: BufferedReadCallback.h
- path: ReadClient.h
- path: ClusterStateCache.h
source:
- path: third_party/matter_sdk/src/app/ReadClient.cpp
- path: third_party/matter_sdk/src/app/BufferedReadCallback.cpp
- path: third_party/matter_sdk/src/app/ClusterStateCache.cpp
1 change: 1 addition & 0 deletions slc/component/matter-platform/shell/matter_shell.slcc
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ source:
condition: [matter_tracing]
- path: third_party/matter_sdk/examples/platform/silabs/shell/ble/BLEShellCommands.cpp
- path: third_party/matter_sdk/examples/platform/silabs/shell/im/IMShellCommands.cpp
condition: [matter_read_client]

define:
- name: ENABLE_CHIP_SHELL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ define:
value: "OT_LOG_LEVEL_NONE"
- name: OPENTHREAD_CONFIG_LOG_LEVEL
value: "OPENTHREAD_CONFIG_LOG_OUTPUT_NONE"
- name: SL_MATTER_CLI_ARG_PARSER
value: 0
unless: [matter_shell]
6 changes: 4 additions & 2 deletions slc/inc/app/AppBuildConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
// <q CHIP_CONFIG_SUBSCRIPTION_TIMEOUT_RESUMPTION> Matter Subscription Timeout Resumption
#define CHIP_CONFIG_SUBSCRIPTION_TIMEOUT_RESUMPTION 1

// <i> Default: 1
// <i> Default: 0
// <q CHIP_CONFIG_ENABLE_READ_CLIENT> Read Client
#define CHIP_CONFIG_ENABLE_READ_CLIENT 1
#ifndef CHIP_CONFIG_ENABLE_READ_CLIENT
#define CHIP_CONFIG_ENABLE_READ_CLIENT 0
#endif

// <i> Default: 1
// <q CHIP_CONFIG_ENABLE_SESSION_RESUMPTION> Session Resumption
Expand Down
Loading