-
Notifications
You must be signed in to change notification settings - Fork 0
Bluetooth LE Software Environment
-
BlueZ 5.3: http://www.bluez.org/release-of-bluez-5-3/
-
Bleno (BLE peripheral mode support): https://github.com/sandeepmistry/bleno -- nodejs module, could be ported to C to more easily utilize the code in other languages.
-
Noble (BLE central mode support): https://github.com/sandeepmistry/noble -- nodejs module, used to implement bleacon
-
Example app for Noble (ibeacon clone): https://github.com/sandeepmistry/node-bleacon
-
GATT library for linux: https://github.com/jacklund/libgatt -- basically extracted the bluez gatt libs into something that's easily linkable/includeable
Basically the BBB has issues inter-operating with Android devices over BTLE using the GBU521 dongle we purchases. The cubietruck is able to use the same dongle and interoperate with Android/Bluedroid just fine.
-
Raspberry Pi issues with BTLE: http://yetiblog1337.wordpress.com/2013/06/02/raspberry-pi-bluetooth-dongle-does-not-work/
-
USB keyboard was making the BTLE dongle not work by fsking up the USB bus, these URLs show some info on how to diagnose the issue:
-
How to debug bluetooth at the kernel layer: https://github.com/raspberrypi/linux/issues/66
GBU421/GBU521 support in RPi: http://www.raspberrypi.org/phpBB3/viewtopic.php?t=9585&p=276881
Patchram loader for some Broadcom devices (don't know if this is relevant anymore, but I thought it might have something to do with the differences between the GBU521 working consistently on the Cubietruck vs inconsistently on the BBB): http://bazaar.launchpad.net/~phablet-team/phablet-extras/brcm-patchram-plus/view/head:/brcm_patchram_plus.c
You can use gatttool to automated some of our testing:
Gatttool isn't very well document... sometimes reading the source is helpful:
Example test: