-
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
[thread] use MLE Discovery mechanism instead of active scanning #19200
Merged
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
PR #19200: Size comparison from cb5b1b3 to 34f7a96 Increases (14 builds for cc13x2_26x2, cyw30739, k32w, telink)
Decreases (3 builds for cc13x2_26x2)
Full report (39 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
|
saurabhst
approved these changes
Jun 4, 2022
pullapprove
bot
requested review from
andy31415,
anush-apple,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chshu,
Damian-Nordic,
dhrishi,
emargolis,
franck-apple,
gjc13,
hawk248,
isiu-apple,
jelderton,
jepenven-silabs,
jmartinez-silabs,
jtung-apple,
kghost and
kpschoedel
June 8, 2022 22:12
pullapprove
bot
requested review from
lazarkov,
mlepage-google,
mspang,
rgoliver,
sagar-apple,
selissia,
tecimovic,
tehampson,
vijs,
vivien-apple,
woody-apple,
xylophone21,
yufengwangca and
yunhanw-google
June 8, 2022 22:12
PR #19200: Size comparison from 2b5ec74 to edf1a9f Increases (19 builds for cc13x2_26x2, cyw30739, efr32, k32w, nrfconnect, telink)
Decreases (6 builds for cc13x2_26x2, esp32)
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
Signed-off-by: Lukasz Duda <[email protected]>
PR #19200: Size comparison from ac7e2f7 to 826b8f7 Increases (17 builds for cc13x2_26x2, cyw30739, esp32, k32w, nrfconnect, telink)
Decreases (5 builds for cc13x2_26x2)
Full report (25 builds for cc13x2_26x2, cyw30739, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
woody-apple
approved these changes
Jun 9, 2022
Damian-Nordic
approved these changes
Jun 9, 2022
This was referenced Jul 14, 2022
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.
Problem
The current implementation of
ScanNetworks
command for Thread uses legacy 15.4 active scanning. This mechanism does not provide parameters such as Thread Network name or Extended PAN Id.Change overview
Use
MLE Discovery
to trigger Thread scanning. Simple API change, the result callback has the same type.Testing
Tested manually on nRF Connect platform that
ScanNetworkResponse
includes Network Name and Extended Pan ID over Thread network by executing./chip-tool networkcommissioning scan-networks 1111 0
Additionally modified
chip-tool
locally to send theScanNetworks
command during BLE commissioning, before Thread interface is brought up.