xcode - iBeacons: distance between bluetooth devices in iOS -
i working on app displays notification when user enters particular area , exits area. using 3 beacons app. when user in between second , third beacon need notify user inside premises , when user has crossed first beacon need notify him outside premises. till extent able achieve using beacons accuracy property distance between user's device , 3 beacons, time display alert user more 30 sec 1 minute, should instant.
it important understand the clbeacon
accuracy
property, gives distance estimate in meters, lags 20 seconds behind moving mobile device. same true proximity
property, derived accuracy
. lag may causing delays describe.
why lag exist? distance estimates based on bluetooth signal strength (rssi
property) varies lot radio noise. in order filter noise, ios uses 20 second running average in calculating distance estimate. result, tells how far beacon away (on average) during last 20 second period.
for applications need less lag in estimate, can use rssi
property directly. aware due noise, less accurate indication of distance beacon single reading.
read more here: http://developer.radiusnetworks.com/2014/12/04/fundamentals-of-beacon-ranging.html
Comments
Post a Comment