-
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
Bring OTA XML into closer alignment with the spec. #11243
Bring OTA XML into closer alignment with the spec. #11243
Conversation
Once our client is using APIs that handle optional argumentsconnectedhomeip/examples/ota-provider-app/ota-provider-common/OTAProviderExample.cpp Lines 160 to 170 in d2ee23f
This comment was generated by todo based on a
|
PR #11243: Size comparison from bf585f8 to d2ee23f Increases above 0.2%:
Increases (8 builds for esp32, linux, mbed)
Full report (37 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
I did some digging into the Linux codesize increase (or rather a similar one on Mac). The main reason for the Mac one is that |
examples/ota-provider-app/ota-provider-common/OTAProviderExample.cpp
Outdated
Show resolved
Hide resolved
1) Flag optional fields of QueryImage as optional. 2) Fix ordering of arguments for QueryImage. 3) Rename ApplyUpdateResponse to match the spec. 4) Use cluster-objects to send responses in example OTA provider.
3438985
to
d8631d3
Compare
PR #11243: Size comparison from 2fe9024 to d8631d3 Increases above 0.2%:
Increases (8 builds for esp32, linux, mbed)
Decreases (2 builds for linux)
Full report (37 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
* Bring OTA XML into closer alignment with the spec. 1) Flag optional fields of QueryImage as optional. 2) Fix ordering of arguments for QueryImage. 3) Rename ApplyUpdateResponse to match the spec. 4) Use cluster-objects to send responses in example OTA provider. * Addresss review comments. * Rebase to tip
Problem
Some optional fields are not optional
Change overview
See above.
Testing
Need to add tests that actually don't send the fields; not sure what the best setup for that is.