noble / noble-device

A Node.js lib to abstract BLE (Bluetooth Low Energy) peripherals, uses noble
MIT License
97 stars 67 forks source link

Hangs while discovering services from Bleno peripheral #20

Closed mulderp closed 8 years ago

mulderp commented 8 years ago

Hi again!

I am trying to explore the Echo service example from a peripheral (an Intel Edison) running Bleno. On the central side I use the following noble-device code: https://github.com/embeddednodejs/ch_10_physical_internet/blob/master/bleno_peripheral/connect_noble_device.js

When running noble-device code, I see:

root@eddie2:~/ch_10_physical_internet/bleno_peripheral# node test_noble_device.js
found 984fee02dd25
connect
discoverServicesAndCharacteristics

But then nothing happens. I would expect to see the EC02 service and possibly write data from Eddie2 to the bleno device.

What could be wrong?

sandeepmistry commented 8 years ago

@mulderp have you followed the bleno setup instructions? Specifically stopping bluetoothd.

https://github.com/sandeepmistry/bleno#linux

sandeepmistry commented 8 years ago

Closing due to lack of activity.