Edit

Build Procedure For Matter + AWS#

The following components are common for all apps and should be modified in the corresponding application-specific .slcp file.

How to Add the Matter + AWS Component#

To add the Matter + AWS component, modify the corresponding application-specific .slcp file.

  - id: matter_aws
    from: matter

To enable the component in Simplicity Studio, add the following components.

  • Go to Software components, search for Matter_Wifi. Click on Settings symbol beside Matter Wi-fi component in the left panel and enable IPV4 configuration. IPV4 ComponentIPV4 Component IPV4 Settings EnableIPV4 Settings Enable

  • In Software Components, search for aws and install the Matter AWS component.

  • Next, select the dependencies for the Matter AWS component.Default Entropy Source for Matter + AWSDefault Entropy Source for Matter + AWS Public-Key Abstaction Layer for Matter + AWSPublic-Key Abstaction Layer for Matter + AWS

How to Add the Matter + AWS Server, Client, Cluster Details.#

  • Update the definitions for the server ID, client ID and cluster in MatterAwsConfig.h:     - Update the AWS server name at #define MATTER_AWS_SERVER_HOST "".     - Update the client ID at #define MATTER_AWS_CLIENT_ID "".     - Update the cluster information at #define ZCL_USING_THERMOSTAT_CLUSTER_SERVER.

Building Matter + AWS Application#

  • After you finish modifying the .slcp project file as described above, refresh the matter-extension in Simplicity Studio.

  • On the Launcher tab, select Preferences.

Select PreferencesSelect Preferences

  • Expand the Simplicity Studio section, and click the SDKs tab.

Select SDKSelect SDK

  • Expand Simplicity SDK, and click Refresh in the side menu.

Select RefreshSelect Refresh

Compile using new/different certificates#

  • Two devices should not use the same client ID. Use a different client ID for your second connection.

  • While using AWS, update the following information:

    • Add your AWS certificates in file examples/platform/silabs/matter_aws/matter_aws_interface/include/MatterAwsNvmCert.h

    • Add your AWS server and client ID information to the examples/platform/silabs/matter_aws/matter_aws_interface/include/MatterAwsConfig.h file.

      • Provide MATTER_AWS_SERVER_HOST with your AWS Server name.

      • Provide MATTER_AWS_CLIENT_ID with your device/thing ID.

      • Provide ZCL_USING_THERMOSTAT_CLUSTER_SERVER with the cluster details.

  • The preferred certificate type to use in the application is ECDSA.

  • AWS RootCA used in this PoC is https://www.amazontrust.com/repository/AmazonRootCA3.pem