This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

OpenThread can not join by using commissioner & joiner commands

Hi all,

I am trying to test the OpenThread protocol by using CLI example.

Path of example is nRF5_SDK_for_Thread_and_Zigbee_v3.2.0_9fade31\examples\thread\cli\ftd\usb\pca10059\mbr\ses

The two boards are PCA10059.

I have successfully loaded the CLI example onto the boards, and can send commands over the USB, Like follow:

One board 1:

> panid 0xabcd
Done
>
> ifconfig up
Done
>
> thread start
Done
>
> state
detached
Done
>
> state
leader
Done
>
> ipaddr
fdde:ad00:beef:0:0:ff:fe00:fc00
fdde:ad00:beef:0:0:ff:fe00:9000
fdde:ad00:beef:0:24c0:87f7:2c7d:eed9
fe80:0:0:0:2cbf:74e9:d58f:c4d8
Done
>
> scan
| J | Network Name | Extended PAN | PAN | MAC Address | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
>
> Done

On board 2:

> panid 0xabcd
Done
>
> ifconfig up
Done
>
> thread start
Done
>
> scan
| J | Network Name | Extended PAN | PAN | MAC Address | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
>
> | 0 | OpenThread | dead00beef00cafe | abcd | 2ebf74e9d58fc4d8 | 11 | -42 | 208 |
Done
state
leader
Done
>
>

And then I try to use commissioner & joiner commands to connect the two boards into one network.

On board 1:

> commissioner start
Done

>
> commissioner joiner add * PSK12
Done

>
>

On board 2:

> joiner start PSK12
Done
>
>

Then I wait serval minutes to check the result:

On board 1:

> state
leader
Done
>
> router list
36
Done
>
> child list

Done
>
> scan
| J | Network Name | Extended PAN | PAN | MAC Address | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
>
> | 0 | OpenThread | dead00beef00cafe | abcd | 5338f82b720a8158 | 11 | -43 | 200 |
Done

On board 2:

> state
leader
Done
>
> router list
35
Done
>
> child list

Done
>
> scan
| J | Network Name | Extended PAN | PAN | MAC Address | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
>
> | 1 | OpenThread | dead00beef00cafe | abcd | 2ebf74e9d58fc4d8 | 11 | -42 | 208 |
Done

That means the two boards didn't connect into the same network, right? Is there any problem with the command sequences?

Any help would be appreciated!

Parents Reply Children
No Data
Related