sandeepmistry / node-sensortag

Node.js lib for the TI SensorTag
MIT License
218 stars 111 forks source link

No connection with Noble version 1.9 #107

Closed martin-doyle closed 6 years ago

martin-doyle commented 6 years ago

After reinstalling node-sensortag, I could not connect to the TI-Sensortag anymore. The script hangs at the connectAndSetup function. Since node-sensortag (1.3) and noble-device (1.41) have not changed, the change on noble to 1.9 seems to be the problem. After forcing version 1.81, everything works fine again.

jmjobin commented 6 years ago

Had the same problem and resolved it by forcing install noble@1.8. Thanks for the hint.

curana commented 6 years ago

I can confirm that a) on my Macbook (High Sierra) it works with noble 1.9 b) on my Raspberry Pi 3 (current Raspbian) it does not work with noble 1.9. Downgrading to noble 1.8.1 fixes the connection issues.

With the RPi3 noble/sensortag hangs after connecting to the CC2650. It won't succeed in activating the sensors.

kevintupper commented 6 years ago

Confirm as well! After hours of trying to figure out why a demo wasn't working. :-)

sandeepmistry commented 6 years ago

This should be fixed with https://github.com/noble/noble/pull/769. Please provide your feedback on that pull request.

piersbarrios commented 6 years ago

Thank you very much! I have been strugling for three days before finding this was the issue.

Works perfectly on RaspberryPi 3 (tell me if you want more details)

martin-doyle commented 6 years ago

Yes, it works with version 1.9 and https://github.com/noble/noble/pull/769 on a Raspberry. Thanks a lot.

sandeepmistry commented 6 years ago

noble v1.9.1 has been published with a fix for this.