Bluetooth on Jellybean
Published on March 3, 2014
Bluetooth logo
We've just uploaded a new Android Jellybean image containing Bluetooth support on Nitrogen6X. Thanks to the efforts of Marc Mulcahey at Levelstar, the TiWi-BLE module is now functional.
You can download the image from here:
Source access
The sources for this release are in the boundary-imx_jb4.3_1.0.0-ga branch of our Github repository (the main development branch), and the build steps are otherwise the same as in the second beta release. You'll need to run repo sync to pull them in, and because we moved the hardware/ti/wpan/ repository from AOSP to our private git server, you may need to start with a fresh repository. In the mean-time, we'd like to get some feedback from early adopters, and hope the image file will make this easy.Implementation details
The trick to making this work properly on Nitrogen6X turned out to be getting the userspace bits (hardware/ti/wpan/bluedroid_wilink) in sync with the kernel driver (drivers/misc/ti-st for Shared Transport). Because the bluedroid_wilink is another case of driver-in-userspace, there's some tight coupling between the two. The updates consist primarily of a set of patches back-ported from the stable kernel tree (3.13) on kernel.org, and this commit from the OMAP kernel in the AOSP. Also, as mentioned before, we also had to move the hardware/ti/wpan repository out of AOSP because of a silly restriction on TARGET_DEVICE == panda.Other features
In addition to the big-ticket item of Bluetooth on Nitrogen6x, there are a handful of other tweaks to this image:- Text-to-speech support - Again, thanks to Marc Mulcahy for pointing out that we didn't have this enabled previously,
- Power-off support - The system will now halt after Power-down is requested (more on this below), and
- Added devregs utility - We added the devregs tool into this build.