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

Can't find "bt0" on Raspberry Pi 4

Hello, Everyone
I am going to develop an IoT project with nRF52840 and Raspberry Pi 4

My idea is exactly the same as this link
https://visualgdb.com/tutorials/arm/nrf51/6lowpan/
I have followed the below links to build BLE 6LoWPAN environment on my Rpi4

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 the 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 in the error SIOGIFINDEX: No such device.

How to resolve this problem?

Parents
  • Hi, Jorgen. Thanks for your effort
    Really great! , You got the "bt0" on Rpi 4 and Raspberrian OS.
    You gave me the conviction of my project!
    However, Very strange. I still can't get the "bt0" interface.
    I really don't know where is the issue

    now I am thinking perhaps there is some issue with this RAVID installation.

    interface bt0
    {
    AdvSendAdvert on;
    prefix 2001:db8::/64
    {
      AdvOnLink off;
      AdvAutonomous on;
      AdvRouterAddr on;
     };
    }

    I am not sure this conf file installed correctly.
    Anyway, I followed the guidance of this installation.
    Did you also install this RAVID conf file on your RPi 4?
  • No, I did not do andy radvd configs, only the commands I listed on a clean install.

    What are you running on the nRF52840? If you are running the normal Nordic HRM example, this does not run 6LowPAN/IPv6, and will not work together with the IoT commands. If you want to connect a non 6LowPAN device, you can search google for bluez and gatttool.

Reply Children
No Data
Related