From bad07d4fea655669acd9ebcb156146ef5cacbde1 Mon Sep 17 00:00:00 2001 From: Carol Yang Date: Mon, 4 Apr 2022 10:53:00 -0700 Subject: [PATCH] [OTA] Update provider usage and readme (#16976) --- examples/ota-provider-app/linux/README.md | 24 ++++---- examples/ota-provider-app/linux/main.cpp | 73 ++++++++++++----------- 2 files changed, 49 insertions(+), 48 deletions(-) diff --git a/examples/ota-provider-app/linux/README.md b/examples/ota-provider-app/linux/README.md index a52e87257c7b7f..5eff4f0532f938 100644 --- a/examples/ota-provider-app/linux/README.md +++ b/examples/ota-provider-app/linux/README.md @@ -13,18 +13,18 @@ scripts/examples/gn_build_example.sh examples/ota-provider-app/linux out/debug c ## Usage -| Command Line Options | Description | -| --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| -f/--filepath | Path to a file containing an OTA image | -| -o/--otaImageList | Path to a file containing a list of OTA images | -| -q/--queryImageStatus | Value for the Status field in the first QueryImageResponse.
For all subsequent responses, the value of updateAvailable will be used. | -| -x/--ignoreQueryImage | The number of times to ignore the QueryImage Command and not send a response | -| -y/--ignoreApplyUpdate | The number of times to ignore the ApplyUpdate Request and not send a response | -| -a/--applyUpdateAction | Value for the Action field in the first ApplyUpdateResponse.
For all subsequent responses, the value of proceed will be used. | -| -t/--delayedQueryActionTimeSec