@@ -10,7 +10,7 @@ Because this application is based on _switch_example_ . you could find more deta
1010
1111Change 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
2727Import 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.
3030You 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
3939Register 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
5252Send 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
5757char *firmware_version = get_current_firmware_version();
@@ -62,7 +62,7 @@ cap_ota_data->set_currentVersion(cap_ota_data, firmware_version);
6262
6363Lookup 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
9696Run 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
101101static void ota_update_task (void * pvParameter)
0 commit comments