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

IOT example doesn't work with kernel 4.x like in 3.x?

I've used the very well written IOT examples with no problem on a R PI, Ubuntu PC, and BBB all with 3.18 or 3.19 kernels. I've moved to 4.1 and 4.2 kernels and the behavior is slightly different.

Why does the disconnect command "echo "disconnect 00:AA:BB:XX:YY:ZZ 1" > /sys/kernel/debug/bluetooth/6lowpan_control" now only break the IP connection but not the BLE connection? All three Linux platforms seem to do this with the same issue. I confirmed with logging and with the LED pattern that this is happening. The BLE connection only is lost when I power off the Linux side.

If there is a known issue with the 4.x 6lowpan module, I'll wait for a solution. Or, if there is a fix in the next rev IOT SDK, it would be helpful.

Thanks, Mike

Related