This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

BLE 6LoWPAN environment about bt0 ifconfig

Hello, I build a BLE 6LoWPAN environment on my raspberry pi with Kernel 3.18.3 and connect a BLE Dongle. The BLE Node is Arch BLE (www.seeedstudio.com/.../Arch-BLE-p-1998.html). and follow Nordic nRF51 IoT SDK But when I try to connect to my Arch BLE , echo "connect XX:XX:XX:XX:XX:XX 1" > /sys/kernel/debug/bluetooth/6lowpan_control , there had no any wrong but the bt0 interface not created. Do you know what’s wrong about this problem? thank you! image description

image description

and i use nano see 6lowpan_control is empty ...

 nano /sys/kernel/debug/bluetooth/6lowpan_control

image description

Parents
  • FormerMember
    0 FormerMember

    In addition to connecting to a device, there are a couple of other steps that you have to do, please take a look at this post.

    Which commands do you run in order to connect? Before connecting, you should run the following commands:

     # Mount debugfs file system
     sudo mount -t debugfs none /sys/kernel/debug
        
     sudo echo 35 > /sys/kernel/debug/bluetooth/6lowpan_psm
    
     sudo sysctl net.ipv6.conf.all.forwarding=1
    
     sudo echo "connect AA:BB:CC:DD:EE:FF 1" > /sys/kernel/debug/bluetooth/6lowpan_control
    
Reply
  • FormerMember
    0 FormerMember

    In addition to connecting to a device, there are a couple of other steps that you have to do, please take a look at this post.

    Which commands do you run in order to connect? Before connecting, you should run the following commands:

     # Mount debugfs file system
     sudo mount -t debugfs none /sys/kernel/debug
        
     sudo echo 35 > /sys/kernel/debug/bluetooth/6lowpan_psm
    
     sudo sysctl net.ipv6.conf.all.forwarding=1
    
     sudo echo "connect AA:BB:CC:DD:EE:FF 1" > /sys/kernel/debug/bluetooth/6lowpan_control
    
Children
Related