Skip to content

hideyuki/proximity-profile-with-web-bluetooth-api

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Proximity Profile with Web Bluetooth API


Web Bluetooth API で BLE デバイスにブラウザから接続する で利用しているソースコードです。

Proximity Profile (Link Loss Service, Immediate Alert Service, Tx Power Service) が搭載されている BLE デバイスと接続する Web Bluetooth API のサンプルコードです。

https://proximity-web-bluetooth-api.herokuapp.com/ で実際に試すことができます。

ES6でJSを記述し、BabelでES5に変換しています。 Web Bluetooth API をハンドリングしているコードは proximity-profile.js です。

About

Web Bluetooth API example in ES6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published