p5.ble.js
p5.ble.js: A Javascript library that enables communication between BLE devices and p5 sketches.
With p5.ble.js, you can -
- Request and connect to nearby Bluetooth devices,
- Read / write Bluetooth characteristics,
- Start / stop notifications.
The library is supported by code examples, tutorials that cover many popular Bluetooth LE devices. p5.ble.js by p5.serialport, p5.js, Web Bluetooth API, and Processing Serial Library.
Check out the code, examples, website for p5.ble.js.
Here is an example code that connects to a BLE device and read from one characteristic:
Read more: