diff --git a/docs/guides/esp32/ota.md b/docs/guides/esp32/ota.md index 0217514523efd0..ab079250250b40 100644 --- a/docs/guides/esp32/ota.md +++ b/docs/guides/esp32/ota.md @@ -35,11 +35,24 @@ control list. ### Using Console -After commissioning is successful, press Enter in requestor device console and -type below query. +After commissioning is successful, read the default-ota-providers list of +requestor using the command below. ``` ->matter ota query 1 0 +./out/debug/chip-tool otasoftwareupdaterequestor read default-otaproviders 0 +``` + +If the list does not have your provider, write into default-ota-providers list +of requestor using the command below. + +``` +./out/debug/chip-tool otasoftwareupdaterequestor write default-otaproviders '[{"fabricIndex": 1, "providerNodeID": , "endpoint": 0}, {"fabricIndex": 1, "providerNodeID": , "endpoint": 0}]' 0 +``` + +Press Enter in requestor device console and type below query. + +``` +>matter ota query ``` Once the transfer is complete, OTA requestor sends ApplyUpdateRequest command to