mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 13:20:25 +00:00
Update otThreadDiscover() to include input argument for setting Joiner flag. (#1658)
This commit is contained in:
committed by
Jonathan Hui
parent
c73ba27878
commit
f392421d2c
+1
-1
@@ -747,7 +747,7 @@ void Interpreter::ProcessDiscover(int argc, char *argv[])
|
||||
scanChannels = 1 << value;
|
||||
}
|
||||
|
||||
SuccessOrExit(error = otThreadDiscover(mInstance, scanChannels, OT_PANID_BROADCAST,
|
||||
SuccessOrExit(error = otThreadDiscover(mInstance, scanChannels, OT_PANID_BROADCAST, false,
|
||||
&Interpreter::s_HandleActiveScanResult, this));
|
||||
sServer->OutputFormat("| J | Network Name | Extended PAN | PAN | MAC Address | Ch | dBm | LQI |\r\n");
|
||||
sServer->OutputFormat("+---+------------------+------------------+------+------------------+----+-----+-----+\r\n");
|
||||
|
||||
Reference in New Issue
Block a user