sandeepmistry / node-bleacon

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

mac address x uuid #45

Open thiagocury opened 8 years ago

thiagocury commented 8 years ago

I checked the lib noble read the mac address and bleacon not read the mac address. I would like to use two at the same time to read the mac address and the characteristics of the beacons. How can I do it? Thank you!

sandeepmistry commented 8 years ago

@thiagocury as discussed on gitter. you'll have to modify the lib: https://github.com/sandeepmistry/node-bleacon/blob/master/lib/bleacon.js#L114-L120

Add something like bleacon.address = peripheral.address.

Pull request welcome if this works for you :)