diff --git a/sld292-matter-wifi-enabling-features/dic-wifi.md b/sld292-matter-wifi-enabling-features/matter-aws.md similarity index 100% rename from sld292-matter-wifi-enabling-features/dic-wifi.md rename to sld292-matter-wifi-enabling-features/matter-aws.md diff --git a/sld297-matter-aws-feature/aws-configuration-registration.md b/sld297-matter-aws-feature/aws-configuration-registration.md new file mode 100644 index 0000000..b903458 --- /dev/null +++ b/sld297-matter-aws-feature/aws-configuration-registration.md @@ -0,0 +1,43 @@ +# Amazon Web Services (AWS) + +Amazon Web Services offers reliable, scalable, and inexpensive cloud computing services. Refer to [AWS Documentation](https://aws.amazon.com/what-is-aws/) for more details. + +## AWS CA Certificate Registration + +1. Open [AWS](https://aws.amazon.com/). +2. Log in using your AWS credentials. + +3. Go to **Security > Policies** and select **Create Policy**. Enter the policy name (e.g., `MATTER_AWS_POLICY_`). In the policy statements, select **JSON** and replace the contents with the JSON provided below: + + ```shell + { + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Action": "*", + "Resource": "*" + } + ] + } + ``` + +4. Once done, select **Create**. + +5. Create a client CSR certificate and a client key by following the steps in the [OpenSSL Certificate Creation](./openssl-certificate-creation.md) documentation. + +6. Complete the following steps to create a thing and generate certificates for your Matter application to use in the `MatterAwsNvmCert.cpp` source file: + + - Go to **All Devices > Things** and select **Create Things**. + - Select **Create Single Thing** and click **Next**. + - Under **Info > Give the thing a name**, specify the thing name (this will be the client ID), then click **Next**. + - (Optional) Configure the device certificate under **Info > Upload CSR**. + - In **Certificate > Choose file** (Choose Client CSR generated in Openssl Certificate Creation ex: `device.csr`). Click **Next**. + - Use the policy (e.g., `MATTER_AWS_POLICY_`) created in AWS Certificate creation. + - Once the thing is successfully created, activate and download the certificate. + +8. Copy the contents of [AWS_CA CERT](https://www.amazontrust.com/repository/AmazonRootCA3.pem) and add it as CA certificate in `MatterAwsNvmCert.cpp`. + +9. Repeat Step 5 to create a new thing for use in MQTT Explorer, using the certificate generated for MQTT Explorer during OpenSLL certificate creation (e.g., `explorer.csr`). Create a `.pem` file from the CA certificate in step 8 and use it as the server certificate in MQTT Explorer. + + **Note**: The thing name must be unique as it will be used as the client ID. diff --git a/sld297-matter-aws-feature/build-matter-aws.md b/sld297-matter-aws-feature/build-matter-aws.md new file mode 100644 index 0000000..48425fd --- /dev/null +++ b/sld297-matter-aws-feature/build-matter-aws.md @@ -0,0 +1,72 @@ +# 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. + +```shell + - 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 Component](images/matter_aws_ipv4_enable_1.png) + ![IPV4 Settings Enable](images/matter_aws_ipv4_enable_2.png) + +- 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 + AWS](images/matter_aws_dependency_1.png) + ![Public-Key Abstaction Layer for Matter + AWS](images/matter_aws_dependency_2.png) + +## 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 Preferences](images/select-preferences.png) + +- Expand the **Simplicity Studio** section, and click the **SDKs** tab. + + ![Select SDK](images/select-studio-sdk-option.png) + +- Expand **Simplicity SDK**, and click **Refresh** in the side menu. + + ![Select Refresh](images/select-refresh-option.png) + +- Build the Matter + AWS application using Simplicity Studio as described in + - [Build SOC Application Using Studio](/matter/{build-docspace-version}/matter-wifi-run-demo/build-soc-application-using-studio). + +## 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` + - Provide the AWS Root CA key + (https://www.amazontrust.com/repository/AmazonRootCA3.pem) + - Provide `device_certificate` and `device_key` with your device certificate and + device key. For more details, refer to + [OpenSSL Device Certificate Creation] (./openssl-certificate-creation.md) + - 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 + diff --git a/sld297-matter-wifi-dic/images/Add-sdk-path.png b/sld297-matter-aws-feature/images/Add-sdk-path.png similarity index 100% rename from sld297-matter-wifi-dic/images/Add-sdk-path.png rename to sld297-matter-aws-feature/images/Add-sdk-path.png diff --git a/sld297-matter-wifi-dic/images/Add-sdk.png b/sld297-matter-aws-feature/images/Add-sdk.png similarity index 100% rename from sld297-matter-wifi-dic/images/Add-sdk.png rename to sld297-matter-aws-feature/images/Add-sdk.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-SoC-Kermit.png b/sld297-matter-aws-feature/images/SiWx917-SoC-Kermit.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-SoC-Kermit.png rename to sld297-matter-aws-feature/images/SiWx917-SoC-Kermit.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-Preferences.png b/sld297-matter-aws-feature/images/SiWx917-soc-Preferences.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-Preferences.png rename to sld297-matter-aws-feature/images/SiWx917-soc-Preferences.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-board-selection.png b/sld297-matter-aws-feature/images/SiWx917-soc-board-selection.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-board-selection.png rename to sld297-matter-aws-feature/images/SiWx917-soc-board-selection.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-build-wifi-project.png b/sld297-matter-aws-feature/images/SiWx917-soc-build-wifi-project.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-build-wifi-project.png rename to sld297-matter-aws-feature/images/SiWx917-soc-build-wifi-project.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-create-wifi-projects.png b/sld297-matter-aws-feature/images/SiWx917-soc-create-wifi-projects.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-create-wifi-projects.png rename to sld297-matter-aws-feature/images/SiWx917-soc-create-wifi-projects.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-debug-adapter.png b/sld297-matter-aws-feature/images/SiWx917-soc-debug-adapter.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-debug-adapter.png rename to sld297-matter-aws-feature/images/SiWx917-soc-debug-adapter.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-debug.png b/sld297-matter-aws-feature/images/SiWx917-soc-debug.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-debug.png rename to sld297-matter-aws-feature/images/SiWx917-soc-debug.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-flash-program.png b/sld297-matter-aws-feature/images/SiWx917-soc-flash-program.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-flash-program.png rename to sld297-matter-aws-feature/images/SiWx917-soc-flash-program.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-flash-todevice.png b/sld297-matter-aws-feature/images/SiWx917-soc-flash-todevice.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-flash-todevice.png rename to sld297-matter-aws-feature/images/SiWx917-soc-flash-todevice.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-install-manager.png b/sld297-matter-aws-feature/images/SiWx917-soc-install-manager.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-install-manager.png rename to sld297-matter-aws-feature/images/SiWx917-soc-install-manager.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-isp-binary-selection.png b/sld297-matter-aws-feature/images/SiWx917-soc-isp-binary-selection.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-isp-binary-selection.png rename to sld297-matter-aws-feature/images/SiWx917-soc-isp-binary-selection.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-project-wizard.png b/sld297-matter-aws-feature/images/SiWx917-soc-project-wizard.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-project-wizard.png rename to sld297-matter-aws-feature/images/SiWx917-soc-project-wizard.png diff --git a/sld297-matter-wifi-dic/images/SiWx917-soc-slpb.png b/sld297-matter-aws-feature/images/SiWx917-soc-slpb.png similarity index 100% rename from sld297-matter-wifi-dic/images/SiWx917-soc-slpb.png rename to sld297-matter-aws-feature/images/SiWx917-soc-slpb.png diff --git a/sld297-matter-wifi-dic/images/all-products-selection.png b/sld297-matter-aws-feature/images/all-products-selection.png similarity index 100% rename from sld297-matter-wifi-dic/images/all-products-selection.png rename to sld297-matter-aws-feature/images/all-products-selection.png diff --git a/sld297-matter-wifi-dic/images/amazon-alexa-add-device.png b/sld297-matter-aws-feature/images/amazon-alexa-add-device.png similarity index 100% rename from sld297-matter-wifi-dic/images/amazon-alexa-add-device.png rename to sld297-matter-aws-feature/images/amazon-alexa-add-device.png diff --git a/sld297-matter-wifi-dic/images/amazon-alexa-app-added.png b/sld297-matter-aws-feature/images/amazon-alexa-app-added.png similarity index 100% rename from sld297-matter-wifi-dic/images/amazon-alexa-app-added.png rename to sld297-matter-aws-feature/images/amazon-alexa-app-added.png diff --git a/sld297-matter-wifi-dic/images/amazon-alexa-app.png b/sld297-matter-aws-feature/images/amazon-alexa-app.png similarity index 100% rename from sld297-matter-wifi-dic/images/amazon-alexa-app.png rename to sld297-matter-aws-feature/images/amazon-alexa-app.png diff --git a/sld297-matter-wifi-dic/images/amazon-alexa-application-added-to-group.png b/sld297-matter-aws-feature/images/amazon-alexa-application-added-to-group.png similarity index 100% rename from sld297-matter-wifi-dic/images/amazon-alexa-application-added-to-group.png rename to sld297-matter-aws-feature/images/amazon-alexa-application-added-to-group.png diff --git a/sld297-matter-wifi-dic/images/amazon-alexa-device-selection.png b/sld297-matter-aws-feature/images/amazon-alexa-device-selection.png similarity index 100% rename from sld297-matter-wifi-dic/images/amazon-alexa-device-selection.png rename to sld297-matter-aws-feature/images/amazon-alexa-device-selection.png diff --git a/sld297-matter-wifi-dic/images/amazon-alexa-logos.png b/sld297-matter-aws-feature/images/amazon-alexa-logos.png similarity index 100% rename from sld297-matter-wifi-dic/images/amazon-alexa-logos.png rename to sld297-matter-aws-feature/images/amazon-alexa-logos.png diff --git a/sld297-matter-wifi-dic/images/amazon-alexa-scan-qr-code.png b/sld297-matter-aws-feature/images/amazon-alexa-scan-qr-code.png similarity index 100% rename from sld297-matter-wifi-dic/images/amazon-alexa-scan-qr-code.png rename to sld297-matter-aws-feature/images/amazon-alexa-scan-qr-code.png diff --git a/sld297-matter-wifi-dic/images/amazon-alexa-select-group.png b/sld297-matter-aws-feature/images/amazon-alexa-select-group.png similarity index 100% rename from sld297-matter-wifi-dic/images/amazon-alexa-select-group.png rename to sld297-matter-aws-feature/images/amazon-alexa-select-group.png diff --git a/sld297-matter-wifi-dic/images/apple-home-app-add-accessory.png b/sld297-matter-aws-feature/images/apple-home-app-add-accessory.png similarity index 100% rename from sld297-matter-wifi-dic/images/apple-home-app-add-accessory.png rename to sld297-matter-aws-feature/images/apple-home-app-add-accessory.png diff --git a/sld297-matter-wifi-dic/images/apple-home-app-scan-qr-code.png b/sld297-matter-aws-feature/images/apple-home-app-scan-qr-code.png similarity index 100% rename from sld297-matter-wifi-dic/images/apple-home-app-scan-qr-code.png rename to sld297-matter-aws-feature/images/apple-home-app-scan-qr-code.png diff --git a/sld297-matter-wifi-dic/images/apple-home-app.png b/sld297-matter-aws-feature/images/apple-home-app.png similarity index 100% rename from sld297-matter-wifi-dic/images/apple-home-app.png rename to sld297-matter-aws-feature/images/apple-home-app.png diff --git a/sld297-matter-wifi-dic/images/click-add-extensions.png b/sld297-matter-aws-feature/images/click-add-extensions.png similarity index 100% rename from sld297-matter-wifi-dic/images/click-add-extensions.png rename to sld297-matter-aws-feature/images/click-add-extensions.png diff --git a/sld297-matter-wifi-dic/images/click-browse.png b/sld297-matter-aws-feature/images/click-browse.png similarity index 100% rename from sld297-matter-wifi-dic/images/click-browse.png rename to sld297-matter-aws-feature/images/click-browse.png diff --git a/sld297-matter-wifi-dic/images/click-manage-sdks-efx-board.png b/sld297-matter-aws-feature/images/click-manage-sdks-efx-board.png similarity index 100% rename from sld297-matter-wifi-dic/images/click-manage-sdks-efx-board.png rename to sld297-matter-aws-feature/images/click-manage-sdks-efx-board.png diff --git a/sld297-matter-wifi-dic/images/commander-click-flash-button.png b/sld297-matter-aws-feature/images/commander-click-flash-button.png similarity index 100% rename from sld297-matter-wifi-dic/images/commander-click-flash-button.png rename to sld297-matter-aws-feature/images/commander-click-flash-button.png diff --git a/sld297-matter-wifi-dic/images/commander-flash-success-efr32.png b/sld297-matter-aws-feature/images/commander-flash-success-efr32.png similarity index 100% rename from sld297-matter-wifi-dic/images/commander-flash-success-efr32.png rename to sld297-matter-aws-feature/images/commander-flash-success-efr32.png diff --git a/sld297-matter-wifi-dic/images/commander-flash-success-soc.png b/sld297-matter-aws-feature/images/commander-flash-success-soc.png similarity index 100% rename from sld297-matter-wifi-dic/images/commander-flash-success-soc.png rename to sld297-matter-aws-feature/images/commander-flash-success-soc.png diff --git a/sld297-matter-wifi-dic/images/commander-flash-success.png b/sld297-matter-aws-feature/images/commander-flash-success.png similarity index 100% rename from sld297-matter-wifi-dic/images/commander-flash-success.png rename to sld297-matter-aws-feature/images/commander-flash-success.png diff --git a/sld297-matter-wifi-dic/images/commander-select-board.png b/sld297-matter-aws-feature/images/commander-select-board.png similarity index 100% rename from sld297-matter-wifi-dic/images/commander-select-board.png rename to sld297-matter-aws-feature/images/commander-select-board.png diff --git a/sld297-matter-wifi-dic/images/control-device-through-cloud.png b/sld297-matter-aws-feature/images/control-device-through-cloud.png similarity index 100% rename from sld297-matter-wifi-dic/images/control-device-through-cloud.png rename to sld297-matter-aws-feature/images/control-device-through-cloud.png diff --git a/sld297-matter-wifi-dic/images/create-project-click-finish.png b/sld297-matter-aws-feature/images/create-project-click-finish.png similarity index 100% rename from sld297-matter-wifi-dic/images/create-project-click-finish.png rename to sld297-matter-aws-feature/images/create-project-click-finish.png diff --git a/sld297-matter-wifi-dic/images/create-project-lock-click-finish.png b/sld297-matter-aws-feature/images/create-project-lock-click-finish.png similarity index 100% rename from sld297-matter-wifi-dic/images/create-project-lock-click-finish.png rename to sld297-matter-aws-feature/images/create-project-lock-click-finish.png diff --git a/sld297-matter-wifi-dic/images/create-project-select-efx-example.png b/sld297-matter-aws-feature/images/create-project-select-efx-example.png similarity index 100% rename from sld297-matter-wifi-dic/images/create-project-select-efx-example.png rename to sld297-matter-aws-feature/images/create-project-select-efx-example.png diff --git a/sld297-matter-wifi-dic/images/create-project-select-efx-lock-example.png b/sld297-matter-aws-feature/images/create-project-select-efx-lock-example.png similarity index 100% rename from sld297-matter-wifi-dic/images/create-project-select-efx-lock-example.png rename to sld297-matter-aws-feature/images/create-project-select-efx-lock-example.png diff --git a/sld297-matter-wifi-dic/images/create-project-verify-efx-general-information.png b/sld297-matter-aws-feature/images/create-project-verify-efx-general-information.png similarity index 100% rename from sld297-matter-wifi-dic/images/create-project-verify-efx-general-information.png rename to sld297-matter-aws-feature/images/create-project-verify-efx-general-information.png diff --git a/sld297-matter-wifi-dic/images/debug-application-debug-options.png b/sld297-matter-aws-feature/images/debug-application-debug-options.png similarity index 100% rename from sld297-matter-wifi-dic/images/debug-application-debug-options.png rename to sld297-matter-aws-feature/images/debug-application-debug-options.png diff --git a/sld297-matter-wifi-dic/images/debug-application-switch-to-debug-mode.png b/sld297-matter-aws-feature/images/debug-application-switch-to-debug-mode.png similarity index 100% rename from sld297-matter-wifi-dic/images/debug-application-switch-to-debug-mode.png rename to sld297-matter-aws-feature/images/debug-application-switch-to-debug-mode.png diff --git a/sld297-matter-wifi-dic/images/device-configuration.png b/sld297-matter-aws-feature/images/device-configuration.png similarity index 100% rename from sld297-matter-wifi-dic/images/device-configuration.png rename to sld297-matter-aws-feature/images/device-configuration.png diff --git a/sld297-matter-wifi-dic/images/dic-aws-ota.png b/sld297-matter-aws-feature/images/dic-aws-ota.png similarity index 100% rename from sld297-matter-wifi-dic/images/dic-aws-ota.png rename to sld297-matter-aws-feature/images/dic-aws-ota.png diff --git a/sld297-matter-wifi-dic/images/dic-control-part.png b/sld297-matter-aws-feature/images/dic-control-part.png similarity index 100% rename from sld297-matter-wifi-dic/images/dic-control-part.png rename to sld297-matter-aws-feature/images/dic-control-part.png diff --git a/sld297-matter-wifi-dic/images/dic-extension-refresh-1.png b/sld297-matter-aws-feature/images/dic-extension-refresh-1.png similarity index 100% rename from sld297-matter-wifi-dic/images/dic-extension-refresh-1.png rename to sld297-matter-aws-feature/images/dic-extension-refresh-1.png diff --git a/sld297-matter-wifi-dic/images/dic-extension-refresh.png b/sld297-matter-aws-feature/images/dic-extension-refresh.png similarity index 100% rename from sld297-matter-wifi-dic/images/dic-extension-refresh.png rename to sld297-matter-aws-feature/images/dic-extension-refresh.png diff --git a/sld297-matter-wifi-dic/images/dic-status-sharing.png b/sld297-matter-aws-feature/images/dic-status-sharing.png similarity index 100% rename from sld297-matter-wifi-dic/images/dic-status-sharing.png rename to sld297-matter-aws-feature/images/dic-status-sharing.png diff --git a/sld297-matter-wifi-dic/images/download-aws-ota-through-cloud.png b/sld297-matter-aws-feature/images/download-aws-ota-through-cloud.png similarity index 100% rename from sld297-matter-wifi-dic/images/download-aws-ota-through-cloud.png rename to sld297-matter-aws-feature/images/download-aws-ota-through-cloud.png diff --git a/sld297-matter-wifi-dic/images/export-path-for-cli-build.png b/sld297-matter-aws-feature/images/export-path-for-cli-build.png similarity index 100% rename from sld297-matter-wifi-dic/images/export-path-for-cli-build.png rename to sld297-matter-aws-feature/images/export-path-for-cli-build.png diff --git a/sld297-matter-wifi-dic/images/flash-binary-to-efx32-device.png b/sld297-matter-aws-feature/images/flash-binary-to-efx32-device.png similarity index 100% rename from sld297-matter-wifi-dic/images/flash-binary-to-efx32-device.png rename to sld297-matter-aws-feature/images/flash-binary-to-efx32-device.png diff --git a/sld297-matter-wifi-dic/images/google-home-app-account-prompt.png b/sld297-matter-aws-feature/images/google-home-app-account-prompt.png similarity index 100% rename from sld297-matter-wifi-dic/images/google-home-app-account-prompt.png rename to sld297-matter-aws-feature/images/google-home-app-account-prompt.png diff --git a/sld297-matter-wifi-dic/images/google-home-app-add-device.png b/sld297-matter-aws-feature/images/google-home-app-add-device.png similarity index 100% rename from sld297-matter-wifi-dic/images/google-home-app-add-device.png rename to sld297-matter-aws-feature/images/google-home-app-add-device.png diff --git a/sld297-matter-wifi-dic/images/google-home-app-connected.png b/sld297-matter-aws-feature/images/google-home-app-connected.png similarity index 100% rename from sld297-matter-wifi-dic/images/google-home-app-connected.png rename to sld297-matter-aws-feature/images/google-home-app-connected.png diff --git a/sld297-matter-wifi-dic/images/google-home-app-connecting.png b/sld297-matter-aws-feature/images/google-home-app-connecting.png similarity index 100% rename from sld297-matter-wifi-dic/images/google-home-app-connecting.png rename to sld297-matter-aws-feature/images/google-home-app-connecting.png diff --git a/sld297-matter-wifi-dic/images/google-home-app-give-app-name.png b/sld297-matter-aws-feature/images/google-home-app-give-app-name.png similarity index 100% rename from sld297-matter-wifi-dic/images/google-home-app-give-app-name.png rename to sld297-matter-aws-feature/images/google-home-app-give-app-name.png diff --git a/sld297-matter-wifi-dic/images/google-home-app-light-added.png b/sld297-matter-aws-feature/images/google-home-app-light-added.png similarity index 100% rename from sld297-matter-wifi-dic/images/google-home-app-light-added.png rename to sld297-matter-aws-feature/images/google-home-app-light-added.png diff --git a/sld297-matter-wifi-dic/images/google-home-app-looking-for-device.png b/sld297-matter-aws-feature/images/google-home-app-looking-for-device.png similarity index 100% rename from sld297-matter-wifi-dic/images/google-home-app-looking-for-device.png rename to sld297-matter-aws-feature/images/google-home-app-looking-for-device.png diff --git a/sld297-matter-wifi-dic/images/google-home-app-matter-enabled-device.png b/sld297-matter-aws-feature/images/google-home-app-matter-enabled-device.png similarity index 100% rename from sld297-matter-wifi-dic/images/google-home-app-matter-enabled-device.png rename to sld297-matter-aws-feature/images/google-home-app-matter-enabled-device.png diff --git a/sld297-matter-wifi-dic/images/google-home-app-new-device.png b/sld297-matter-aws-feature/images/google-home-app-new-device.png similarity index 100% rename from sld297-matter-wifi-dic/images/google-home-app-new-device.png rename to sld297-matter-aws-feature/images/google-home-app-new-device.png diff --git a/sld297-matter-wifi-dic/images/google-home-app-select-home.png b/sld297-matter-aws-feature/images/google-home-app-select-home.png similarity index 100% rename from sld297-matter-wifi-dic/images/google-home-app-select-home.png rename to sld297-matter-aws-feature/images/google-home-app-select-home.png diff --git a/sld297-matter-wifi-dic/images/google-home-app-select-room.png b/sld297-matter-aws-feature/images/google-home-app-select-room.png similarity index 100% rename from sld297-matter-wifi-dic/images/google-home-app-select-room.png rename to sld297-matter-aws-feature/images/google-home-app-select-room.png diff --git a/sld297-matter-wifi-dic/images/install-gecko-sdk-step-1.png b/sld297-matter-aws-feature/images/install-gecko-sdk-step-1.png similarity index 100% rename from sld297-matter-wifi-dic/images/install-gecko-sdk-step-1.png rename to sld297-matter-aws-feature/images/install-gecko-sdk-step-1.png diff --git a/sld297-matter-wifi-dic/images/install-gecko-sdk-step-2.png b/sld297-matter-aws-feature/images/install-gecko-sdk-step-2.png similarity index 100% rename from sld297-matter-wifi-dic/images/install-gecko-sdk-step-2.png rename to sld297-matter-aws-feature/images/install-gecko-sdk-step-2.png diff --git a/sld297-matter-wifi-dic/images/install-gecko-sdk-step-3.png b/sld297-matter-aws-feature/images/install-gecko-sdk-step-3.png similarity index 100% rename from sld297-matter-wifi-dic/images/install-gecko-sdk-step-3.png rename to sld297-matter-aws-feature/images/install-gecko-sdk-step-3.png diff --git a/sld297-matter-wifi-dic/images/install-wc3-ext-add-sdk-extensions-window.png b/sld297-matter-aws-feature/images/install-wc3-ext-add-sdk-extensions-window.png similarity index 100% rename from sld297-matter-wifi-dic/images/install-wc3-ext-add-sdk-extensions-window.png rename to sld297-matter-aws-feature/images/install-wc3-ext-add-sdk-extensions-window.png diff --git a/sld297-matter-wifi-dic/images/install-wiseconnect-3-ext-manage-sdks-trust-popup.png b/sld297-matter-aws-feature/images/install-wiseconnect-3-ext-manage-sdks-trust-popup.png similarity index 100% rename from sld297-matter-wifi-dic/images/install-wiseconnect-3-ext-manage-sdks-trust-popup.png rename to sld297-matter-aws-feature/images/install-wiseconnect-3-ext-manage-sdks-trust-popup.png diff --git a/sld297-matter-wifi-dic/images/install-wiseconnect-sdk-step-1.png b/sld297-matter-aws-feature/images/install-wiseconnect-sdk-step-1.png similarity index 100% rename from sld297-matter-wifi-dic/images/install-wiseconnect-sdk-step-1.png rename to sld297-matter-aws-feature/images/install-wiseconnect-sdk-step-1.png diff --git a/sld297-matter-wifi-dic/images/install-wiseconnect-sdk-step-2.png b/sld297-matter-aws-feature/images/install-wiseconnect-sdk-step-2.png similarity index 100% rename from sld297-matter-wifi-dic/images/install-wiseconnect-sdk-step-2.png rename to sld297-matter-aws-feature/images/install-wiseconnect-sdk-step-2.png diff --git a/sld297-matter-wifi-dic/images/matter-apple-application-info.png b/sld297-matter-aws-feature/images/matter-apple-application-info.png similarity index 100% rename from sld297-matter-wifi-dic/images/matter-apple-application-info.png rename to sld297-matter-aws-feature/images/matter-apple-application-info.png diff --git a/sld297-matter-wifi-dic/images/matter-apple-application-setup-code.png b/sld297-matter-aws-feature/images/matter-apple-application-setup-code.png similarity index 100% rename from sld297-matter-wifi-dic/images/matter-apple-application-setup-code.png rename to sld297-matter-aws-feature/images/matter-apple-application-setup-code.png diff --git a/sld297-matter-wifi-dic/images/dic-flow.png b/sld297-matter-aws-feature/images/matter-aws-flow.png similarity index 100% rename from sld297-matter-wifi-dic/images/dic-flow.png rename to sld297-matter-aws-feature/images/matter-aws-flow.png diff --git a/sld297-matter-wifi-dic/images/matter-google-add-setup-code.png b/sld297-matter-aws-feature/images/matter-google-add-setup-code.png similarity index 100% rename from sld297-matter-wifi-dic/images/matter-google-add-setup-code.png rename to sld297-matter-aws-feature/images/matter-google-add-setup-code.png diff --git a/sld297-matter-wifi-dic/images/matter-rtt-qr-code-link.png b/sld297-matter-aws-feature/images/matter-rtt-qr-code-link.png similarity index 100% rename from sld297-matter-wifi-dic/images/matter-rtt-qr-code-link.png rename to sld297-matter-aws-feature/images/matter-rtt-qr-code-link.png diff --git a/sld297-matter-wifi-dic/images/matter-shell-command-send.png b/sld297-matter-aws-feature/images/matter-shell-command-send.png similarity index 100% rename from sld297-matter-wifi-dic/images/matter-shell-command-send.png rename to sld297-matter-aws-feature/images/matter-shell-command-send.png diff --git a/sld297-matter-wifi-dic/images/matter-shell-enable.png b/sld297-matter-aws-feature/images/matter-shell-enable.png similarity index 100% rename from sld297-matter-wifi-dic/images/matter-shell-enable.png rename to sld297-matter-aws-feature/images/matter-shell-enable.png diff --git a/sld297-matter-aws-feature/images/matter_aws_component_add.png b/sld297-matter-aws-feature/images/matter_aws_component_add.png new file mode 100644 index 0000000..db855dc Binary files /dev/null and b/sld297-matter-aws-feature/images/matter_aws_component_add.png differ diff --git a/sld297-matter-aws-feature/images/matter_aws_dependency_1.png b/sld297-matter-aws-feature/images/matter_aws_dependency_1.png new file mode 100644 index 0000000..7f1bb55 Binary files /dev/null and b/sld297-matter-aws-feature/images/matter_aws_dependency_1.png differ diff --git a/sld297-matter-aws-feature/images/matter_aws_dependency_2.png b/sld297-matter-aws-feature/images/matter_aws_dependency_2.png new file mode 100644 index 0000000..5d7a0c1 Binary files /dev/null and b/sld297-matter-aws-feature/images/matter_aws_dependency_2.png differ diff --git a/sld297-matter-aws-feature/images/matter_aws_ipv4_enable_1.png b/sld297-matter-aws-feature/images/matter_aws_ipv4_enable_1.png new file mode 100644 index 0000000..537087a Binary files /dev/null and b/sld297-matter-aws-feature/images/matter_aws_ipv4_enable_1.png differ diff --git a/sld297-matter-aws-feature/images/matter_aws_ipv4_enable_2.png b/sld297-matter-aws-feature/images/matter_aws_ipv4_enable_2.png new file mode 100644 index 0000000..225a7c2 Binary files /dev/null and b/sld297-matter-aws-feature/images/matter_aws_ipv4_enable_2.png differ diff --git a/sld297-matter-wifi-dic/images/memory-footprint-report.png b/sld297-matter-aws-feature/images/memory-footprint-report.png similarity index 100% rename from sld297-matter-wifi-dic/images/memory-footprint-report.png rename to sld297-matter-aws-feature/images/memory-footprint-report.png diff --git a/sld297-matter-wifi-dic/images/memory-usage-report.png b/sld297-matter-aws-feature/images/memory-usage-report.png similarity index 100% rename from sld297-matter-wifi-dic/images/memory-usage-report.png rename to sld297-matter-aws-feature/images/memory-usage-report.png diff --git a/sld297-matter-wifi-dic/images/mg12-wf200.jpg b/sld297-matter-aws-feature/images/mg12-wf200.jpg similarity index 100% rename from sld297-matter-wifi-dic/images/mg12-wf200.jpg rename to sld297-matter-aws-feature/images/mg12-wf200.jpg diff --git a/sld297-matter-wifi-dic/images/mg21-si917-board.jpg b/sld297-matter-aws-feature/images/mg21-si917-board.jpg similarity index 100% rename from sld297-matter-wifi-dic/images/mg21-si917-board.jpg rename to sld297-matter-aws-feature/images/mg21-si917-board.jpg diff --git a/sld297-matter-wifi-dic/images/mount-efr32.png b/sld297-matter-aws-feature/images/mount-efr32.png similarity index 100% rename from sld297-matter-wifi-dic/images/mount-efr32.png rename to sld297-matter-aws-feature/images/mount-efr32.png diff --git a/sld297-matter-wifi-dic/images/mount-expansion.png b/sld297-matter-aws-feature/images/mount-expansion.png similarity index 100% rename from sld297-matter-wifi-dic/images/mount-expansion.png rename to sld297-matter-aws-feature/images/mount-expansion.png diff --git a/sld297-matter-wifi-dic/images/mount-soc.png b/sld297-matter-aws-feature/images/mount-soc.png similarity index 100% rename from sld297-matter-wifi-dic/images/mount-soc.png rename to sld297-matter-aws-feature/images/mount-soc.png diff --git a/sld297-matter-wifi-dic/images/mqtt-explorer-1.png b/sld297-matter-aws-feature/images/mqtt-explorer-1.png similarity index 100% rename from sld297-matter-wifi-dic/images/mqtt-explorer-1.png rename to sld297-matter-aws-feature/images/mqtt-explorer-1.png diff --git a/sld297-matter-wifi-dic/images/mqtt-explorer-2.png b/sld297-matter-aws-feature/images/mqtt-explorer-2.png similarity index 100% rename from sld297-matter-wifi-dic/images/mqtt-explorer-2.png rename to sld297-matter-aws-feature/images/mqtt-explorer-2.png diff --git a/sld297-matter-wifi-dic/images/mqtt-explorer-3.png b/sld297-matter-aws-feature/images/mqtt-explorer-3.png similarity index 100% rename from sld297-matter-wifi-dic/images/mqtt-explorer-3.png rename to sld297-matter-aws-feature/images/mqtt-explorer-3.png diff --git a/sld297-matter-wifi-dic/images/mqtt-explorer-4.png b/sld297-matter-aws-feature/images/mqtt-explorer-4.png similarity index 100% rename from sld297-matter-wifi-dic/images/mqtt-explorer-4.png rename to sld297-matter-aws-feature/images/mqtt-explorer-4.png diff --git a/sld297-matter-wifi-dic/images/mqtt-explorer-5.png b/sld297-matter-aws-feature/images/mqtt-explorer-5.png similarity index 100% rename from sld297-matter-wifi-dic/images/mqtt-explorer-5.png rename to sld297-matter-aws-feature/images/mqtt-explorer-5.png diff --git a/sld297-matter-wifi-dic/images/openssl-csr-common-name-ref.png b/sld297-matter-aws-feature/images/openssl-csr-common-name-ref.png similarity index 100% rename from sld297-matter-wifi-dic/images/openssl-csr-common-name-ref.png rename to sld297-matter-aws-feature/images/openssl-csr-common-name-ref.png diff --git a/sld297-matter-wifi-dic/images/optimize-lcd-sleepy.png b/sld297-matter-aws-feature/images/optimize-lcd-sleepy.png similarity index 100% rename from sld297-matter-wifi-dic/images/optimize-lcd-sleepy.png rename to sld297-matter-aws-feature/images/optimize-lcd-sleepy.png diff --git a/sld297-matter-wifi-dic/images/overview-tab-efx32.png b/sld297-matter-aws-feature/images/overview-tab-efx32.png similarity index 100% rename from sld297-matter-wifi-dic/images/overview-tab-efx32.png rename to sld297-matter-aws-feature/images/overview-tab-efx32.png diff --git a/sld297-matter-wifi-dic/images/project-created-efx32.png b/sld297-matter-aws-feature/images/project-created-efx32.png similarity index 100% rename from sld297-matter-wifi-dic/images/project-created-efx32.png rename to sld297-matter-aws-feature/images/project-created-efx32.png diff --git a/sld297-matter-wifi-dic/images/samsung-app-add-device.png b/sld297-matter-aws-feature/images/samsung-app-add-device.png similarity index 100% rename from sld297-matter-wifi-dic/images/samsung-app-add-device.png rename to sld297-matter-aws-feature/images/samsung-app-add-device.png diff --git a/sld297-matter-wifi-dic/images/samsung-app-commissioning.png b/sld297-matter-aws-feature/images/samsung-app-commissioning.png similarity index 100% rename from sld297-matter-wifi-dic/images/samsung-app-commissioning.png rename to sld297-matter-aws-feature/images/samsung-app-commissioning.png diff --git a/sld297-matter-wifi-dic/images/samsung-app-select-partner.png b/sld297-matter-aws-feature/images/samsung-app-select-partner.png similarity index 100% rename from sld297-matter-wifi-dic/images/samsung-app-select-partner.png rename to sld297-matter-aws-feature/images/samsung-app-select-partner.png diff --git a/sld297-matter-wifi-dic/images/samsung-light-added.png b/sld297-matter-aws-feature/images/samsung-light-added.png similarity index 100% rename from sld297-matter-wifi-dic/images/samsung-light-added.png rename to sld297-matter-aws-feature/images/samsung-light-added.png diff --git a/sld297-matter-wifi-dic/images/samsung-register-device.png b/sld297-matter-aws-feature/images/samsung-register-device.png similarity index 100% rename from sld297-matter-wifi-dic/images/samsung-register-device.png rename to sld297-matter-aws-feature/images/samsung-register-device.png diff --git a/sld297-matter-wifi-dic/images/sd-into-pi.png b/sld297-matter-aws-feature/images/sd-into-pi.png similarity index 100% rename from sld297-matter-wifi-dic/images/sd-into-pi.png rename to sld297-matter-aws-feature/images/sd-into-pi.png diff --git a/sld297-matter-wifi-dic/images/select-binary-to-flash-efx32.png b/sld297-matter-aws-feature/images/select-binary-to-flash-efx32.png similarity index 100% rename from sld297-matter-wifi-dic/images/select-binary-to-flash-efx32.png rename to sld297-matter-aws-feature/images/select-binary-to-flash-efx32.png diff --git a/sld297-matter-wifi-dic/images/select-commander.png b/sld297-matter-aws-feature/images/select-commander.png similarity index 100% rename from sld297-matter-wifi-dic/images/select-commander.png rename to sld297-matter-aws-feature/images/select-commander.png diff --git a/sld297-matter-wifi-dic/images/select-efx-board.png b/sld297-matter-aws-feature/images/select-efx-board.png similarity index 100% rename from sld297-matter-wifi-dic/images/select-efx-board.png rename to sld297-matter-aws-feature/images/select-efx-board.png diff --git a/sld297-matter-wifi-dic/images/select-flash-option-efr32-commander.png b/sld297-matter-aws-feature/images/select-flash-option-efr32-commander.png similarity index 100% rename from sld297-matter-wifi-dic/images/select-flash-option-efr32-commander.png rename to sld297-matter-aws-feature/images/select-flash-option-efr32-commander.png diff --git a/sld297-matter-wifi-dic/images/select-flash-option-in-commander.png b/sld297-matter-aws-feature/images/select-flash-option-in-commander.png similarity index 100% rename from sld297-matter-wifi-dic/images/select-flash-option-in-commander.png rename to sld297-matter-aws-feature/images/select-flash-option-in-commander.png diff --git a/sld297-matter-wifi-dic/images/select-flash-option-soc-commander.png b/sld297-matter-aws-feature/images/select-flash-option-soc-commander.png similarity index 100% rename from sld297-matter-wifi-dic/images/select-flash-option-soc-commander.png rename to sld297-matter-aws-feature/images/select-flash-option-soc-commander.png diff --git a/sld297-matter-wifi-dic/images/select-preferences.png b/sld297-matter-aws-feature/images/select-preferences.png similarity index 100% rename from sld297-matter-wifi-dic/images/select-preferences.png rename to sld297-matter-aws-feature/images/select-preferences.png diff --git a/sld297-matter-wifi-dic/images/select-refresh-option.png b/sld297-matter-aws-feature/images/select-refresh-option.png similarity index 100% rename from sld297-matter-wifi-dic/images/select-refresh-option.png rename to sld297-matter-aws-feature/images/select-refresh-option.png diff --git a/sld297-matter-wifi-dic/images/select-studio-sdk-option.png b/sld297-matter-aws-feature/images/select-studio-sdk-option.png similarity index 100% rename from sld297-matter-wifi-dic/images/select-studio-sdk-option.png rename to sld297-matter-aws-feature/images/select-studio-sdk-option.png diff --git a/sld297-matter-wifi-dic/images/selected-gsdk.png b/sld297-matter-aws-feature/images/selected-gsdk.png similarity index 100% rename from sld297-matter-wifi-dic/images/selected-gsdk.png rename to sld297-matter-aws-feature/images/selected-gsdk.png diff --git a/sld297-matter-wifi-dic/images/selected-sdk.png b/sld297-matter-aws-feature/images/selected-sdk.png similarity index 100% rename from sld297-matter-wifi-dic/images/selected-sdk.png rename to sld297-matter-aws-feature/images/selected-sdk.png diff --git a/sld297-matter-wifi-dic/images/si917-board.png b/sld297-matter-aws-feature/images/si917-board.png similarity index 100% rename from sld297-matter-wifi-dic/images/si917-board.png rename to sld297-matter-aws-feature/images/si917-board.png diff --git a/sld297-matter-wifi-dic/images/simplicity-commander-flash-bootloader.png b/sld297-matter-aws-feature/images/simplicity-commander-flash-bootloader.png similarity index 100% rename from sld297-matter-wifi-dic/images/simplicity-commander-flash-bootloader.png rename to sld297-matter-aws-feature/images/simplicity-commander-flash-bootloader.png diff --git a/sld297-matter-wifi-dic/images/siwx917-ncp-powermeasurement-pins.png b/sld297-matter-aws-feature/images/siwx917-ncp-powermeasurement-pins.png similarity index 100% rename from sld297-matter-wifi-dic/images/siwx917-ncp-powermeasurement-pins.png rename to sld297-matter-aws-feature/images/siwx917-ncp-powermeasurement-pins.png diff --git a/sld297-matter-wifi-dic/images/siwx917-radio-wstk.png b/sld297-matter-aws-feature/images/siwx917-radio-wstk.png similarity index 100% rename from sld297-matter-wifi-dic/images/siwx917-radio-wstk.png rename to sld297-matter-aws-feature/images/siwx917-radio-wstk.png diff --git a/sld297-matter-wifi-dic/images/siwx917-soc-fwflash-option.png b/sld297-matter-aws-feature/images/siwx917-soc-fwflash-option.png similarity index 100% rename from sld297-matter-wifi-dic/images/siwx917-soc-fwflash-option.png rename to sld297-matter-aws-feature/images/siwx917-soc-fwflash-option.png diff --git a/sld297-matter-wifi-dic/images/siwx917-soc-launcher-tab.png b/sld297-matter-aws-feature/images/siwx917-soc-launcher-tab.png similarity index 100% rename from sld297-matter-wifi-dic/images/siwx917-soc-launcher-tab.png rename to sld297-matter-aws-feature/images/siwx917-soc-launcher-tab.png diff --git a/sld297-matter-wifi-dic/images/siwx917-soc-radio-board.png b/sld297-matter-aws-feature/images/siwx917-soc-radio-board.png similarity index 100% rename from sld297-matter-wifi-dic/images/siwx917-soc-radio-board.png rename to sld297-matter-aws-feature/images/siwx917-soc-radio-board.png diff --git a/sld297-matter-wifi-dic/images/siwx917-soc-targetconnectionlost.png b/sld297-matter-aws-feature/images/siwx917-soc-targetconnectionlost.png similarity index 100% rename from sld297-matter-wifi-dic/images/siwx917-soc-targetconnectionlost.png rename to sld297-matter-aws-feature/images/siwx917-soc-targetconnectionlost.png diff --git a/sld297-matter-wifi-dic/images/siwx917-target-ozone.png b/sld297-matter-aws-feature/images/siwx917-target-ozone.png similarity index 100% rename from sld297-matter-wifi-dic/images/siwx917-target-ozone.png rename to sld297-matter-aws-feature/images/siwx917-target-ozone.png diff --git a/sld297-matter-wifi-dic/images/siwx917soc-attachtorunningprogram.png b/sld297-matter-aws-feature/images/siwx917soc-attachtorunningprogram.png similarity index 100% rename from sld297-matter-wifi-dic/images/siwx917soc-attachtorunningprogram.png rename to sld297-matter-aws-feature/images/siwx917soc-attachtorunningprogram.png diff --git a/sld297-matter-wifi-dic/images/status-shared-to-cloud.png b/sld297-matter-aws-feature/images/status-shared-to-cloud.png similarity index 100% rename from sld297-matter-wifi-dic/images/status-shared-to-cloud.png rename to sld297-matter-aws-feature/images/status-shared-to-cloud.png diff --git a/sld297-matter-wifi-dic/images/tera-term-matter-cli.png b/sld297-matter-aws-feature/images/tera-term-matter-cli.png similarity index 100% rename from sld297-matter-wifi-dic/images/tera-term-matter-cli.png rename to sld297-matter-aws-feature/images/tera-term-matter-cli.png diff --git a/sld297-matter-wifi-dic/images/tera-term-select-jlink-port.png b/sld297-matter-aws-feature/images/tera-term-select-jlink-port.png similarity index 100% rename from sld297-matter-wifi-dic/images/tera-term-select-jlink-port.png rename to sld297-matter-aws-feature/images/tera-term-select-jlink-port.png diff --git a/sld297-matter-wifi-dic/images/tera-term-select-serial-port.png b/sld297-matter-aws-feature/images/tera-term-select-serial-port.png similarity index 100% rename from sld297-matter-wifi-dic/images/tera-term-select-serial-port.png rename to sld297-matter-aws-feature/images/tera-term-select-serial-port.png diff --git a/sld297-matter-wifi-dic/images/tera-term-select-speed.png b/sld297-matter-aws-feature/images/tera-term-select-speed.png similarity index 100% rename from sld297-matter-wifi-dic/images/tera-term-select-speed.png rename to sld297-matter-aws-feature/images/tera-term-select-speed.png diff --git a/sld297-matter-wifi-dic/images/tera-term-selection-in-terminal.png b/sld297-matter-aws-feature/images/tera-term-selection-in-terminal.png similarity index 100% rename from sld297-matter-wifi-dic/images/tera-term-selection-in-terminal.png rename to sld297-matter-aws-feature/images/tera-term-selection-in-terminal.png diff --git a/sld297-matter-wifi-dic/images/tera-term-terminal-setup.png b/sld297-matter-aws-feature/images/tera-term-terminal-setup.png similarity index 100% rename from sld297-matter-wifi-dic/images/tera-term-terminal-setup.png rename to sld297-matter-aws-feature/images/tera-term-terminal-setup.png diff --git a/sld297-matter-wifi-dic/images/tera-term-tty-record.png b/sld297-matter-aws-feature/images/tera-term-tty-record.png similarity index 100% rename from sld297-matter-wifi-dic/images/tera-term-tty-record.png rename to sld297-matter-aws-feature/images/tera-term-tty-record.png diff --git a/sld297-matter-wifi-dic/images/wifi-9116-gpio-connections.png b/sld297-matter-aws-feature/images/wifi-9116-gpio-connections.png similarity index 100% rename from sld297-matter-wifi-dic/images/wifi-9116-gpio-connections.png rename to sld297-matter-aws-feature/images/wifi-9116-gpio-connections.png diff --git a/sld297-matter-wifi-dic/images/wifi-9116-powermeter-wifimodule.png b/sld297-matter-aws-feature/images/wifi-9116-powermeter-wifimodule.png similarity index 100% rename from sld297-matter-wifi-dic/images/wifi-9116-powermeter-wifimodule.png rename to sld297-matter-aws-feature/images/wifi-9116-powermeter-wifimodule.png diff --git a/sld297-matter-wifi-dic/images/wifi-9116-powerprofiler.png b/sld297-matter-aws-feature/images/wifi-9116-powerprofiler.png similarity index 100% rename from sld297-matter-wifi-dic/images/wifi-9116-powerprofiler.png rename to sld297-matter-aws-feature/images/wifi-9116-powerprofiler.png diff --git a/sld297-matter-wifi-dic/images/wifi-code-edit.png b/sld297-matter-aws-feature/images/wifi-code-edit.png similarity index 100% rename from sld297-matter-wifi-dic/images/wifi-code-edit.png rename to sld297-matter-aws-feature/images/wifi-code-edit.png diff --git a/sld297-matter-wifi-dic/images/wifi-efr-energy-profiler.png b/sld297-matter-aws-feature/images/wifi-efr-energy-profiler.png similarity index 100% rename from sld297-matter-wifi-dic/images/wifi-efr-energy-profiler.png rename to sld297-matter-aws-feature/images/wifi-efr-energy-profiler.png diff --git a/sld297-matter-wifi-dic/images/wifi-efr-power-energyprofiler.png b/sld297-matter-aws-feature/images/wifi-efr-power-energyprofiler.png similarity index 100% rename from sld297-matter-wifi-dic/images/wifi-efr-power-energyprofiler.png rename to sld297-matter-aws-feature/images/wifi-efr-power-energyprofiler.png diff --git a/sld297-matter-wifi-dic/images/wifi-expansion-board-power-pins.png b/sld297-matter-aws-feature/images/wifi-expansion-board-power-pins.png similarity index 100% rename from sld297-matter-wifi-dic/images/wifi-expansion-board-power-pins.png rename to sld297-matter-aws-feature/images/wifi-expansion-board-power-pins.png diff --git a/sld297-matter-wifi-dic/images/wifi-powerprofiler-start.png b/sld297-matter-aws-feature/images/wifi-powerprofiler-start.png similarity index 100% rename from sld297-matter-wifi-dic/images/wifi-powerprofiler-start.png rename to sld297-matter-aws-feature/images/wifi-powerprofiler-start.png diff --git a/sld297-matter-wifi-dic/images/wifi-powerprofiler.png b/sld297-matter-aws-feature/images/wifi-powerprofiler.png similarity index 100% rename from sld297-matter-wifi-dic/images/wifi-powerprofiler.png rename to sld297-matter-aws-feature/images/wifi-powerprofiler.png diff --git a/sld297-matter-wifi-dic/images/wifi-powersave-overview.png b/sld297-matter-aws-feature/images/wifi-powersave-overview.png similarity index 100% rename from sld297-matter-wifi-dic/images/wifi-powersave-overview.png rename to sld297-matter-aws-feature/images/wifi-powersave-overview.png diff --git a/sld297-matter-wifi-dic/images/wifi-setup.png b/sld297-matter-aws-feature/images/wifi-setup.png similarity index 100% rename from sld297-matter-wifi-dic/images/wifi-setup.png rename to sld297-matter-aws-feature/images/wifi-setup.png diff --git a/sld297-matter-aws-feature/index.md b/sld297-matter-aws-feature/index.md new file mode 100644 index 0000000..532b58b --- /dev/null +++ b/sld297-matter-aws-feature/index.md @@ -0,0 +1,124 @@ +# Matter + AWS Component + +- Matter + AWS is a Silicon Labs–specific feature that enables Matter devices to connect directly to + proprietary cloud solutions, such as AWS Cloud. As such, a Matter Wi-Fi device + must support connecting locally on the Matter Fabric via IPv6 and + connecting to the Internet via IPv4. +- Matter devices can be controlled by chip-tool or a controller. The + status of the modified attributes will be published to the cloud. +- Remote users can install a cloud-specific application to receive + notifications about the attribute status. + +## Matter + AWS Feature Diagram + +The following diagram shows end-to-end flow for Direct Internet Connectivity. + +![Silicon Labs - Matter + AWS design](./images/matter-aws-flow.png) + +## Prerequisites + +### Hardware Requirements + +For a list of hardware requirements for the Matter + AWS feature, see the +official +[Silicon Labs Matter hardware requirements](https://siliconlabs.github.io/matter/latest/general/HARDWARE_REQUIREMENTS.html) +documentation. + +### Software Requirements + +For a list of software requirements for the Matter + AWS feature, see the +official +[Silicon Labs Matter Software requirements](https://siliconlabs.github.io/matter/latest/general/SOFTWARE_REQUIREMENTS.html) +documentation. + +## End-to-End Set-up bring up + +### Message Queuing Telemetry Transport (MQTT) + +MQTT is an OASIS standard messaging protocol for the Internet of Things + (IoT). It is designed as an extremely lightweight publish/subscribe + messaging transport that is ideal for connecting remote devices with a small + code footprint and minimal network bandwidth. + For more details, visit https://mqtt.org/. + +### Configuring the MQTT server + +To set up and configure AWS for Matter + AWS support, see the following documentation: + +- [AWS installation](./aws-configuration-registration.md) + +### Remote User Setup (MQTT Explorer) (optional) + +Remote users are used to check the state of Matter devices. In this context, MQTT Explorer acts as a remote user. For more information, see [MQTT Explorer Setup and Configuration](./mqtt-explorer-setup.md). + +### Building Matter + AWS Application using Simplicity Studio + +Follow the instructions in [Build MATTER + AWS](./build-matter-aws.md) to enable the MATTER + AWS feature in your application code. + + +## End-to-End Test of Matter + AWS Application + +User Setup (MQTT Explorer): + +- Sharing status of device to cloud + - The following diagram shows the end-to-end flow for sharing status from a Matter device to the cloud. + +![Silicon Labs - Matter + AWS design](images/dic-status-sharing.png) + + **Note**: For reference, the diagram shows Lighting App commands. Other application commands also can be passed. + +- For the end-to-end commands to be executed from chip-tool, refer to [Running the Matter Demo Over Wi-Fi](/matter/{build-docspace-version}/matter-wifi-run-demo). +- The following application-specific attributes or states are shared to the cloud: + - For Lighting App, On/Off Attributes + - For Lock App, lock/unlock Attributes + - For Windows App, lift/tilt Attributes + - For Thermostat App, SystemMode/CurrentTemp/LocalTemperature/OccupiedCoolingSetpoint/OccupiedHeatingSetpoint Attributes + - For On/off Plug App, On/Off Attributes + - The MQTT Explorer UI updates the application status as shown in following image. + + ![Matter + AWS status update](images/mqtt-explorer-4.png) + +- Control of the device through cloud interface + - The following diagram shows the end-to-end flow for control of the Matter device through a cloud interface. + + ![Silicon Labs - Matter + AWS design](images/dic-control-part.png) + + **Note**: For reference, the diagram shows Lighting App commands. Other application commands also can be passed. + + - Ensure that the Matter device is running and successfully commissioned. For detailed steps, refer to [Running the Matter Demo Over Wi-Fi](/matter/{build-docspace-version}/matter-wifi-run-demo). + - To control the device, set the topic name and the commands to be executed in the MQTT Explorer for the following applications. + +```shell + - Lighting App + - Topic: command + - Commands: + - toggle + - on + - off + - Onoff-plug App + - Topic: command + - Commands: + - toggle + - on + - off + - Lock App + - Topic: command + - Commands: + - lock + - unlock + - Thermostat App + - Topic: command + - Commands: + - SetMode/value(value need to provide 1,2,3,4 ex:SetMode/1) + - Heating/value(value need to provide 2500,2600 ex:HeatingSetPoint/2500) + - Cooling/value(value need to provide 2500,2600 ex:CoolingSetPoint/2500) + - Window App + - Topic: command + - Commands: + - Lift/value(value need to provide in range 1000 to 10000) + - Tilt/value(value need to provide in range 1000 to 10000) +``` + +- Click **Publish** to execute the command. + +![Silicon Labs - Matter + AWS design](images/control-device-through-cloud.png) diff --git a/sld297-matter-wifi-dic/mqtt-explorer-setup.md b/sld297-matter-aws-feature/mqtt-explorer-setup.md similarity index 84% rename from sld297-matter-wifi-dic/mqtt-explorer-setup.md rename to sld297-matter-aws-feature/mqtt-explorer-setup.md index 0ec81af..eb315ea 100644 --- a/sld297-matter-wifi-dic/mqtt-explorer-setup.md +++ b/sld297-matter-aws-feature/mqtt-explorer-setup.md @@ -13,7 +13,7 @@ Download and install the MQTT Explorer from https://mqtt-explorer.com/. - Make sure you enable **Validate Certificate and Encryption** - Click **Advanced Settings** -![Silicon Labs - DIC design](./images/mqtt-explorer-2.png) +![Silicon Labs - MATTER + AWS design](./images/mqtt-explorer-2.png) - Add application specific topics as shown below - For Lighting app, topic to be added (light/*) @@ -30,11 +30,11 @@ Download and install the MQTT Explorer from https://mqtt-explorer.com/. - MQTT Client ID depends on the certificate set that you will use. - Add the Certificate, following step 7 in [AWS installation](./aws-configuration-registration.md). -![Silicon Labs - DIC design](./images/mqtt-explorer-5.png) +![Silicon Labs - MATTER + AWS design](./images/mqtt-explorer-5.png) - Once the above steps are done, try connecting to AWS. -![Silicon Labs - DIC design](./images/mqtt-explorer-3.png) +![Silicon Labs - MATTER + AWS design](./images/mqtt-explorer-3.png) ### Connecting to Mosquitto Connection @@ -43,7 +43,7 @@ Download and install the MQTT Explorer from https://mqtt-explorer.com/. - Make sure you enable Validate Certificate and Encryption - Click **Advanced Settings** -![Silicon Labs - DIC design](./images/mqtt-explorer-2.png) +![Silicon Labs - MATTER + AWS design](./images/mqtt-explorer-2.png) - Add application specific topics as shown below - For Lighting app, topic to be added (light/*) @@ -60,4 +60,4 @@ Download and install the MQTT Explorer from https://mqtt-explorer.com/. - MQTT Client ID depends on the certificate set that you will use. - Add the Certificate, following step 5 in [Openssl Certificate Creation](./openssl-certificate-creation.md). -![Silicon Labs - DIC design](./images/mqtt-explorer-5.png) +![Silicon Labs - MATTER + AWS design](./images/mqtt-explorer-5.png) diff --git a/sld297-matter-aws-feature/openssl-certificate-creation.md b/sld297-matter-aws-feature/openssl-certificate-creation.md new file mode 100644 index 0000000..1ba5ed9 --- /dev/null +++ b/sld297-matter-aws-feature/openssl-certificate-creation.md @@ -0,0 +1,24 @@ +# OpenSSL Certificate Creation + +An SSL certificate is an important way to secure user information and protect against hackers. + +## Openssl Installation (In ubuntu 22.04) + +1. To install OpenSSL (v 3.0.2), issue the following command: `sudo apt install openssl` + +## Certificates Creation + +Use the following commands to generate certificates: + +1. **Generate the client key:** + - `openssl ecparam -name prime256v1 -genkey -noout -out device.key` +2. **Generate the client certificate** (e.g., `device.crt` and `device.key`) using a CA + certficate: + - `openssl req -new -out device.csr -key device.key` +3. **Upload CSR to AWS**: While creating the AWS IoT thing, use the **Upload CSR** option in the configure device + certificate step. Once the CSR generated in step 2 is uploaded, AWS will + generate an AWS CA-authenticated `device.crt`. + ![AWS CSR Upload ](./images/matter_aws_device_csr_certificate_generation.png) + +To use MQTT Explorer, repeat steps 1 and 2 to create an additional set of certificates +(e.g., `explorer.crt` and `explorer.key`). Use a different name to uniquely identify the certificates. diff --git a/sld297-matter-wifi-dic/aws-configuration-registration.md b/sld297-matter-wifi-dic/aws-configuration-registration.md deleted file mode 100644 index 33424cd..0000000 --- a/sld297-matter-wifi-dic/aws-configuration-registration.md +++ /dev/null @@ -1,73 +0,0 @@ -# Amazon Web Services (AWS) - -Amazon Web Services offers reliable, scalable, and inexpensive cloud computing services. Refer to [AWS Documentation](https://aws.amazon.com/what-is-aws/) for more details. - -## AWS CA Certificate Registration - -1. Create a CA certificate, a CA verification certificate, a client certificate, and a client key using the [Openssl Certificate Creation](./openssl-certificate-creation.md) documentation. -2. Open [AWS](https://aws.amazon.com/). -3. Log in using your AWS credentials. -4. Register the CA Certificate in AWS: - - Go to **Security > Certificate Authorities** and **Register CA Certificate**. - - Select **Register CA** in the Single account mode. - - Choose the CA certificate (CA.crt) that you previously created above. - - Choose the CA verification certificate (verification_cert.pem) that you previously created above. - - Register the CA. - -5. Go to **Security > Policies** and select **Create Policy**. Enter the policy name (ex: _DIC_POLICY_) and, in the policy statements, select **JSON** and replace the contents with the JSON provided below: - - ```shell - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": "*", - "Resource": "*" - } - ] - } - ``` - -6. Once done, select **Create**. - -7. Steps to generate the certificate for your Matter application to use in the `dic_nvm_cert.cpp` source file: - - - Go to **All Devices > Things** and select **Create Things**. - - Select **Create Single Thing** and click **Next**. - - Specify thing properties in **Info > Give the thing a name** (Note: Client ID) and click **Next**. - - Configure the device certificate (optional) in **Info > Use my certificate**. - - In Certificate details, choose **CA is registered with AWS IOT** and select the CA registered with AWS in Step 4. - - In **Certificate > Choose file** (Choose Client certificate generated in Openssl Certificate Creation ex: `device.crt`), set the certificate status to **Active**. Click **Next**. - - Use the policy (ex: _DIC_POLICY_) created in AWS Certificate creation. - -8. Repeat Step 5 to create a new thing to use in MQTT Explorer using the certificate created for MQTT explorer (from Openssl Certificate Creation ex: `explorer.crt`). - - **Note**: Thing name must be unique as it will be used as CLIENT ID. - -9. Copy the contents of [AWS_CA CERT](https://www.amazontrust.com/repository/AmazonRootCA1.pem) and create a .pem file to use as a SERVER CERTIFICATE in MQTT Explorer. - -## How to Create AWS OTA JOB - -1. Go to AWS Amazon: https://aws.amazon.com/. -2. Log in with Amazon Credentials. -3. Click **Services** and select **IOT Core**. -4. On the side menu in the **Manage** section, click **Remote Actions** and click **jobs**. -5. Click **Create Job** and select Job type as a Create FreeRTOS OTA update job. -6. Enter a unique Job name without spaces. -7. In the **Devices to update** dropdown, select your Certificates which are configured above. for example:- SQA_DIC_C2, SQA_DIC_C3, DIC_2 -8. Select **MQTT** as the protocol for file transfer. -9. In **File Section**, select **New/Previously/Custom** signed **gbl(For EFR32)** and **.rps(For 917 SOC)** file. - - - If the **gbl or rps** file is newly created, then select **Sign a new file for me**. - - If the **gbl or rps** file is already uploaded to AWS, then select **Choose a previously signed file**. - - If the **gbl or rps** file is custom modified, then select **Use my custom signed file**. - -10. In **Existing code signing profile**, select **dic_ota_codesign**. Refer to [AWS Code Signing Certificate Creation](https://docs.aws.amazon.com/freertos/latest/userguide/ota-code-sign-cert.html). -11. For uploading the **gbl or rps** file, follow step 9 above. To create a **gbl** refer to [Matter OTA](/matter/{build-docspace-version}/matter-ota) and for **rps** file, refer to [Matter OTA Software Update](/matter/{build-docspace-version}/matter-ota/04-ota-software-update-soc). -12. In the File upload location in S3 select, S3 URL as ota_demo. Refer to [AWS S3 Bucket Creation](https://docs.aws.amazon.com/freertos/latest/userguide/dg-ota-bucket.html). -13. In **Path name of file on device**, give any file name (file.txt). -14. Select **ota_demo** as **IAM role** and click **Next**. -15. Click **create job**. - -Note: For more details, Refer to [AWS OTA prerequisites](https://docs.aws.amazon.com/freertos/latest/userguide/ota-prereqs.html). diff --git a/sld297-matter-wifi-dic/build-dic.md b/sld297-matter-wifi-dic/build-dic.md deleted file mode 100644 index 334e8db..0000000 --- a/sld297-matter-wifi-dic/build-dic.md +++ /dev/null @@ -1,59 +0,0 @@ -# Build Procedure For Wi-Fi Direct Internet Connectivity (DIC) - -The following components are common for all apps and should be modified in the corresponding app specific .slcp file. - -## How to Add the DIC Component - -To add the DIC component, modify the corresponding app specific .slcp file. - -```shell - - id: matter_dic - from: matter -``` - -## How to Add the DIC AWS OTA Component - -To add the DIC AWS OTA component, modify the corresponding app specific .slcp file. - -```shell - - id: aws_ota_wifi_dic - from: matter -``` - -Note: Building with aws_ota_wifi_dic component enables matter_dic component by default. - -## Building DIC Application - -- After modification in the **.slcp** Project file as above step, refresh the **matter-extension** in Simplicity Studio. - -- Select **Preferences** in the **Launcher** tab. - - ![Select Preferences](images/select-preferences.png) - -- Expand Simplicity Studio section and click on **SDKs** Tab. - - ![Select SDK](images/select-studio-sdk-option.png) - -- Expand **Simplicity SDK** and click the **Refresh** button from side menu. - - ![Select Refresh](images/select-refresh-option.png) - -- Build the DIC application using Simplicity Studio - - [Build EFx32 Application Using Studio](/matter/{build-docspace-version}/matter-wifi-run-demo/build-efx32-application-using-studio) - - [Build SOC Application Using Studio](/matter/{build-docspace-version}/matter-wifi-run-demo/build-soc-application-using-studio) - -## Compile Using New/Different Certificates - -- Two devices should not use the same `DIC_CLIENT_ID`. To use a different Client ID for your second connection, do the following: -- If using AWS, change the following file `matter_extension/examples/platform/silabs/DIC/matter_abs_interface/src/dic_nvm_cert.cpp` under `#if USE_AWS`. - - Use `DIC_SERVER_HOST` name with your Server host name. - - For Example: a2m21kovu9tcsh-ats.iot.ap-southeast-1.amazonaws.com - - Use AWS CA certificate as ca_certificate, device_certificate and device_key with your device cert and device key. - - Use `DIC_CLIENT_ID` macro value with your Client ID in `matter_extension/examples/platform/silabs/DIC/matter_abs_interface/inc/dic_config.h` - - The preferred certificate type to use in the application is ECDSA. -- If using mosquitto, change the following file `matter_extension/examples/platform/silabs/DIC/matter_abs_interface/src/dic_nvm_cert.cpp` enable `USE_MOSQUITTO` and disable `USE_AWS`. - - Under `#if USE_MOSQUITTO` - - Use `DIC_SERVER_HOST` name with your Server host name where Mosquitto Broker is running. - - Use OpenSSL CA certificate as ca_certificate, device_certificate and device_key. - - `DIC_CLIENT_ID` is not required here but `DIC_CLIENT_USER` and `DIC_CLIENT_PASS` in `matter_extension/examples/platform/silabs/DIC/matter_abs_interface/inc/dic_config.h` needs to be updated as per your Mosquitto password file. - - The preferred certificate type to use in the application is ECDSA. diff --git a/sld297-matter-wifi-dic/index.md b/sld297-matter-wifi-dic/index.md deleted file mode 100644 index f113ef8..0000000 --- a/sld297-matter-wifi-dic/index.md +++ /dev/null @@ -1,143 +0,0 @@ -# Matter Wi-Fi Direct Internet Connectivity - -Direct Internet Connectivity (DIC) is a Silicon Labs-only feature to connect Matter devices to proprietary cloud solutions (e.g., AWS, GCP, Apple) directly. As such, a Matter Wi-Fi device must support connecting locally on the Matter Fabric, via IPv6, and connecting to the Internet via IPv4. - -- Matter devices can be controlled by chip-tool or controller, and the respective status of the attribute modified will be published to the cloud. -- Remote users can install the cloud-specific application to get the notifications on the attribute status and to control the device. - -## DIC Feature Diagram - -The following diagram illustrates the end-to-end flow for Direct Internet Connectivity. - -![Silicon Labs - DIC design](images/dic-flow.png) - -## Prerequisites - -### Hardware Requirements - -For the hardware required for the DIC feature to run on the Silicon Labs Platform, refer to [Matter Hardware Requirements](/matter/{build-docspace-version}/matter-prerequisites/hardware-requirements). - -### Software Requirements - -To run the DIC feature, refer to [Software Requirements](/matter/{build-docspace-version}/matter-prerequisites/software-requirements). - -## End-to-End Set-Up Bring Up - -### Message Queuing Telemetry Transport (MQTT) - -MQTT is an OASIS standard messaging protocol for the Internet of Things (IoT). It is designed as an extremely lightweight publish/subscribe messaging transport that is ideal for connecting remote devices with a small code footprint and minimal network bandwidth. Refer to [https://mqtt.org/](https://mqtt.org/) for more details. - -### Configuring the MQTT server - -To set up and configure AWS or Mosquitto for DIC support, see the following documentation: - -- [AWS installation](./aws-configuration-registration.md) -- [Mosquitto installation](./mosquitto-setup.md) - -### Remote User Setup (MQTT Explorer) - -A remote user is used to check the state of a Matter device. In this context, MQTT explorer is used as a remote user. See [MQTT explorer setup and configuration](./mqtt-explorer-setup.md). - -### Building Matter DIC Application using Simplicity Studio - -1. Follow instructions in [Build DIC](./build-dic.md) to enable the DIC feature in code. - -2. After enabling DIC in the Matter extension code, click **Preferences** and then click **SDKs** in Simplicity Studio. - - ![Extension refresh in tab](images/dic-extension-refresh.png) - -3. In the **SDKs** tab, click **Simplicity SDK** and click **Refresh**. It will refresh the Matter extension code for changes made in step 1. - - ![Extension refresh](images/dic-extension-refresh-1.png) - -4. After refreshing the Matter extension, create and build a project for the Silicon Labs Device Platform. Refer to the following: - - - [Creating and Building Project for NCP Board](/matter/{build-docspace-version}/matter-wifi-getting-started-example/getting-started-efx32-ncp#building-and-flashing-an-application) - - [Creating and Building Project for SoC Board](/matter/{build-docspace-version}/matter-wifi-getting-started-example/getting-started-with-soc#building-the-917-soc-matter-accessory-devices-using-simplicity-studio) - -**Note**: Matter extension code is located at the following location: `C:\Users\system_name\SimplicityStudio\SDKs\simplicity_sdk\extension`. - -## End-to-End Test of DIC Application - -User Setup (MQTT Explorer): - -- Sharing status of device to cloud - - The following diagram shows the end-to-end flow for sharing status from a Matter device to the Cloud. - -![Silicon Labs - DIC design](images/dic-status-sharing.png) - - **Note**: For reference, Lighting App commands are given in the above image. Other application commands also can be passed. - -- For the end-to-end commands to be executed from chip-tool, refer to [Running the Matter Demo Over Wi-Fi](/matter/{build-docspace-version}/matter-wifi-run-demo). -- Below are the application-specific attributes or states shared to the cloud: - - For Lighting App, On/Off Attributes - - For Lock App, lock/unlock Attributes - - For Windows App, lift/tilt Attributes - - For Thermostat App, SystemMode/CurrentTemp/LocalTemperature/OccupiedCoolingSetpoint/OccupiedHeatingSetpoint Attributes - - For On/off Plug App, On/Off Attributes - - Application status would be updated on the mqtt_explorer UI, as shown in below image. - - ![DIC status update](images/mqtt-explorer-4.png) - -- Control of the device through cloud interface - - The diagram below shows the end-to-end flow for control of the Matter device through a cloud interface. - - ![Silicon Labs - DIC design](images/dic-control-part.png) - - **Note**: For reference, Lighting App commands are shown in the above image. Similarly, other application commands also can be passed. - - - Make sure the Matter device is up and commissioned successfully. Refer to [Running the Matter Demo Over Wi-Fi](/matter/{build-docspace-version}/matter-wifi-run-demo). - - For controlling the device, set topic name and the commands to be executed in the mqtt_explorer for the following applications. - -```shell - - Lighting App - - Topic: command - - Commands: - - toggle - - on - - off - - Onoff-plug App - - Topic: command - - Commands: - - toggle - - on - - off - - Lock App - - Topic: command - - Commands: - - lock - - unlock - - Thermostat App - - Topic: command - - Commands: - - SetMode/value(value need to provide 1,2,3,4 ex:SetMode/1) - - Heating/value(value need to provide 2500,2600 ex:HeatingSetPoint/2500) - - Cooling/value(value need to provide 2500,2600 ex:CoolingSetPoint/2500) - - Window App - - Topic: command - - Commands: - - Lift/value(value need to provide in range 1000 to 10000) - - Tilt/value(value need to provide in range 1000 to 10000) -``` - -- Click **Publish** to execute the command. - -![Silicon Labs - DIC design](images/control-device-through-cloud.png) - -- Download AWS OTA Image through a cloud interface. - - - The diagram below provides the end to end flow of the firmware upgrade feature through AWS. - - ![Silicon Labs - DIC design](images/dic-aws-ota.png) - - - Make sure the Matter device is up and commissioned successfully. Refer to [Running the Matter Demo Over Wi-Fi](/matter/{build-docspace-version}/matter-wifi-run-demo). - - - Make sure the device is connected to the MQTT Server successfully. - - - Create an AWS OTA Job on the AWS website. Refer to [How to create AWS OTA job](./aws-configuration-registration.md). - - - Trigger the OTA command through MQTT Explorer like below. - - - Click **Publish** to execute the AWS OTA command. - - ![Silicon Labs - DIC design](images/download-aws-ota-through-cloud.png) diff --git a/sld297-matter-wifi-dic/mosquitto-setup.md b/sld297-matter-wifi-dic/mosquitto-setup.md deleted file mode 100644 index 1fd0697..0000000 --- a/sld297-matter-wifi-dic/mosquitto-setup.md +++ /dev/null @@ -1,33 +0,0 @@ -# Mosquitto - -Mosquitto is a lightweight open source (EPL/EDL licensed) message broker that implements the MQTT protocol. Refer to the [Mosquitto site](https://Mosquitto.org/) for more details. - -## Set Up the Mosquitto Connection - -### Linux Environment - -1. Install Mosquitto, using the command --> `sudo apt install Mosquitto`. -2. Copy file from https://github.com/eclipse/Mosquitto/blob/master/Mosquitto.conf and paste in linux machine. -3. Open the Mosquitto.conf file and include password_file (Mosquitto.pwd) in **General configuration**. -4. The password file contains the username and password in hashed format. To create your own username and password for Mosquitto, use the following [link](http://surl.li/gnmwr). -5. In the **Listeners** section, change listener to ` `. -6. In the same section, find **#protocol mqtt** and uncomment it. -7. Follow [Openssl Certificate Creation](./openssl-certificate-creation.md) to create certificates. -8. Provide the required certificates path in the **Certificate based SSL/TLS support** and, in the same section, set the flag require_certification to **true**. -9. In the **Security** section, uncomment the flag **allow_anonymous** false. -10. Now that your configuration file is set, save it and run the following command in terminal to run Mosquitto: - - - `Mosquitto -v -c Mosquitto.conf` - -### Windows Environment - -1. Install Mosquitto using the [mosquitto download](https://Mosquitto.org/download/). -2. Open the Mosquitto.conf file and include password_file (Mosquitto.pwd) in **General configuration**. -3. The password file contains the username and password in hashed format. To create your own username and password for Mosquitto, use the following [link](http://surl.li/gnmwr). -4. In the **Listeners** section, change listener to ` `. -5. In the same section, find **#protocol mqtt** and uncomment it. -6. Follow [Openssl Certificate Creation](./openssl-certificate-creation.md) to create certificates. -7. Provide the required certificates path in **Certificate based SSL/TLS support** and, in the same section, set the flag require_certification to **true**. -8. In the **Security** section, uncomment the flag **allow_anonymous** false. -9. Now that your configuration file is set, save it and run the following command in terminal(command prompt) to run Mosquitto: - - `Mosquitto -v -c Mosquitto.conf` diff --git a/sld297-matter-wifi-dic/openssl-certificate-creation.md b/sld297-matter-wifi-dic/openssl-certificate-creation.md deleted file mode 100644 index 7364fdc..0000000 --- a/sld297-matter-wifi-dic/openssl-certificate-creation.md +++ /dev/null @@ -1,46 +0,0 @@ -# OpenSSL Certificate Creation - -An SSL certificate is an important way to secure user information and protect against hackers. - -## OpenSSL Installation (In ubuntu) - -1. To install OpenSSL, run `sudo apt install openssl`. - -## Certificates Creation - -The following commands are used to generate certificates: - -1. To generate CA key: - - - `openssl ecparam -name prime256v1 -genkey -noout -out CA.key` - -2. To generate CA certificate: - - - `openssl req -new -x509 -days 1826 -key CA.key -out CA.crt` - -3. To generate Client key: - - - `openssl ecparam -name prime256v1 -genkey -noout -out device.key` - -4. To generate Client certificate (ex: `device.crt` and `device.key`) using CA certificate: - - - `openssl req -new -out device.csr -key device.key` - - `openssl x509 -req -in device.csr -CA CA.crt -CAkey CA.key -CAcreateserial -out device.crt -days 360` - -5. To generate CA verification certificate key: - - - `openssl genrsa -out verification_cert.key 2048` - -6. To generate Certificate Signing Request (CSR) file: - - - `openssl req -new -key verification_cert.key -out verification_cert_csr.csr` - - **NOTE**: The information that the openssl command prompts you for is shown in the following example. Except for the Common Name field, you can enter your own values or keep them blank. In the Common Name field, paste the registration code from the Verification certificate container of the AWS IoT console. Reference image below to add registration code. - - ![registration code](images/openssl-csr-common-name-ref.png) - -7. To generate CA verification certificate: - - - `openssl x509 -req -in verification_cert_csr.csr -CA CA.crt -CAkey CA.key -CAcreateserial -out verification_cert.pem -days 500 -sha256` - -8. Repeat step 3 and 4 to create an additional set of certificate to use in MQTT explorer (ex: `explorer.crt` and `explorer.key`). (Create with different name for Identification).