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:
Here is the hcidump -t -x output:
Seems a bit problematic, since no events here is published, but I don't know why.
I'll be glad if someone can help me with this problem.
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.
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:
Here is the
hcidump -t -x
output: Seems a bit problematic, since no events here is published, but I don't know why.I'll be glad if someone can help me with this problem.
Regards.