-
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
[nrfconnect] Enable commissionable node advertising #8454
[nrfconnect] Enable commissionable node advertising #8454
Conversation
586b826
to
cfd1316
Compare
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.
It looks like this changes logic that is shared amongst multiple platforms. What unit tests cover this shared code? It seems like we should be adding new unit tests here...
Which logic do you mean? We probably can't unit-test the OpenThread changes as they are only used by platforms that are run on hardware. |
cfd1316
to
2fadf4e
Compare
I reduced changes in the common code to one condition change in |
2fadf4e
to
546426e
Compare
@bzbarsky-apple @woody-apple could you re-review and see if there are any other changes to request? I think we are still missing here approval from your side. |
546426e
to
0172601
Compare
@woody-apple PTAL? |
Size increase report for "esp32-example-build" from 762a204
Full report output
|
Size increase report for "gn_qpg-example-build" from 762a204
Full report output
|
Size increase report for "nrfconnect-example-build" from 762a204
Full report output
|
0172601
to
b9863e9
Compare
1. Clean up DNS-SD default configuration as different settings were defined in two different places. 3. Clean up conditions for enabling commissionable node advertising. 4. Enable commissionable node advertising for nRF Connect platform.
b9863e9
to
aded3bb
Compare
Right now nothing. The thing to unit-test here would be what sorts of advertisements we actually produce in various situations, and we don't have very good infrastructure for this right now.... I filed #8769 for tracking the tests getting added, but don't think we should block the PR on them. |
Issues generally addressed, request for tests tracked in #8769
* [nrfconnect] Enable commissionable node advertising 1. Clean up DNS-SD default configuration as different settings were defined in two different places. 3. Clean up conditions for enabling commissionable node advertising. 4. Enable commissionable node advertising for nRF Connect platform. * Fix issue with StartResolver removing existing services
Problem
Thread platforms such as nRF Connect SDK don't support commissionable node advertising.
Change overview
Testing
Tested using nRF Connect Lock example:
avahi-browse -rt _S0._sub._matterc._udp
return correct data.