# ota-provider-app This is a reference application that implements an example of an OTA Provider Cluster Server. ## Build Suggest doing the following: ``` scripts/examples/gn_build_example.sh examples/ota-provider-app/linux out/debug chip_config_network_layer_ble=false ``` ## Usage | Command Line Options | Description | | ------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | -a, --applyUpdateAction \ | Value for the Action field in the first ApplyUpdateResponse.
For all subsequent responses, the value of proceed will be used. | | -c, --userConsentNeeded | If supplied, value of the UserConsentNeeded field in the QueryImageResponse is set to true. This is only applicable if value of the RequestorCanConsent field in QueryImage Command is true.
Otherwise, value of the UserConsentNeeded field is false. | | -f, --filepath \ | Path to a file containing an OTA image | | -i, --imageUri \ | Value for the ImageURI field in the QueryImageResponse. If none is supplied, a valid URI is generated. | | -o, --otaImageList \ | Path to a file containing a list of OTA images | | -p, --delayedApplyActionTimeSec \