8.9 Attach and Configure RCP device

  • # ls /dev/tty*
  • # cd /etc/default
  • # cat /etc/default/otbr-agent

Check OTBR_AGENT_OPTS and modify if necessary. Should be:

For Ethernet:

# OTBR_AGENT_OPTS="-I wpan0 -B eth0 spinel+hdlc+uart:///dev/ttyACM0 trel://eth0"

For Wi-Fi:

# OTBR_AGENT_OPTS="-I wpan0 -B wlan0 spinel+hdlc+uart:///dev/ttyACM0 trel://wlan0"

Run the below command :

# sudo otbr-agent -I wpan0 -d7 -v spinel+hdlc+uart:///dev/ttyACM0

Note:
Whenever you face issue with the above command , reboot the system and try the same command. If you still face issue, enable the otbr-web service and restart the services manually as detailed in 14., then reset the board, reboot the system and try the same command.