Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-noble-bluetooth

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-noble-bluetooth

Node-RED node for interacting with bluetooth devices.

  • 0.9.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
56
decreased by-30%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-noble-bluetooth

A Node-RED module based on noble for interaction with Bluetooth Low Energy (BLE) devices.

Installation

npm install node-red-contrib-noble-bluetooth

Prerequisite

Requires @abandonware/noble module for bluetooth communication

Quick Start

Create a BLE scanner node and hook its input up to an inject node. Send a message with topic "start" to start scanning for devices. By befault it will search for any device. Can be configured to only search for devices publishing certaing services by providing an array of UUID's.

Connect the output to a BLE device node to connect to the found device. This will establish a connection to the device and discover all published services and characteristics.

Use a BLE in node to read from the device or a BLE out note to write to it.

More details about parameters and usage in each node's info panel.

Examples

The following show some simple examples of how to use the nodes. They are both available from the Import menu in the Node RED editor.

Scan for Devices

Shows the different ways to scan for devices, including continuous mode or for a limited time.

Heart Rate Sensor

Shows how to scan for a standard heart rate sensor and subscribe to the pulse measurements. Also shows how to read data from characteristics.

License

Licensed under the MIT License - see the LICENSE file for details.

Keywords

FAQs

Package last updated on 25 May 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc