chrvadala / node-ble

Bluetooth Low Energy (BLE) library written with pure Node.js (no bindings) - baked by Bluez via DBus
https://www.npmjs.com/package/node-ble
MIT License
310 stars 45 forks source link

Get advertising data #66

Closed Pantek59 closed 3 months ago

Pantek59 commented 6 months ago

Hi

I couldn't find any way to get access to the advertising data sent out by a device. It's the service data, I am especially interested in, but manufacturer data would be nice, as well.

I was looking for something like Device.getAdvertisingData(), but if there is a way to achieve this, please educate a fool. :-)

EDIT: I just noticed that pull request https://github.com/chrvadala/node-ble/pull/61 might address my problem.

chrvadala commented 3 months ago

61 has been released