btle.js 0.2.0 released

October 19, 2013

I just (okay, a few days ago) released version 0.2.0 of btle.js to
npm. This has a bunch of API changes - the connect method now gives you a Device object, instead of a Connection. All the ATT methods are now on the Device object, but, in addition, you can access all the GATT functionality by querying the device for services, which returns Service objects, and services for
characteristics, which return Characteristics objects.

I'm also working on API docs for the whole thing.


Got Them Bluetooth LE Bluez

July 01, 2013

I'm trying to get my Raspberry Pi to talk to my TI Sensortag over Bluetooth LE, using an IOGear Bluetooth 4.0 USB adapter. I chose that adapter because it is supported by Linux, and so far it works quite nicely with the Pi.

To start with, I'd like to write something to pull the sensor data - temperature, humidity, pressure, etc - from the SensorTag and publish it over MQTT. However, reading the data seems to be problematic.

Problem #1 is that the most-used bluetooth package for Python, PyBluez had their last release (0.18) in November, 2009, which,