sandeepmistry / node-sensortag

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

TI CC2650 SensorTag Data Reading Problem #70

Closed bekua closed 8 years ago

bekua commented 8 years ago

Hi,

I want to create a sensor network using your library. I installed also noble and node-gyp accordingly. I use a bluetooth 4.0 device with Ubuntu. I have encountered some problems as I tried to read data from sensors. Actually no data from SensorTag can be read.

To get a better understand of the process I used your "test.js" I was able to discover my device, its id and type. However after ConnectAndSetUp is done, no further functions are called. And I have no idea why it is happening, (I am also new to JS and Node.js)

Here is the screenshot of the process:

ss1

Here is the hcidump -t -x output: Seems a bit problematic, since no events here is published, but I don't know why.

hcidump

I'll be glad if someone can help me with this problem.

Regards.

bekua commented 8 years ago

I solved the problem. It was a problem about bluetooth. My device was connecting sensor automatically, before I run the program. I added then deleted my device on bluetooth device list, after then it started to work.