mirror of
https://github.com/espressif/openthread.git
synced 2026-08-15 07:07:46 +00:00
[mle] add discovery request callback (#5131)
This commit allows notifying the application a discovery request is received, which is useful if the application wants to be more active when a joiner comes.
This commit is contained in:
@@ -88,7 +88,16 @@ wait_for "" "Done"
|
||||
send "discover something_invalid\n"
|
||||
expect "Error 7: InvalidArgs"
|
||||
|
||||
set spawn_id $spawn_1
|
||||
expect "version=2,joiner=0"
|
||||
|
||||
set spawn_id $spawn_3
|
||||
send "joiner start 123456\n"
|
||||
set timeout 10
|
||||
expect "NotFound"
|
||||
dispose
|
||||
|
||||
set spawn_id $spawn_1
|
||||
expect "version=2,joiner=1"
|
||||
|
||||
dispose_nodes
|
||||
|
||||
Reference in New Issue
Block a user