This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Thread node defaults to child, unable to change into router node

Hello there,

I've set up 1.RaspberryPi with an otbr docker container.

Thanks to Sigurd I have set up 2.nRF21540DK running CoProcessor firmware built with nRF Connect SDK 1.7.1

Device 3.ot-cli-ftd, I have connected this device to the thread network and it always joins as a Child. I would like to change it into a router, but I am unable to change the state into router using "state router"

The firmware for device 3.ot-cli-ftd is running on a bmd-341(nRF52840) built with the ot-nrf528xx repository(commit 856c280bed73ba8846ded933ab4cf758e9af2dae).

Output of commands run on device 3.ot-cli-ftd:

> thread stop
Done
> dataset init new
Done
> dataset panid 0x1234
Done
> dataset channel 15
Done
> dataset networkkey 00112233445566778899aabbccddeeff
Done
> dataset networkname OpenThreadDemo
Done
> dataset commit active
Done
> ifconfig up
Done
> thread start
Done
> state
detached
Done
> state
child
Done
> scan
| J | Network Name     | Extended PAN     | PAN  | MAC Address      | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
| 0 | OpenThreadDemo   | 12a6e0c91b69d217 | 1234 | 9edd723f5b2e6928 | 15 | -79 |  60 |
Done
> version
OPENTHREAD/thread-reference-20200818-1453-g7a1c843ff; NRF52840; Jan 18 2022 15:24:00
Done
> version api
183
Done

Also when I scan on device 3.ot-cli-ftd the rssi from the 2.nRF21540DK is very low(-79dBm). When I scan from 2.nRF21540DK the RSSI of device 3.ot-cli-ftd seems normal(-47dBm).

Output of commands run on device 2.nRF21540DK:

root@44002931789c:/app# ot-ctl
> state
leader
Done
> neighbor table
| Role | RLOC16 | Age | Avg RSSI | Last RSSI |R|D|N| Extended MAC     |
+------+--------+-----+----------+-----------+-+-+-+------------------+
|   C  | 0x4801 |  85 |      -49 |       -49 |1|1|1| 9ec763b364ebdab9 |

Done
> extpanid
12a6e0c91b69d217
Done
> scan
| J | Network Name     | Extended PAN     | PAN  | MAC Address      | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
> | 0 | OpenThreadDemo   | c10610524d6090c8 | 1234 | 9ec763b364ebdab9 | 15 | -47 | 188 |
Done
childip
Done
> version
OPENTHREAD/a193a6f; POSIX; Sep  2 2021 10:19:05
Done
> version api
158
Done

Related