Vicinity alternatives and similar libraries
Based on the "iBeacon" category.
Alternatively, view Vicinity alternatives based on common mentions on social networks and blogs.
BeaconEmitter7.1 1.6 L5 Vicinity VS BeaconEmitterTurn your Mac as an iBeacon
OWUProximityManager5.2 0.0 L5 Vicinity VS OWUProximityManageriBeacons + CoreBluetooth
JMCBeaconManager3.2 0.0 L4 Vicinity VS JMCBeaconManageriBeacon Manager
Proxitee0.7 0.0 Vicinity VS ProxiteeProxitee iOS SDK to enable iOS apps to use the Proxitee platform with iBeacon and GeoFencing
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Vicinity or a related project?
Vicinity replicates iBeacons and supports broadcasting and detecting low-energy bluetooth devices in the background.
It is built with CoreBluetooth framework and doesn't use CoreLocation to implement iBeacons. CoreLocation itself limits how it can be used when apps are in the background, whereas CoreBluetooth fully supports background operations.
What is iBeacon
The term iBeacon describes the ability of low-engergy bluetooth devices to broadcast and detect proximity of devices by analyzing the received signal strength of the wireless bluetooth signal.
In the iOS SDK iBeacons are implemented in the CoreLocation framework—which places many limits on how it can be used in the background.
The CoreBluetooth framework itself supports RSSI (received signal strength indication), which is all that it is needed to replicate the iBeacon sections of CoreLocation.
The problem with using CoreLocation to detect iBeacons is this functionality is very limited once an app is in the background. CoreBluetooth has much greater background support of iOS apps. With CoreBluetooth, you can broadcast as a peripheral and detect as a central while in the background. The framework will even allow limited actions within your app code while these services are running.
The heart of this is
INBeaconService. This replicates how iBeacons work by analyzing RSSI of low-energy bluetooth broadcasts. Most of the work is done using
CBCentralManager, which are classes in the CoreBluetooth framework.
Getting this to work effectively required a two things:
- interpreting the RSSI values reliably, taking into account sensor noise and signal spikes
- converting the RSSI values to distances
When Reading data from sensors on iOS, be that accelerometer or RSSI, the values can contain a lot of noise and spikes. I initially tried to use a weighted average which didn't work that well. Applying an "easing function" to smooth out the incoming signal values worked much better.
RSSI to Distance
Converting the RSSI values to distances was a matter of trial and error. I also cheated by realizing that iBeacons uses fuzzy distance terms like "Far", "Near", and "Immediate". The reason for these values became obvious once we analyzed the actual data. Bluetooth RSSI flucuates wildly at ranges beyond five feet and becomes more accurate at values less than 1 foot.
Supposedly, different bluetooth devices are going to have varying signal strengths, but the smattering of iOS devices we measured reported the same values.
We hope this simple app will come in useful.
Contact us with questions!