diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt index 56205d3eb1c6e1..e2303b2b6fed76 100644 --- a/.github/.wordlist.txt +++ b/.github/.wordlist.txt @@ -280,6 +280,7 @@ debianutils DEDEDEDE deepnote DelayedActionTime +delayQuery demangle deployable depottools @@ -826,6 +827,7 @@ protobuf protos Prover providerNodeId +providerFabricIndex PRs PSCAN PSK @@ -886,6 +888,7 @@ req Requestor Requestor's Requestors +RequestorCanConsent responder retargeting reusability diff --git a/examples/ota-requestor-app/linux/README.md b/examples/ota-requestor-app/linux/README.md index a00a608dda2ca9..0f68237ea81223 100644 --- a/examples/ota-requestor-app/linux/README.md +++ b/examples/ota-requestor-app/linux/README.md @@ -1,108 +1,135 @@ # ota-requestor-app (Linux) This is a reference application that is both a server for the OTA Requestor -Cluster, as well as a client of the OTA Provider Cluster. It should initiate a -Software Update with a given OTA Provider node, and download a file. +Cluster, as well as a client of the OTA Provider Cluster. It can initiate a +software update with a given OTA Provider node, and download a file. + +## Building + +Suggest doing the following: + +``` +scripts/examples/gn_build_example.sh examples/ota-requestor-app/linux out/debug chip_config_network_layer_ble=false +``` ## Usage -In order to use this reference application to connect to a device running OTA -Provider server and download a software image, these commands should be called -in the following order: +In addition to the general options available to all Linux applications, the +following command line options are available for the OTA Requestor application. + +| Directory | Description | +| --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| -n/--providerNodeId | Node ID of the OTA Provider to connect to (hex format)
This assumes that you've already commissioned the OTA Provider node with chip-tool | +| -f/--providerFabricIndex | Fabric index of the OTA Provider to connect to. If none is specified, default value is 1.
This assumes that you've already commissioned the OTA Provider node with chip-tool | +| -q/--delayQuery