This application demonstrates using the Web Bluetooth API from an Electron application.
The application will scan for a BLE device service, connect to it, and then read/write a characteristic. You will need a bluetooth device with a serivce providing a read/writeable characteristic. You can simulate a BLE device using an app like LightBlue.
The service and characteristic UUIDS are defined in render.js. Ensure these match your device.
- You will need to install a recent verson of Node.js
- Clone this repository
- Install dependencies with
npm install
- Start the application with
npm start
- Press the button