Chapter 13: Wireless Data with Bluetooth
The Bluetooth Spec offers a wireless link between devices.
A device can either act as a central (similar to a server) or peripheral (similar to a client).
A peripheral operates in a certain context or "profile". There is a list of BLE profiles.
Bleno and Noble
- The Noble can scan for peripherals and and communicate with them.
- The Bleno library can emulate Bluetooth profiles of a device.
A special kind of Bluetooth peripherals are Beacons. Beacons can contain bits of informations.
From the Tessel blog
The ble-shepherd is an open-source BLE network gateway solution for full-stack web developers to integrate their BLE machines and webapps. An example for a BLE driver is cc-bnp: TI CC254X SoC driver.
BIPSO is an open spec that defines a set of BLE characteristics to follow the IPSO Smart Object Guideline for developers building their applications with a unified data model.
ESP32 is a low cost microcontroller with wireless building blocks for Bluetooth and Wifi. Here are some links to get started:
The PunchThrough boards support calling sketches from the command line with a Node.js tool.
You can install this tool with:
$ npm install -g bean-sdk
Then, you can follow the examples from the guides
Another nice BLE platine is BlueIOT
Community, forums and bloggers