Skip to content

Noble Windows 10 bindings using the official C++/WinRT API

License

Notifications You must be signed in to change notification settings

Timeular/noble-winrt

Repository files navigation

Noble (Node.js Bluetooth LE) for Windows 10

This is a rewrite of noble-uwp using the C++/WinRT API.

System Requirements

  • Node.js v6.14.2 or later.
  • Windows 10 build 10.0.15063 or later
  • Windows 10 SDK build 10.0.17134.0

Usage

Simply require noble-winrt instead of noble:

const noble = require('noble-winrt');

On non-Windows platforms or Windows versions lower than 10.0.15063 this will use the regular noble implementation and on Windows version 10.0.15063 or later it will use the native binding using the C++/WinRT API.

Implementation Status

Everything should work that also works with the regular noble bindings except:

  • Writing/Reading to descriptor handles is not supported
  • Broadcast is not supported