Reputation: 1467
Is there a library available to allow applications to utilise Bluetooth LE in Linux?
Similarly, I know the Motorola RAZR offers a proprietary API but do other devices with dual mode Bluetooth chips (i.e. Galaxy S III) offer an API for Bluetooth LE?
Upvotes: 1
Views: 3163
Reputation: 10382
As for Linux...
I've been doing a lot of work with this in Python and unfortunately the existing libraries for LE are either bleeding edge or missing some things. The Bluez 5.X series has support for LE through DBUS. The kernel requirements for it were much higher than the device I needed to use so I was left having to do things by using raw sockets.
With Bluez 4.x I think everything can be done by using raw sockets, setting socket options, and very occasionally an ioctl call. In Python, however, a lot of the constants you need aren't there yet. I had to hack together some modules using the Python C API so I could import the constants from the library header files. If you're okay with doing everything in C you'll find full functionality there.
Upvotes: 1
Reputation: 2802
I know many people are using Broadcom BLE for developing BLE on Android devices.
Upvotes: 0