Skip to content

shtarbanov/WebBluetooth-Feather-nRF52832

Repository files navigation

Web Bluetooth + Feather nRF52832

Web Bluetooth examples with Adafruit Feather nRF52832

This repository contains full examples to help you get started with Web Bluetooth. You will find both the embedded code for setting up a basic bluetooth device and the JavaScript code for connecting to and controlling that device from the web browser.

In order to understand how to work with Web Bluetooth, you first must know about the following concepts, and in the order shown:

  • Document Object Model
  • Event Listeners in JavaScript
  • Arrow Function in JavaScript
  • Promises in JavaScript
  • Async / Await in JavaScript
  • Bluetooth Services and Characteristics
  • Data Buffer Concepts in JavaScript: TypedArray, ArrayBuffer, DataView, etc.

Here are some additional helpful resources about web-bluetooth specifically:

You can start playing with the example web-apps in this repository by launching them directly from here.

  1. Advertising Info
  2. LED Control
    LED Control (2 devices)
  3. Battery Level Notify
  4. Floating Point Number Read
  5. Floating Point Number Read/Write
  6. Random Number Generator

About

Web Bluetooth examples with Adafruit Feather nRF52832

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published