Instrument / Vicinity

Replicates detecting and broadcasting iBeacons in the background
MIT License
376 stars 64 forks source link

Beacon Advertising #19

Open JeffreyKidwell opened 6 years ago

JeffreyKidwell commented 6 years ago

I am attempting to transmit beacons in the background on iOS devices while in Advertisement mode and not Connected Mode. I have a scanner that is able to pick up on various formatted beacons while they are within range. I am able to transmit and receive ibeacons when utilizing the coreloction framework, but I am not able to detect any beacons when utilizing this project. I do not want to establish any connections. I strictly want to transmit ble advertisements over the three established BLE advertising channels. Does this project allow for BLE advertising of UUID beacons while in "Advertisement Mode" and also in the background? Does another iOS device have to be specifically looking for this beacon? If that is the case, is there a way around that so a linux machine scanning the three advertising channels would be able to detect the UUID beacon?

ritesh124 commented 5 years ago

Crownstone said that its possible & they did it, I have also talked to ANNE VAN ROSSUM. You can purchase the solution or else as he said the solution is in the blog, if you can figure... 👍🏼

minoskt commented 5 years ago

Unfortunately it is not possible to advertise a custom BLE (or iBeacon using CoreLocation) signal when the app is in the background. That’s a restriction from iOS operating system most probably for protecting the user’s privacy.