Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
So far, noble
has required an
alternate Bluetooth driver
on Windows, due to lack of good BLE support in the Windows Bluetooth stack. But the Windows 10
Creators Update has
finally improved the BLE support.
This project is an attempt to implement bindings for noble
using that newly available
functionality in Windows 10.
WIN_SDK_VER
variable in common.gypi
to refer
to the SDK build number that is installed. Try to use an SDK build that matches your
Windows 10 preview build.Simply require noble-uwp
instead of noble
:
const noble = require('noble-uwp');
Then use it in the same way as the regular noble
.
On non-Windows platforms, the benavior is unchanged from noble
, while on Windows the UWP bindings are used instead
of noble
's Bluetooth HCI bindings.
So far, testing has been done with a TI SensorTag.
First, make sure you have the necessary prerequisites for building Node.js native modules. Then, make sure a SensorTag is powered on (light is blinking) and within range, and use the following commands to set up and run tests from Windows PowerShell:
git clone https://github.com/sandeepmistry/node-sensortag
cd node-sensortag
npm install
npm install noble-uwp
node -e "var fs = require('fs'), `
f = 'node_modules/noble-device/lib/util.js'; `
fs.writeFileSync(f, fs.readFileSync(f).toString().replace(`
'require(\'noble\')', 'require(\'noble-uwp\')'))"
$env:DEBUG="noble-uwp"
node test.js
Notes:
node-gyp
; please be patient.noble-device
source file is necessary to get it to use
the noble-uwp
package instead of regular noble
.DEBUG
environment variable setting is optional; set it if you want to see verbose console
output from noble-uwp
.The following functionality is working:
The following functionality is not yet implemented:
FAQs
Noble (Node.js Bluetooth LE) with Windows 10 UWP bindings
The npm package noble-uwp receives a total of 36 weekly downloads. As such, noble-uwp popularity was classified as not popular.
We found that noble-uwp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.