-
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
Enable server interactions on Controllers #14998
Enable server interactions on Controllers #14998
Conversation
14c4eb0
to
20d5f21
Compare
PR #14998: Size comparison from 14eb3f5 to 20d5f21 Increases (21 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6, qpg)
Decreases (21 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6, qpg)
Full report (23 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6, qpg)
|
PR #14998: Size comparison from 4d510a3 to fa9d6de Increases above 0.2%:
Increases (28 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6, qpg)
Decreases (8 builds for cyw30739, efr32, linux)
Full report (32 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6, qpg)
|
PR #14998: Size comparison from 4d510a3 to c908dac Increases above 0.2%:
Increases (28 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6, qpg)
Decreases (28 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
Full report (33 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
|
PR #14998: Size comparison from 11a5b14 to b35b072 Increases above 0.2%:
Increases (35 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
Decreases (9 builds for cyw30739, efr32, linux)
Full report (40 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
/rebase |
PR #14998: Size comparison from c1d14cc to ffe5dbb Increases above 0.2%:
Increases (37 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
Decreases (11 builds for efr32, k32w, linux, p6)
Full report (42 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
…read_udp to false to fix compilation issues with Server.cpp
/rebase |
Problem
For controllers that happen to also provide server functionality, there is no way today to even initiate CASE to a controller from another device. This is key for an OTA provider to function correctly.
Change overview
Adds a new
enableServerInteractions
parameter that can be used when creatingDeviceController
/DeviceCommissioner
AND initializing theDeviceControllerFactory
to:CASEServer
and enable listening for session establishment.DeviceController
is created and an identity bestowed upon it, advertise that identity over mDNS.WARNING: This will not work over IPv4, and will only work over IPv6.
Testing
Creates two Python REPL instances with matching fabric credentials in persistent storage.
On the first REPL instance, ran:
On the second REPL instance, ran:
Confirmed that
ResolveNode
returned 'true' and that the logs showed that CASE was established.