Skip to content

Commit fe0152f

Browse files
committed
2 parents c37f492 + 6771597 commit fe0152f

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

UseSecurityFeatures.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ In the [Getting Started Guide](GettingStartedGuide.md), one would have setup the
2020
9. Go back to `Security features`.
2121
10. Go back to main menu, Save and Exit.
2222

23-
**NOTE**: For production devices refer to Espressif's documentation on [**Release Mode** for Flash Encryption](https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/security/flash-encryption.html#release-mode)
23+
**NOTE**: This enables Flash Encryption in **Development Mode**. For production devices, refer to Espressif's documentation on [**Release Mode** for Flash Encryption](https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/security/flash-encryption.html#release-mode)
2424

2525
## 4 Provision the ESP32-C3 with the private key, device certificate and CA certificate in Development Mode
2626
The key and certificates which will be used to establish a secure TLS connection will be encrypted and stored in a special flash partition.
@@ -124,6 +124,27 @@ I (3183) temp_pub_sub_demo: Task Publisher0 waiting for publish 0 to complete.
124124
```
125125

126126
2. On the AWS IoT console, select "Test" then select "MQTT test client". Under "Subscribe to a topic", type "#" (# is to select all topics. You can also enter a specific topic such as /filter/Publisher0), click on "Subscribe", and confirm that the MQTT messages from the device are received.
127+
3. To change the LED power state, under "Publish to a topic" publish one of the following JSON payloads to the `/filter/TempSubPubLED` topic:
128+
129+
To turn the LED on:
130+
```json
131+
{
132+
"led":
133+
{
134+
"power": 1
135+
}
136+
}
137+
```
138+
139+
To turn the LED off:
140+
```json
141+
{
142+
"led":
143+
{
144+
"power": 0
145+
}
146+
}
147+
```
127148

128149
## 8 Perform firmware Over-the-Air Updates with AWS IoT
129150

0 commit comments

Comments
 (0)