sandeepmistry / node-bleacon

A Node.js library for creating, discovering, and configuring iBeacons
MIT License
498 stars 88 forks source link

Scanning mor than one uuid #22

Closed wattnpapa closed 9 years ago

wattnpapa commented 9 years ago

Hey,

it is possible to scan for multiple defined uuid's at the same time? Or can i only scan for all and for one uuid ?

thx

sandeepmistry commented 9 years ago

@PowerPan great question!

Currently all or one uuid at a time. Although it could be changed, see:

https://github.com/sandeepmistry/node-bleacon/blob/master/lib/bleacon.js#L46

https://github.com/sandeepmistry/node-bleacon/blob/master/lib/bleacon.js#L85

If an array was used to store the startScanning params from each call. Pull request would be great if you have time to make the mods.