All Projects → Timeular → Noble Mac

Timeular / Noble Mac

Licence: mit
Noble MacOS bindings using the official CoreBluetooth API

Projects that are alternatives of or similar to Noble Mac

Open Home Automation
Open Home Automation with Home Assistant, ESP8266/ESP32 and MQTT
Stars: ✭ 820 (+900%)
Mutual labels:  ble
Ble Ebook Project
The companion repository for the book: "Bluetooth 5 & Bluetooth Low Energy: A Developer's Guide"
Stars: ✭ 48 (-41.46%)
Mutual labels:  ble
Rxbluetoothkotlin
Bluetooth low energy reactive framework for Android written in Kotlin
Stars: ✭ 68 (-17.07%)
Mutual labels:  ble
Node Red Contrib Generic Ble
A Node-RED node set for providing access to generic BLE peripheral GATT characteristics.
Stars: ✭ 20 (-75.61%)
Mutual labels:  ble
Pxt Bluetooth Keyboard
BLE HID Keyboard module for micro:bit
Stars: ✭ 44 (-46.34%)
Mutual labels:  ble
Pytile
📡 A simple Python API for Tile® Bluetooth trackers
Stars: ✭ 56 (-31.71%)
Mutual labels:  ble
Shiny
A Xamarin Framework for Backgrounding & Device Hardware Services (iOS, Android, UWP, Tizen, tvOS, watchOS, & more coming soon)
Stars: ✭ 763 (+830.49%)
Mutual labels:  ble
Rxbluetoothkit
iOS & OSX Bluetooth library for RxSwift
Stars: ✭ 1,213 (+1379.27%)
Mutual labels:  ble
Ancs4linux
iOS/iPadOS notification service client for Linux desktop (notifications on your desktop, over Bluetooth Low Energy)
Stars: ✭ 47 (-42.68%)
Mutual labels:  ble
Blinker Library
An IoT Solution,Blinker library for embedded hardware. Works with Arduino, ESP8266, ESP32.
Stars: ✭ 1,095 (+1235.37%)
Mutual labels:  ble
Saberlight
Collection of tools to control some "smart" BLE bulbs [Mirror]
Stars: ✭ 36 (-56.1%)
Mutual labels:  ble
Flutter wechat ble
ble 4.0 with wechat style api for flutter. flutter版微信api风格的低功耗蓝牙
Stars: ✭ 41 (-50%)
Mutual labels:  ble
Telink sig mesh
Telink 蓝牙芯片SIG Mesh SDK,可对接天猫精灵,小爱同学等
Stars: ✭ 56 (-31.71%)
Mutual labels:  ble
Esp32 ble wedo
A library to control LEGO wedo 2.0 with the ESP32 through Bluetooth low energy
Stars: ✭ 16 (-80.49%)
Mutual labels:  ble
Ble
✨Android BLE基础操作框架,基于回调,操作简单。包含扫描、多连接、广播包解析、服务读写及通知等功能。
Stars: ✭ 1,183 (+1342.68%)
Mutual labels:  ble
Thingsboard Gateway
Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
Stars: ✭ 796 (+870.73%)
Mutual labels:  ble
Blue heron
Use Bluetooth LE in Elixir
Stars: ✭ 54 (-34.15%)
Mutual labels:  ble
Easybluetoothframe
经典(传统)蓝牙快速开发框架,A fast develop frame of classic bluetooth
Stars: ✭ 79 (-3.66%)
Mutual labels:  ble
React Native Ble Manager
React Native BLE communication module
Stars: ✭ 1,210 (+1375.61%)
Mutual labels:  ble
Bleheartratelogger
Bluetooth Low-Energy Heart Rate Monitor data logging in Python
Stars: ✭ 63 (-23.17%)
Mutual labels:  ble

Note: this project was integrated in @abandonware/noble and is no longer actively maintained

Noble (Node.js Bluetooth LE) for MacOS

Build Status

The mac bindings in the noble repository use a XPC connection and an undocumented protocol to communicate directly with the bluetooth daemon. This is error prone, as the protocol needs to be reverse engineered by sniffing the communication between a regular program which uses the official CoreBluetooth API and the bluetooth daemon. Since the protocol is not public Apple can change it at anytime (For now every new OSX release changed the protocol).

This package provides the same functionality as the regular noble mac bindings using the official CoreBluetooth API.

System Requirements

  • Node.js v6.14.2 or later.
  • macOS 10.7 or later

Prerequisites

OS X

Installation

Currently, it has not been published yet on npm, so please try to add the dependence as the following.

"dependencies": {
    "noble-mac": "https://github.com/Timeular/noble-mac.git"
}

Then, please run npm install again.

Usage

Simply require noble-mac instead of noble:

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

On non-Mac platforms this will use the regular noble implementation and on MacOS it will use the native binding using the official CoreBluetooth API.

Note

Be careful to not write to the Client Characteristic Configuration descriptor directly to enable notification. Use subscribe instead to enable and listen to notifications.

Implementation Status

Everything should work that also works with the regular noble mac bindings.

  • Broadcast is not implemented, but it neither was in recent noble mac bindings
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].