abandonware / node-bluetooth-hci-socket

MIT License
42 stars 47 forks source link

Scan request to a specific MAC? #16

Open SteidlD opened 4 years ago

SteidlD commented 4 years ago

Hi,

I'm using your version of noble on my homebridge plugin (https://github.com/SteidlD/homebridge-inkbird-bt-thsensor). I use cyclic scan requests in order to get the manufacturer specific data (contains everything I need) in the scan response of a specific BLE device (I know the MAC address!!). So I don't need to establish a connection.

Now I was looking for a way to only send the scan requests to the one device with this MAC address (save battery on the other devices). Tried to read me through your code, but got lost on my way...

Thanks in advance.