Skip to content

Commit

Permalink
Update mqtt-connection-guide-en.md
Browse files Browse the repository at this point in the history
  • Loading branch information
theoim committed Aug 14, 2024
1 parent af2c38a commit b6802b3
Showing 1 changed file with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,70 +165,70 @@ WIZ5xxSR-RP is successfully connected to the MQTT broker!

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/1_aws_iot_core.png) |
| <img src="/img/products/w232n/aws_execute/1_aws_iot_core.png" width="600" /> |
| Figure: **search for "IoT console"** |


2. Click on the "Things" tab on the left, and then press the orange "Create things" button.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/2_aws_creating_thing.png) |
| <img src="/img/products/w232n/aws_execute/2_aws_creating_thing.png" width="600" /> |
| Figure: **Click "create Things"** |


3. Select "Create single thing" and then press the Next button.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/3_aws_creating_thing.png) |
| <img src="/img/products/w232n/aws_execute/3_aws_creating_thing.png" width="600" /> |
| Figure: **search for "IoT console"** |


4. Enter the "Thing name" and press the Next button.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/4_aws_creating_thing.png) |
| <img src="/img/products/w232n/aws_execute/4_aws_creating_thing.png" width="600" /> |
| Figure: **Enter the "Thing name"** |

5. Select "Auto-generate a new certificate (recommended)" and press the Next button.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/5_aws_creating_thing.png) |
| <img src="/img/products/w232n/aws_execute/5_aws_creating_thing.png" width="600" /> |
| Figure: **Select "Device certificate"** |


6. Next, you need to create a policy for the security of the thing. Click on "Create policy"

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/6_aws_creating_policy.png) |
| <img src="/img/products/w232n/aws_execute/6_aws_creating_policy.png" width="600" /> |
| Figure: **Click on "Create policy"** |


7. Set the name of the policy, configure the Policy Document as shown in the picture, and then press the Create button.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/7_aws_creating_policy.png) |
| <img src="/img/products/w232n/aws_execute/7_aws_creating_policy.png" width="600" /> |
| Figure: **Setting Policy Information** |


8. Return to the previously opened "Create single thing" page and press the "Create thing" button.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/8_aws_combine_policy.png) |
| <img src="/img/products/w232n/aws_execute/8_aws_combine_policy.png" width="600" /> |
| Figure: **press the "Create thing" button** |


9. Download all the Key & certificates.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/9_aws_downloading_cert_key.png) |
| <img src="/img/products/w232n/aws_execute/9_aws_downloading_cert_key.png" width="600" /> |
| Figure: **Downloading all the Key & certificates** |


Expand All @@ -240,14 +240,14 @@ WIZ5xxSR-RP is successfully connected to the MQTT broker!

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/10_aws_copy_endpoint.png) |
| <img src="/img/products/w232n/aws_execute/10_aws_copy_endpoint.png" width="600" /> |
| Figure: **search for "IoT console"** |

2. Turn on the configuration tool, search for the device, and set the "Basic settings" tab as follows.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/1_device_search.png) |
| <img src="/img/products/w232n/aws_execute/1_device_search.png" width="600" /> |
| Figure: **setting the "Basic settings" tab of configuration tool** |


Expand All @@ -268,14 +268,14 @@ WIZ5xxSR-RP is successfully connected to the MQTT broker!

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/2_MQTT_option.png) |
| <img src="/img/products/w232n/aws_execute/2_MQTT_option.png" width="600" /> |
| Figure: **Setting the "MQTT options"** |

4. Go to the Certificate Manager tab and adjust the Root CA section to match the settings shown in the picture below.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/3_MQTT_cert_key.png) |
| <img src="/img/products/w232n/aws_execute/3_MQTT_cert_key.png" width="600" /> |
| Figure: **adjusting the Root CA section** |

5. Press "Load file" to load the following certificate and key files:
Expand All @@ -286,21 +286,21 @@ WIZ5xxSR-RP is successfully connected to the MQTT broker!

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/4_MQTT_cert_key.png) |
| <img src="/img/products/w232n/aws_execute/4_MQTT_cert_key.png" width="600" /> |
| Figure: **Load certificate and key files** |

6. Press the "Save to device" button three times.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/5_MQTT_cert_key.png) |
| <img src="/img/products/w232n/aws_execute/5_MQTT_cert_key.png" width="600" /> |
| Figure: **Save certificate and key files** |

7. Press "Apply settings"

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/6_MQTT_cert_key.png) |
| <img src="/img/products/w232n/aws_execute/6_MQTT_cert_key.png" width="600" /> |
| Figure: **Press "Apply settings"** |


Expand All @@ -310,21 +310,21 @@ WIZ5xxSR-RP is successfully connected to the MQTT broker!

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/1_aws_sub_topic.png) |
| <img src="/img/products/w232n/aws_execute/1_aws_sub_topic.png" width="600" /> |
| Figure: **Subscribe to a topic** |

2. Open the USB port connected to the S2E module's UART using a serial terminal tool, and send the data.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/2_aws_sub_topic.png) |
| <img src="/img/products/w232n/aws_execute/2_aws_sub_topic.png" width="600" /> |
| Figure: **Sending data** |

3. This way, you can confirm that the MQTT communication is working correctly with AWS.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/3_aws_sub_topic.png) |
| <img src="/img/products/w232n/aws_execute/3_aws_sub_topic.png" width="600" /> |
| Figure: **sucessful MQTT communication with AWS** |


Expand All @@ -334,13 +334,13 @@ WIZ5xxSR-RP is successfully connected to the MQTT broker!

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/4_aws_pub_topic.png) |
| <img src="/img/products/w232n/aws_execute/4_aws_pub_topic.png" width="600" /> |
| Figure: **Publish to a topic** |


2. You can verify the data sent from AWS in the serial window.

| |
| :-----------------------------------------------------------------------------------------: |
| ![](/img/products/w232n/aws_execute/5_aws_pub_topic.png) |
| <img src="/img/products/w232n/aws_execute/5_aws_pub_topic.png" width="600" /> |
| Figure: **sucessful MQTT communication with AWS** |

0 comments on commit b6802b3

Please sign in to comment.