Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    and we've tried the core-bluetooth branch too. Worked as well but had several issues to make it work. https://github.com/piotrdubiel managed to make it work.
    Hello! I’m facing with a very strange issue. I’m using CSR dongle on arm-linux in central mode. The node.js script is looking for a peripheral and if it’s found, then it connects to it based on some RSSI proximity. The issue is that sometimes the connect callback in peripheral.connect is called twice! After that the script stops behave normally and I’m unable to connect, until I do: hciconfig hci0 down && hciconfig hci0 up
    This only happens when the CSR device connects to my old Android phone, while for my iOS device it works always fine. Things becomes even more weirder when I run the script on two separate devices with CSR dongle on each. Such issue occurs even more frequent (3-5 times) then! And it’s clearly noticeable when you turn off one device and leave the second running and vice versa.
    I have changed MAC-addresses on both dongles to ensure it’s not related to any address collisions
    I’d be highly appreciated if someone could explain such behavior or help to debug the issue.
    Timothee Cruse
    Hi. I’m looking for some quick support on how to get data transferred accross one device to another using BLE.
    I’m looking at the battery example in noble.
    I’m just wondering how I should go about doing that with bleno on the other side?
    Hello, it seems that I’ve finally came up with the root cause of the issue. What kind of scanning noble does? Active or passive?
    Timothee Cruse
    I’m trying to use the pizza example, or at least inspire from it.
    On raspberry pi 3, noble hangs on connect.
    how can I debug this?
    ie. peripheral.connect(function (err) { just hangs
    Adrian Lita
    @teuteuguy i have no problem running it on raspi 3. try the jessie debian distro if the stretch one does not work for you (honestly, I don't know if I've tried stretch or not)
    @sandeepmistry, is there any upcoming updates that supports macOS High Sierra ? I've tried patching it up on what I've fround on the tracker, but no luck for me. Do you have any planned release date for a newer version ?
    Sandeep Mistry
    @sameshit noble uses active scanning
    Any ideas on this issue: sandeepmistry/noble#719 ? I don’t now what to do :(
    How does noble react if there is no Bluetooth device available? I tried using it on Debian + node and it crashed too...
    hi there. anyone else noticed the issue a few of us are recently running in to as documented over at sandeepmistry/noble#734 ?

    Hi there. I'm trying to run an example from https://lab.ruuvi.com/iota/ and I cannot seem to get it to work. When I try to run "example.js" it gives me the error... pi@RaspAurora:~/ruuvi-nodejs $ node example.js
    throw err;

    Error: Cannot find module '../build/Release/binding.node'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/pi/ruuvi-nodejs/node_modules/bluetooth-hci-socket/lib/native.js:3:15)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)

    When I navigate to that folder "build", in the ruuvi-nodejs directory, there isn't anything there.
    I've used npm install noble in the ruuvi-nodejs directory, but nothing.
    Does anyone know if NodeJS has potential for crafting mesh networks?
    Hi there, I am new here. I have been experimenting with noble in the las few weeks, here what I try to do in short: I have a sensort tag with a BLE module which is set up as peripheral to send data (messages of 9 bytes) over a characteristic. On the other side I have a RPi 3 with noble installed which I use as central. I am able to connect to the sensor via different examples and also get output from the characteristic (e.g. in hcidump I see all 9 hex bytes
    ACL data: handle 64 flags 0x02 dlen 16
    ATT: Handle notify (0x1b)
    handle 0x000b
    value 0x7f 0x7f 0x7f 0x4f 0xf2 0x2a 0x00 0x25 0x00 ). Now my problem is: how can I get data from here to rfcomm? I saw there are options like signaling or writing to the HCI socket, but I am unsure which would be the best way to do it. Any input is highly appreciated! Thanks!

    Hi Sandeep.
    Thanks for this awesome library :)
    I am struggling to get notification updates after I made a write to a different characterstic.
    I can successfully subscribe and get notified of updates from characteristic A, but when I make a write to characteristic B, then the notifies on A stop working.

    If I don't write to B then A will happily keep receiving notifications.

    service.discoverCharacteristics(null, (err, characteristics) => {
                        for (var i in characteristics) {
                            console.log('  ' + i + ' uuid: ' + characteristics[i].uuid);
                            if (characteristics[i].uuid === movementCharactersticUuid){
                                console.log('got the right one');
                                movementCharacteristic = characteristics[i];
                                movementCharacteristic.read(function (error, readdata) {});
                                movementCharacteristic.on('read', function (readdata, isNotification) {
                                movementCharacteristic.subscribe(function (err) {
                                    if (err) console.log('error subscribing!');
                                    console.log('subscribed to characteristic ...');
                            } else if (characteristics[i].uuid === playerNumberCharacteristicUuid){
                                playerNumberCharacterstic = characteristics[i];
                                playerNumberCharacterstic.write(Buffer.from('1','utf8'), true, function (error) {
    Hello guys
    I am using https://github.com/sandeepmistry/noble to get BLE(Bluetooth low energy) device details but encountered the following problem. I am able to Scan BLE devices. When i try to get all characteristics it is also working fine, Reading Characteristics is also working fine but when try writing characteristics for BLE devices, I do not see any change characterics value in my BLE device.
    Hi, I would like to add noble on android
    I followed the steps here noble/noble#571 but i got the same problem with bluetooth-hci-socket and libudev
    any idea on how to fix it?
    Pedro de Almeida
    Hi peeps, quick question does the Maximum Simultaneous Connections means that I can only get 5 or 6 advertisements at the same moment of time or that i can only listen to 5/6 beacons?
    E.g: could I have 5 beacons sending advertisements every 4 seconds then 5 other beacons sending advertisements every 6 seconds, and so on?
    Roberto Santo
    Hi guys, did anyone use this library to connect from a raspberrypi to a nrf52832 bluetooth device?
    I have no clue what code is needed on the receiving nrf52 device.
    @StevenSalazarM Have you found a solution for that? I am having the same type of issue
    any help please change data flutter arduino (bluetooth serial)
    Hey for some reason I cannot scan for any BLE devices for my Mac
    Is it because I have Mojave
    Phil "RzR" Coval
    Hi, Is there noble support for BLE 4.2: LLCP Data Length Update ?
    Nabeel Nasir
    @aflofo Hey. I have the same issue. I have NodeJS v8.12.0 running on MacOS Mojave 10.14.1. Scan doesn't show any peripherals. Any idea on how to fix this? I've tried switching to noble-mac, but that also didn't help. :(
    Nabeel Nasir
    I updated to MacOS Mojave 10.14.3 and noble-mac is working!
    Project is dead ?
    hi, I'm new to BLE, is this still a good node package to use?
    Felipe Cabrera
    This message was deleted
    Hi guys .. after few months python 2.7 is going to deprecate ... Does it have any effect on Noble
    @sandeepmistry data event is not working with ios. i have used peripheral.updateValue("start".data(using: .utf8)!, for: request.characteristic as! CBMutableCharacteristic, onSubscribedCentrals: nil) funtion to update the value for a characteristic in didReceiveWrite request . i'm able to read it. while its working fine with android.
    Roberto Chavez Jr
    I was wondering if anyone has any ideas how to connect a Bluetooth device with only their UUID ? I found an article from google using UUID to connect devices
    I'm at work and it's important for me to get this task finished
    Corey Cole
    Hello, I'm new to BLE but I'm wondering if anyone has advice on figuring out if two devices using my app locally are nearby each other/in the same room
    Can I measure some connection strength to give me confidence the two devices using my app are in the same room?
    nabil mokhtar
    Hi , anyone know how to set UUID ,Major and minor using noble . ?
    Antonio Ken Iannillo
    Hallo, is this channel still active? :)