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

unable to establish 6lowpan connection using openwrt+rpi

Hi, i have an openwrt image running on my rpi. I made sure to build the openwrt image with 6lowpan modules and other bluez library. i am trying to connect to the nrf52 running coap client exmaple using the rpi. I can to see the nrf52 device when i run hcitool lescan, but when i try to connect to it using echo "connect ID 1" > ...../bluetooth/6lowpan_control i get the following error message "connection refused"

am i missing something?

Parents
  • Petter, I noticed if you clone the mainline trunk from openwrt, it builds the 4.4 kernel with the latest Bluetooth_6lowpan kernel module which has 6lowpan_enable instead of 6lowpan_psm. I'm not able to establish connection using this version. But if I download the chaos_calmer branch, openwrt is built with 3.18 kernel and older version Bluetooth_6lowpan kernel module and using this version I'm able to establish connection, so ill stick with this for now. Have you guys tried building and test the latest mainline openwrt with 4.4 kernel and the latest Bluetooth_6lowpan kernel module?

Reply
  • Petter, I noticed if you clone the mainline trunk from openwrt, it builds the 4.4 kernel with the latest Bluetooth_6lowpan kernel module which has 6lowpan_enable instead of 6lowpan_psm. I'm not able to establish connection using this version. But if I download the chaos_calmer branch, openwrt is built with 3.18 kernel and older version Bluetooth_6lowpan kernel module and using this version I'm able to establish connection, so ill stick with this for now. Have you guys tried building and test the latest mainline openwrt with 4.4 kernel and the latest Bluetooth_6lowpan kernel module?

Children
No Data
Related