- Device Watcher (basic sample working)
- GATT Server foreground (basic sample working) - Requires a device with Bluetooth 4.1 advertising a Gatt Service.
- Bluetooth client (basic sample working)
This is an example project that shows how to intereact with the native Bluetooth APIs built into Windows from JavaScript. This repository will deploy code automatically to https://bluetoothjs.azurewebsites.net. Using Visual Studio you can create a Hosted Web Application that points to the azurewebsite URL.
Within the Hosted Web App Visual Studio project three things that need to be set in the package.appxmanifest file.
- Application Tab -> Start Page set to: https://bluetoothjs.azurewebsites.net
- Capabilities Tab -> Check the Bluetooth box
- Content URIs Tab -> Add include rule for https://bluetoothjs.azurewebsites.net to access All WinRT (a.k.a. Windows Runtime APIs)