noble / bleno

A Node.js module for implementing BLE (Bluetooth Low Energy) peripherals
MIT License
2.12k stars 448 forks source link

Raspberry Pi 3b drops connection on sample code. #367

Closed bilbobx182 closed 6 years ago

bilbobx182 commented 6 years ago

I did some digging as I didn't want to duplicate any issues, it seems similar to this issue here https://github.com/noble/bleno/issues/180

Description: When I attempt to run test.js in the bleno folder after running (sudo hciconfig hci0 up). when a client attempts to connect to Test it immediately disconnects them.

I attempted to connect using LightBlue on a Nokia 3 along with some custom code and it continuously disconnects.

on -> accept, client: addressHere
on -> disconnect, client: addressHere
on -> rssiUpdate: 0

Version information

NOOBs version : Linux version 4.14.22-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1096 SMP Mon Feb 26 19:14:22 GMT 2018

Node : v4.3.2

Edit: Closed, I'm a fool. It was the device connecting not the raspberry pi and code.