Skip to content

hchiam/learning-pwa-bluetooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Learning PWA Bluetooth

Just one of the things I'm learning. https://github.com/hchiam/learning

You can easily connect a web app to an external bluetooth/NFC/USB/etc device. No need for a separate code base for Android/iOS/etc.

https://youtu.be/ppwagkhrZJs?t=219

https://fireship.io/lessons/pwa-top-features

https://github.com/fireship-io/7-pwa-features-demo

https://github.com/fireship-io/7-pwa-features-demo/blob/main/app/bluetooth.js

BLE Peripheral Simulator: https://play.google.com/store/apps/details?id=io.github.webbluetoothcg.bletestperipheral&hl=en_CA&gl=US

npx serve

Then:

  1. http://localhost:5000
  2. In your browser, click on "Connect Device" and select your mobile device.
  3. In the BLE app, click on "Heart Rate Monitor" and then "NOTIFY" to see console.logs in the paired browser.

About

Learning PWA Bluetooth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published