Closed farfromrefug closed 7 years ago
I now see in the code that manufacturerData is not implemented yet. Will try to implement it and make a PR
@jasongin i am new to nodeRT dev.
Do you know how i can convert a IBuffer
to a node Buffer
?
I am trying to get the data
from BluetoothLEManufacturerData
Cool, a PR would be appreciated.
Use rt.toBuffer()
from rt-utils.js
to convert from a WinRT IBuffer
to a Node Buffer
.
@jasongin ok rt.toBuffer()
works. Now the issue is that IBuffer
does not seem to contain what it should.
I am investigating
created the PR https://github.com/jasongin/noble-uwp/pull/9
Yes it's done !
It was merged into the develop
branch. I still need to merge into the master
branch and publish a new package to NPM. I'll do that soon!
Merged to master
and published to NPM as v0.3.1.
Hi, as I see advertisement now exsists, but on all my Apple Devices (I don't have others at the moment to test It) I see localName: null.
Have this problem too?
@hoffmannjan Not all devices supply a localName in their advertisement. Do you see a localName value when running the same code using noble on a non-Windows device?
Yes, when I'm using noble on MacOS detected deveices have theier local names like 'Jan Hoffmanns iPhone'. When I switch to ASUS laptop, all of them has empty local name.
Will try to test with another BT stick in Asus.
I now got it work and it is already discovering a lot of devices ! Now about the device that i am interested in. The advertisment data is always empty
I see this in my log before i get the
'discover'
event:Maybe advertisment is not already implemented?