-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OTA-R] Use delayedActionTime to delay QueryImage when supplied #18832
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pullapprove
bot
requested review from
anush-apple,
arkq,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
emargolis,
franck-apple,
gjc13,
harimau-qirex,
hawk248,
harsha-rajendran,
jelderton,
jepenven-silabs,
jmartinez-silabs,
jtung-apple,
kghost,
lazarkov,
LuDuda,
mlepage-google and
mrjerryjohns
May 26, 2022 02:38
pullapprove
bot
requested review from
msandstedt,
rgoliver,
robszewczyk,
sagar-apple,
saurabhst,
selissia,
tecimovic,
tehampson,
vijs,
vivien-apple,
wbschiller,
woody-apple,
xylophone21,
yufengwangca and
yunhanw-google
May 26, 2022 02:39
PR #18832: Size comparison from c0295ae to 50cc3fc Increases (12 builds for cc13x2_26x2, cyw30739, efr32, linux, nrfconnect)
Decreases (3 builds for cc13x2_26x2)
Full report (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
carol-apple
approved these changes
May 26, 2022
Damian-Nordic
approved these changes
May 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
As per test event 9 TC-SU-2.2 step 5 failed. The step asked to launch the OTA provider by giving the flag to wait 3 min before DUT sends another QueryImage, but it sends the message after 2 min instead.
See Spec section: 11.20.3.2. Querying the OTA Provider, subsection Handling Busy value in Status field.
Fixes: #18432
OTA-P command:
out/apps/ota-provider/chip-ota-provider-app -f ~/Downloads/test2.ota --passcode 20202021 --discriminator 3840 --KVS /tmp/chip_kvs_provider -q busy -t 180
OTA-R command:
out/apps/ota-requestor/chip-ota-requestor-app --discriminator 30 --secured-device-port 5560 --KVS /tmp/chip_kvs_requestor
Chip-tool announce OTA provider command:
out/apps/chip-tool/chip-tool otasoftwareupdaterequestor announce-ota-provider 0x00000000ABCD 0 0 0 0x0000001234567890 0
Change overview
If
DelayedActionTime
is supplied in the QueryImage response and OTA-P wasBusy
orNotAvailable
, takeDelayedActionTime
into account when scheduling a delayed QueryImage retry.Testing
-q busy
flag for busy and-t 180
forDelayedActionTime
of 3 minutes.Issue #18432 OTA-P with fix.txt
Issue #18432 OTA-R with fix.txt
Issue #18432 chiptool with fix.txt