ST Web Bluetooth® App Interfaces


What is Web Bluetooth® ?

The Web Bluetooth® API is a new specification that allows us to communicate directly to Bluetooth® Low Energy devices from the browser.

Browser compatibility with the API Web Bluetooth®.

On a desktop computer: Chrome, Edge and Opera browsers are compatible.
On a smartphone device: Chrome android is the only browser compatible.
See https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API documentation. You may need to enable experimental web platform features in your browser preference.


Usage

Two github pages hosting the web app are available:

No installation is required to use it this way.


Development mode

To run the project in development mode, first be sure npm (node package manager) is installed on your machine.
Open a terminal and write the following command:
npm -v

If npm is not installed on your machine, install Node.js then clone this repo and go to its root directory then proceed the following commands in a terminal:

To install all the dependencies:
npm install

To start the application:
npm start

Then open a compatible browser and go to http://localhost:3000