-
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
Remove Peer/local nodeid dependency for PASE #4945
Conversation
… have no concept of nodeids as at that time the nodes do not yet belong to the fabric
This comment has been minimized.
This comment has been minimized.
Once Operational credentials are implemented, node id assignment should be done during opcreds configuration.connectedhomeip/src/transport/RendezvousSession.cpp Lines 158 to 168 in f8354fe
This comment was generated by todo based on a
|
Marked as draft for now - pairing succeeds, however remote device does not seem to be controllable. I believe we store pairings on the remote server as well and since we stopped transmitting the node id, the pairing is not available (chip-tool was reporting a correct node id). |
Removed back from draft - manual testing of 'chip-tool provision + esp32 toggle (without reboot)' seems to work. So ready for review, I will debug cirque. |
…nfo. Fixes cirque but now logic is highlighted as subject to change
Admin information and node ID shouold be set during operation credential configurationconnectedhomeip/src/transport/RendezvousSession.cpp Lines 119 to 129 in b05b895
This comment was generated by todo based on a
|
when operational certificates are in use, Rendezvous should not rely on destination node id.connectedhomeip/src/transport/RendezvousSession.cpp Lines 346 to 356 in b05b895
This comment was generated by todo based on a
|
@pan-apple - PTAL |
Size increase report for "gn_qpg6100-example-build" from 2d11bc4
Full report output
|
Size increase report for "nrfconnect-example-build" from 2d11bc4
Full report output
|
Size increase report for "esp32-example-build" from 2d11bc4
Full report output
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @andy31415, this was a much needed cleanup!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have CASE sessions yet. What is mDNS going to advertise if we don't have a node id ?
I could not fully pull out nodeID - mdns advertisement will remain the same. The bits that I did take out were passing in nodeid within PASE session classes - generally less nodeids. |
What node id do we advertise in mDNS in that case? Here's what we need
|
Problem
At the time of PASE establishment, the peer does not yet belong to a fabric. Having node ids passeed around results in a larger coupling than necessary.
Summary of Changes
Tested that
chip-tool pairing ble
can still pair devices.