IPSP sample with KW41Z-BLE controller gives error: No route to host (on Linux kernel 4.4.0-98)


Priyanka
 

Hello


I test KW41Z-BLE controller with Zepyhr sample IPSP running in QEMU on Linux Kernel 4.4.0-98


I load 6lowpan module and enable bluetooth_6lowpan module 


# modprobe bluetooth_6lowpan
# modprobe 6lowpan

# echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable


However, while connecting the device it gives error "no route to host"


# echo "connect 00:60:37:00:00:16 1" > /sys/kernel/debug/bluetooth/6lowpan_control
bash: echo: write error: No route to host

Any idea what is missing here?


$ sudo hcitool -i hci1 lecc 00:60:37:00:00:16
Connection handle 32

Whereas this works fine when I test zephyr IPSP sample (BLE host) with virtual BLE controller connected to QEMU serial line.


ifconfig shows bt0 up after connecting the virtual device


# echo "connect 00:aa:01:00:00:23 1" > /sys/kernel/debug/bluetooth/6lowpan_control


# cat /sys/kernel/debug/bluetooth/6lowpan_enable
1

# cat /sys/kernel/debug/bluetooth/6lowpan_control
00:aa:01:00:00:23 (type 1)


Thanks

Priyanka


Join users@lists.zephyrproject.org to automatically receive all group messages.