mirror of
https://github.com/espressif/openthread.git
synced 2026-09-02 07:10:08 +00:00
Add active scan to API and CLI. (#27)
* Add active scan functions and definitions to core C api. * Add active scan command to CLI. * Add emulation of PHY channel isolation.
This commit is contained in:
@@ -27,6 +27,7 @@ OpenThread test scripts use this CLI to execute test cases.
|
||||
* [rloc16](#rloc16)
|
||||
* [route](#route)
|
||||
* [routerupgradethreshold](#routerupgradethreshold)
|
||||
* [scan](#scan)
|
||||
* [start](#start)
|
||||
* [state](#state)
|
||||
* [stop](#stop)
|
||||
@@ -396,6 +397,20 @@ $ routerupgradethreshold 16
|
||||
Done
|
||||
```
|
||||
|
||||
### scan \[channel\]
|
||||
|
||||
Perform an IEEE 802.15.4 Active Scan.
|
||||
|
||||
* channel: The channel to scan on. If no channel is provided, the active scan will cover all valid channels.
|
||||
|
||||
```bash
|
||||
$ scan
|
||||
| J | Network Name | Extended PAN | PAN | MAC Address | Ch | dBm |
|
||||
+---+------------------+------------------+------+------------------+----+-----+
|
||||
| 0 | OpenThread | dead00beef00cafe | ffff | f1d92a82c8d8fe43 | 11 | -20 |
|
||||
Done
|
||||
```
|
||||
|
||||
### start
|
||||
|
||||
Enable OpenThread.
|
||||
|
||||
Reference in New Issue
Block a user