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

cannot create bt0 in raspberry pi3

Hello all,

Environment:

  • Rpi with Raspbian Stretch (Release 9.8)
  • Kernel 4.14.8-v7+
  • Architecture armv7l

I have followed the below links to build BLE 6LoWPAN environment on my Rpi3

All commands were working fine until echo "connect <mac address of other device> 1" > /sys/kernel/debug/bluetooth/6lowpan_control. As seen from the websites, after this command execution, there should be bt0 interface created. But it is not visible in ifconfig -a.

Also the 6lowpan_control file is empty. But when I try to connect the other device using the command hcitool con after executing above command, I am able to see the desired connections in the terminal, still no bt0 device available. I have even tried with the command ifconfig bt0 add 2001:db8::1/64 but resulted with the error SIOGIFINDEX: No such device.

How to resolve this problem?

Note: I think I am facing this same issue.

Parents Reply
  • Hey,

    A small update. The connection I am seeing in hcitool conn command disappear after a few seconds (around 30 sec). Also the Bluetooth indicator LED in the device is not turned ON after echo "connect <mac address of other device> 1" > /sys/kernel/debug/bluetooth/6lowpan_control command.  From this, I clearly know that the above command was not able to connect my other Bluetooth device

    But I was able to connect the same device and able to see the Bluetooth indicator LED ON while using bluetoothctl commands.

    Please help me to resolve this problem at the earliest.

Children
No Data
Related