Skip to content

Commit 7b185d4

Browse files
hdlee27Kwang-Hui
authored andcommitted
modify style of READEME.md of ota_demo
(cherry-picked from commit 2a0ecb5) Signed-off-by: Hyundo Lee <54927573+hdlee27@users.noreply.github.com>
1 parent da369bf commit 7b185d4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

apps/esp32/ota_demo/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Because this application is based on _switch_example_ . you could find more deta
1010

1111
Change configuration
1212
-------------------
13-
These compile options will enable HTTPS and MBEDTLS feature to connect OTA server.
13+
These compile options will enable HTTPS and MBEDTLS feature to connect OTA server.
1414
`stdkconfig`
1515
```c
1616
// Enable option for HTTPS
@@ -26,7 +26,7 @@ CONFIG_STDK_IOT_CORE_NET_MBEDTLS=y
2626

2727
Import certificate
2828
-------------------
29-
This application requires _root.pem_, _public_key.pem_ which is used for https connection and firmware signature validation.
29+
This application requires _root.pem_, _public_key.pem_ which is used for https connection and firmware signature validation.
3030
You can find how to create these file from [here](../../../doc/ota_demo.md#preparing-certificate)
3131

3232
```sh
@@ -38,7 +38,7 @@ $ cp public_key.pem [st-device-sdk-c-ref path]/apps/esp32/ota_demo/main
3838

3939
Register capability callback
4040
-------------------
41-
This code init handle and add command callback for **Firmware Update** capability.
41+
This code init handle and add command callback for **Firmware Update** capability.
4242
`main.c`
4343
```c
4444
// create ota data for capability
@@ -51,7 +51,7 @@ cap_ota_data->cmd_update_firmware_usr_cb = cap_update_cmd_cb;
5151

5252
Send currentVersion
5353
-------------------
54-
This code will update `currentVersion` attribute by sending event.
54+
This code will update `currentVersion` attribute by sending event.
5555
`main.c`
5656
```c
5757
char *firmware_version = get_current_firmware_version();
@@ -62,7 +62,7 @@ cap_ota_data->set_currentVersion(cap_ota_data, firmware_version);
6262
6363
Lookup available new firmware
6464
-----------------------------
65-
This code will lookup available new firmware by reading OTA server's `versioninfo.json` and send `availableVersion` event.
65+
This code will lookup available new firmware by reading OTA server's `versioninfo.json` and send `availableVersion` event.
6666
`main.c`
6767
```c
6868
@@ -95,7 +95,7 @@ void ota_check_for_update(void *user_data)
9595

9696
Run firmware update
9797
-------------------
98-
This code will run firmware update by receiving `updateFirmware` command.
98+
This code will run firmware update by receiving `updateFirmware` command.
9999
`main.c`
100100
```c
101101
static void ota_update_task(void * pvParameter)

0 commit comments

Comments
 (0)