Sticker scanning using raspberry Pie

Hi all,
I am trying to use Pie to scan stickers for their acclrometer data. However, when I run the example test.js, It Cannot find bluetooth-hci-socket. Should I install anything before, before running the code. I should mention that I use Pie 3 with built-in BLE module.
Regards

This should help:

npm install bluetooth-hci-socket

Assuming you’re using noble/bleacon. It doesn’t install it itself by default, because this dependency is only specific to Linux, and noble/bleacon also support Windows and Macs.

Thanks. That works. Now, Is it possible to reduce the scanning time interval of PIe. I want to be able to detect advertising of 100 ms. How can I reduce the scanning time interval of Pie?