-
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
Advertise all of our available operational identities. #8923
Advertise all of our available operational identities. #8923
Conversation
Size increase report for "nrfconnect-example-build" from 50d80b9
Full report output
|
fc472e3
to
de865d6
Compare
Not to re-litigate things, but I think we are saying it is the controller that can only deal with a 0-fabric. There still seems like there is an opportunity for accessories to advertise the fabric ID actually enclosed in their certs (which isn't spec compliant, but seems saner). The logic that 'there are bugs on both the controller and accessory side so, therefore, this is OK' is a bit hard to accept. On the other hand, it's impossible to move to a fabricReference-nodeId representation until the controller limitations are actually addressed. |
Oh, I apologize! You are doing this. Thank you! I was confused by your statement that 'fabric IDs are still wrong'. Well yes, they are zero because that's what the controller can currently support. But the accessory is reporting this from the cert, not from some random value in the configuration manager. Correct? |
Size increase report for "gn_qpg-example-build" from 0b406de
Full report output
|
Size increase report for "esp32-example-build" from 0b406de
Full report output
|
Right. In my specific test steps the fabric id being advertised for the second "pairing" is 0, not 17, because the controller doesn't actually put 17 in the cert. But the accessory is advertising whatever is in the cert. |
Problem
Right now we only advertise one of our operational identities.
Change overview
Advertise all of them.
Testing
In one terminal:
In another terminal:
And observe the logs on the chip-all-clusters-app side:
The fabric ids are still wrong because the pairing commands in chip-tool ignore the passed-in fabric id and just always use 0 when generating all the opcerts.... (because the relevant controller apis don't have a way to pass in a fabric id).