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> <pskd>
Add a Joiner entry.
> commissioner joiner add d45e64fa83f81cf7 J01NME Done
Usage: commissioner joiner remove <eui64>
Remove a Joiner entry.
> commissioner joiner remove d45e64fa83f81cf7 Done
Usage: commissioner mgmtget [locator] [sessionid] [steeringdata] [joinerudpport] [binary <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>] [binary <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 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 stop
Stop the Commissioner role.
This command will cause the device to send LEAD_KA[Reject]
messages.
> commissioner stop Done