-
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
Ensure that auto commissioner gets the attribute values it expects. #27301
Merged
andy31415
merged 2 commits into
project-chip:master
from
bzbarsky-apple:auto-commissioner-ensure-data
Jun 23, 2023
Merged
Ensure that auto commissioner gets the attribute values it expects. #27301
andy31415
merged 2 commits into
project-chip:master
from
bzbarsky-apple:auto-commissioner-ensure-data
Jun 23, 2023
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
amitnj,
andy31415,
anush-apple,
arkq,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
cliffamzn,
Damian-Nordic,
dhrishi,
electrocucaracha,
franck-apple,
gjc13,
harimau-qirex,
harsha-rajendran,
hawk248,
jelderton,
jepenven-silabs,
jmartinez-silabs,
jmeg-sfy,
joonhaengHeo,
jtung-apple,
kcoppock,
kkasperczyk-no,
ksperling-apple,
lazarkov and
lpbeliveau-silabs
June 16, 2023 21:11
pullapprove
bot
requested review from
nivi-apple,
robszewczyk,
saurabhst,
selissia,
sharadb-amazon,
tcarmelveilleux,
tecimovic,
tehampson,
vijs,
vivien-apple,
woody-apple,
xylophone21,
younghak-hwang,
yufengwangca and
yunhanw-google
June 16, 2023 21:11
bzbarsky-apple
force-pushed
the
auto-commissioner-ensure-data
branch
from
June 16, 2023 21:19
98b4688
to
44df906
Compare
PR #27301: Size comparison from aa13fa3 to 44df906 Increases (8 builds for efr32, esp32, psoc6, telink)
Decreases (17 builds for bl602, bl702, cc32xx, linux, psoc6, telink)
Full report (57 builds for bl602, bl702, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
andy31415
reviewed
Jun 19, 2023
andy31415
reviewed
Jun 19, 2023
woody-apple
approved these changes
Jun 20, 2023
If a device failed to, for example, send us an actual value for the VendorID attribute, we would silently end up using some random value for it during commissioning, probably right up until device attestation failed. Instead of relying on that, we should just explicitly error out if the attributes that must be present (VendorID, ProductID, BasicCommissioningInfo, etc) don't exist.
bzbarsky-apple
force-pushed
the
auto-commissioner-ensure-data
branch
from
June 23, 2023 06:34
360a44b
to
f885839
Compare
PR #27301: Size comparison from 875c577 to f885839 Increases (11 builds for cc32xx, esp32, linux, psoc6, telink)
Decreases (13 builds for bl602, bl702, esp32, linux, nrfconnect, psoc6, telink)
Full report (57 builds for bl602, bl702, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
andy31415
approved these changes
Jun 23, 2023
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.
If a device failed to, for example, send us an actual value for the VendorID attribute, we would silently end up using some random value for it during commissioning, probably right up until device attestation failed.
Instead of relying on that, we should just explicitly error out if the attributes that must be present (VendorID, ProductID, BasicCommissioningInfo, etc) don't exist.