Usage: commissioner help
Print commissioner help menu.
> commissioner help help announce energy joiner mgmtget mgmtset panid provisioningurl sessionid start stop Done
Usage: commissioner announce <mask> <count> <period> <destination>
Send a MGMT_ANNOUNCE_BEGIN
message.
> commissioner announce 0x00050000 2 32 fdde:ad00:beef:0:0:ff:fe00:c00 Done
Usage: commissioner energy <mask> <count> <period> <scanDuration> <destination>
Send a MGMT_ED_SCAN
message.
The contents of MGMT_ED_REPORT
messages (i.e. Channel Mask and Energy List) are printed as they are received.
> commissioner energy 0x00050000 2 32 1000 fdde:ad00:beef:0:0:ff:fe00:c00 Done Energy: 00050000 0 0 0 0
Usage: commissioner joiner add <eui64>|<discerner> <pskd> [timeout]
Add a Joiner entry.
number/length
.> commissioner joiner add d45e64fa83f81cf7 J01NME Done
> commissioner joiner add 0xabc/12 J01NME Done
Usage: commissioner joiner remove <eui64>|<discerner>
Remove a Joiner entry.
number/length
.> commissioner joiner remove d45e64fa83f81cf7 Done
> commissioner joiner remove 0xabc/12 Done
Usage: commissioner joiner table
List all Joiner entries.
> commissioner joiner table | ID | PSKd | Expiration | +-----------------------+----------------------------------+------------+ | * | J01NME | 81015 | | d45e64fa83f81cf7 | J01NME | 101204 | | 0x0000000000000abc/12 | J01NME | 114360 | Done
Usage: commissioner mgmtget [locator] [sessionid] [steeringdata] [joinerudpport] [-x <TLV Types>]
Send a MGMT_GET
message to the Leader.
> commissioner mgmtget locator sessionid Done
Usage: commissioner mgmtset [locator <locator>] [sessionid <sessionid>] [steeringdata <steeringdata>] [joinerudpport <joinerudpport>] [-x <TLVs>]
Send a MGMT_SET
message to the Leader.
> commissioner mgmtset joinerudpport 9988 Done
Usage: commissioner panid <panid> <mask> <destination>
Send a MGMT_PANID_QUERY
message.
The contents of MGMT_PANID_CONFLICT
messages (i.e. PAN ID and Channel Mask) are printed as they are received.
> commissioner panid 0xdead 0x7fff800 fdde:ad00:beef:0:0:ff:fe00:c00 Done Conflict: dead, 00000800
Usage: commissioner provisioningurl <provisioningurl>
Set the Provisioning URL.
> commissioner provisioningurl http://github.com/openthread/openthread Done
Usage: commissioner sessionid
Get current commissioner session id.
> commissioner sessionid 0 Done
Usage: commissioner id
Get the commissioner id.
> commissioner id OpenThread Commissioner Done
Set the commissioner id.
> commissioner id "Custom Commissioner Id" Done
Usage: commissioner start
Start the Commissioner role.
This command will cause the device to send LEAD_PET
and LEAD_KA
messages.
> commissioner start Commissioner: petitioning Done Commissioner: active
Usage: commissioner state
Get Commissioner state.
This command will return the current Commissioner state.
> commissioner state active Done
Usage: commissioner stop
Stop the Commissioner role.
This command will cause the device to send LEAD_KA[Reject]
messages.
> commissioner stop Done