Skip to content

Demonstrate Web Bluetooth API in an Electron app

Notifications You must be signed in to change notification settings

gregbci/WebBluetooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebBluetooth

This application demonstrates using the Web Bluetooth API from an Electron application.

Setup

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.

Usage

  1. You will need to install a recent verson of Node.js
  2. Clone this repository
  3. Install dependencies with npm install
  4. Start the application with npm start
  5. Press the button

About

Demonstrate Web Bluetooth API in an Electron app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published