mirror of
https://github.com/espressif/openthread.git
synced 2026-09-15 21:50:08 +00:00
[cli] document pskcref (#8511)
This commit is contained in:
+37
-3
@@ -90,7 +90,8 @@ Done
|
|||||||
- [preferrouterid](#preferrouterid-routerid)
|
- [preferrouterid](#preferrouterid-routerid)
|
||||||
- [prefix](#prefix)
|
- [prefix](#prefix)
|
||||||
- [promiscuous](#promiscuous)
|
- [promiscuous](#promiscuous)
|
||||||
- [pskc](#pskc--p-keypassphrase)
|
- [pskc](#pskc)
|
||||||
|
- [pskcref](#pskcref)
|
||||||
- [radiofilter](#radiofilter)
|
- [radiofilter](#radiofilter)
|
||||||
- [rcp](#rcp)
|
- [rcp](#rcp)
|
||||||
- [region](#region)
|
- [region](#region)
|
||||||
@@ -2349,7 +2350,7 @@ Done
|
|||||||
|
|
||||||
### pollperiod
|
### pollperiod
|
||||||
|
|
||||||
Get the customized data poll period of sleepy end device (milliseconds). Only for certification test
|
Get the customized data poll period of sleepy end device (milliseconds). Only for certification test.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
> pollperiod
|
> pollperiod
|
||||||
@@ -2359,13 +2360,23 @@ Done
|
|||||||
|
|
||||||
### pollperiod \<pollperiod\>
|
### pollperiod \<pollperiod\>
|
||||||
|
|
||||||
Set the customized data poll period for sleepy end device (milliseconds >= 10ms). Only for certification test
|
Set the customized data poll period for sleepy end device (milliseconds >= 10ms). Only for certification test.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
> pollperiod 10
|
> pollperiod 10
|
||||||
Done
|
Done
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### pskc
|
||||||
|
|
||||||
|
Get pskc in hex format.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
> pskc
|
||||||
|
00000000000000000000000000000000
|
||||||
|
Done
|
||||||
|
```
|
||||||
|
|
||||||
### pskc [-p] \<key\>|\<passphrase\>
|
### pskc [-p] \<key\>|\<passphrase\>
|
||||||
|
|
||||||
With `-p` generate pskc from \<passphrase\> (UTF-8 encoded) together with **current** network name and extended PAN ID, otherwise set pskc as \<key\> (hex format).
|
With `-p` generate pskc from \<passphrase\> (UTF-8 encoded) together with **current** network name and extended PAN ID, otherwise set pskc as \<key\> (hex format).
|
||||||
@@ -2377,6 +2388,29 @@ Done
|
|||||||
Done
|
Done
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### pskcref
|
||||||
|
|
||||||
|
Get pskc key reference.
|
||||||
|
|
||||||
|
`OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE` is required.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
> pskcref
|
||||||
|
0x80000000
|
||||||
|
Done
|
||||||
|
```
|
||||||
|
|
||||||
|
### pskcref \<keyref\>
|
||||||
|
|
||||||
|
Set pskc key reference as \<keyref\>.
|
||||||
|
|
||||||
|
`OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE` is required.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
> pskcref 0x20017
|
||||||
|
Done
|
||||||
|
```
|
||||||
|
|
||||||
### preferrouterid \<routerid\>
|
### preferrouterid \<routerid\>
|
||||||
|
|
||||||
Prefer a Router ID when solicit router id from Leader.
|
Prefer a Router ID when solicit router id from Leader.
|
||||||
|
|||||||
Reference in New Issue
Block a user