You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/applications/aws_iot/aws_iot_cloud_connection.md
+6-9Lines changed: 6 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,15 +39,15 @@ of the verification fails, then MCUBoot stops the booting process.
39
39
40
40
To see messages being sent by the application:
41
41
1. Login to your account and browse to the [AWS IoT console](https://console.aws.amazon.com/iotv2/).
42
-
1. In the left navigation panel, choose **Manage**, and then choose **Things**.
42
+
1. In the left navigation panel, choose **Manage**, followed by **All devices**, and then choose **Things**.
43
43
1. Select the thing you created, and open the **Activity** tab. This will show
44
44
the application connecting and subscribing to a topic.
45
45
1. Click on the **MQTT test client** button. This will open a new page.
46
46
1. Click on **Subscribe to a topic**.
47
47
1. In the **Subscription topic** field enter the topic name
48
-
`pubsub/<mqtt-client-identifier>/task_0`
48
+
`<mqtt-client-identifier>/ml/inference.`
49
49
> `mqtt-client-identifier` value is defined in
50
-
`configs/aws_configs/aws_clientcredential.h` as
50
+
`applications/<application_name>/configs/aws_configs/aws_clientcredential.h` as
51
51
`clientcredentialIOT_THING_NAME`.
52
52
1. In the **MQTT payload display** combo box select `Display payloads as
53
53
strings (more accurate)`
@@ -90,8 +90,7 @@ in the next step.
90
90
* For simplicity, use the same region for the bucket as where your Instance
91
91
is located.
92
92
1. Follow the instructions at: [Create an OTA Update service role](https://docs.aws.amazon.com/freertos/latest/userguide/create-service-role.html)
93
-
1. Follow the instructions at: [Create an OTA user policy](https://docs.aws.amazon.com/freertos/latest/userguide/create-ota-user-policy.html)
94
-
1. Go to AWS IoT web interface and choose **Manage** and then **Jobs**
93
+
1. Go to AWS IoT web interface and choose **Manage** followed by **Remote actions**, and then **Jobs**
95
94
1. Click the create job button and select **Create FreeRTOS OTA update job**
96
95
1. Give it a name and click next
97
96
1. Select the device to update (the Thing you created in earlier steps)
@@ -109,10 +108,8 @@ in the next step.
109
108
1. For **Path name of file on device** put in `non_secure image`
110
109
1. As the role, select the OTA role you created in step 2.
111
110
1. Click next
112
-
1. Create an ID for you Job
113
-
1. Add a description
114
111
1.**Job type**, select
115
112
*Your job will complete after deploying to the selected devices/groups
116
113
(snapshot).*
117
-
1. Click next, your update job is ready and running - next time your
118
-
application connects it will perform the update.
114
+
1. Click next, now your update job is ready and running
115
+
* If your application is connected to AWS, the update will begin immediately. If not, next time your application connects to AWS it will perform the update.
* The `certificate pem's path` and `private key pem's path` should be the downloaded key's and certificate's path if you chose the **Auto-generate a new certificate** during the Thing creation. If you chose **Skip creating a certificate at this time** then these paths should locate the generated credential files that were created by the `./tools/scripts/generate_credentials.py` script in the previous step.
53
53
@@ -58,7 +58,7 @@ To build the Keyword-Detection example, run the following command:
58
58
Or, run the command below to perform a clean build:
## Provisioning the device credentials into Protected Storage
@@ -68,12 +68,16 @@ Check [Device Provisioning](./device_provisioning/device_provisioning.md) for de
68
68
## Running the application
69
69
70
70
### Note:
71
-
If you would like to run the keyword detection application using VSI configuration as the input audio source, you must run the [setup_python_vsi.sh](../../tools/scripts/setup_python_vsi.sh) script to setup the needed Python environment for VSI prior to running the application.
71
+
If you would like to run the keyword detection application using VSI configuration as the input audio source, you must run the [setup_python_vsi.sh](../../tools/scripts/setup_python_vsi.sh) script to setup the needed Python environment for VSI prior to running the application:
72
+
73
+
```bash
74
+
./tools/scripts/setup_python_vsi.sh
75
+
```
72
76
73
77
To run the Keyword-Detection example, run the following command:
* The `certificate pem's path` and `private key pem's path` should be the downloaded key's and certificate's path if you chose the **Auto-generate a new certificate** during the Thing creation. If you chose **Skip creating a certificate at this time** then these paths should locate the generated credential files that were created by the `./tools/scripts/generate_credentials.py` script in the previous step.
33
33
@@ -36,7 +36,7 @@ To build the Speech-Recognition example, run the following command:
36
36
Or, run the command below to perform a clean build:
## Provisioning the device credentials into Protected Storage
@@ -46,12 +46,16 @@ Check [Device Provisioning](./device_provisioning/device_provisioning.md) for de
46
46
## Running the application
47
47
48
48
### Note:
49
-
If you would like to run the speech recognition application using VSI configuration as the input audio source, you must run the [setup_python_vsi.sh](../../tools/scripts/setup_python_vsi.sh) script to setup the needed Python environment for VSI prior to running the application.
49
+
If you would like to run the speech recognition application using VSI configuration as the input audio source, you must run the [setup_python_vsi.sh](../../tools/scripts/setup_python_vsi.sh) script to setup the needed Python environment for VSI prior to running the application:
50
+
51
+
```bash
52
+
./tools/scripts/setup_python_vsi.sh
53
+
```
50
54
51
55
To run the Speech-Recognition example, run the following command:
0 commit comments