sandeepmistry / node-bleacon

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

Sending data between beacons? #4

Closed mooglin closed 11 years ago

mooglin commented 11 years ago

Should I use blecon for detection and monitoring proximity and then use noble for sending data between beacons?

Thanks for the great libs!

sandeepmistry commented 11 years ago

iBeacons are not really used to exchange any data, the UUID/major/minor usually are referenced to an external data source to determine "location" or "context".

Maybe you could expand on what you end goal is?

mooglin commented 11 years ago

Hrrm, I am in a situation where I will want to both check proximity of a beacon and be able to send some small amounts of data back and fourth. Could this be done using bleacon and noble together?

sandeepmistry commented 11 years ago

Not currently, as noble only supports central mode. Once it supports peripheral mode issue 14 you'll be able to do this.

mooglin commented 11 years ago

Ok, thanks.

Does BlueZ 5.x not support peripheral mode? Do I have any more options if I use classic, nonLE, bluetooth? (and use LE just for proximity/beacon)

sandeepmistry commented 11 years ago

Last time I took a look at BlueZ 5.x they sort of support peripheral mode, but you had to modify bluetoothd.

I'm sure you could get something going via a Bluetooth SPP or something, but I haven't tried that myself. I should be able to start adding peripheral mode to noble, not sure how long it will take as both OS X and Linux need to be implemented.