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.

Continue...

Published Bluetooth LE Module

September 11, 2013

Well, I published my Node.js module for Bluetooth LE, btle.js (pronounced "Beetle Juice") to npm. Even though it's labeled version 0.1.0, it's got most of the functionality that's necessary for Bluetooth LE - reading attributes, writing commands and requests, and listening for notifications. I'm hoping to add more functionality over the next few weeks/months.

The main reason I was doing this was to get my TI SensorTag working with my Raspberry Pi and Bluetooth LE dongle, which it now does. I've even got the beginnings of a Node.js module for the sensortag, sensortag.js

Continue...

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,

Continue...