Questions tagged [clbeacon]
18 questions
4
votes
1 answer
Detect iBeacons without knowing UUID. Some apps are doing so
I looked into the answer for this question and in most of the answers, I found that it is not possible to detect the iBeacon without knowing the UUID of the device.
But some of the apps on App Store is doing the same. Here are the links for those…

Rajan Kambaliya
- 157
- 1
- 12
4
votes
1 answer
CLBeaconRegion, how to turn off warning: Turn On Bluetooth to Allow * to Connect to Accessories
We have a project that is using CoreLocation regions to monitor iBeacon region entering/exiting in the app background. CLBeaconRegion (CLRegion), CLBeacon, etc. CLLocationManager returns callbacks when a CLBeacon (iBeacon) region is entered. It…

Miro
- 5,307
- 2
- 39
- 64
4
votes
2 answers
difference between didEnterRegion and didRangeBeacons
What is the exact difference between didEnterRegion and didRangeBeacons in terms of use case i mean when i should implement didEnterRegion/didExitRegion and when should i implement didRangeBeacons ?
What are the each delegate method's exact…

Mihir Mehta
- 13,743
- 3
- 64
- 88
3
votes
0 answers
locationManager:didRangeBeacons:inRegion beacon array contains multiple instances of the same beacon
So I have my delegate method locationManager:didRangeBeacons:inRegion and it gives me an NSArray of beacons. Usually it only has 1 beacon in the array, that is the one I'm currently searching for. However it happens sometimes where there are…

shadowarcher
- 3,265
- 5
- 21
- 33
3
votes
0 answers
Userlocation with beacons Trilateration
I am working with a beacon based project one of the major functionality in my project is indoor navigation with beacons for that i tried some 3rd party sdks but nothing helped me. So i decided to do my own trilateration with a set of equations then…

Anshad Rasheed
- 2,526
- 1
- 14
- 32
2
votes
1 answer
NSPredicate to filter beacon according to UUID, major and minor raising exception
I have a beacons array having a collection of CLBeacon and I would like to get only the beacon which matches a given uuid, major and minor in NSPredicate. Below is the code in Object C which is generating an exception because of UUID in the…

Simant
- 3,142
- 4
- 32
- 61
2
votes
1 answer
CoreLocation or Estimote iOS SDK
In my iOS app, I just need to find out the beacon region entry/exit based on the UUID, Major, Minor numbers. The beacon I am going to listen for can be of any type say Estimote or an iOS device which can act as a beacon. Can I use CoreLocation alone…

saikamesh
- 4,569
- 11
- 53
- 93
1
vote
2 answers
Mock CLBeacon Object in Swift
I have been searching online for a way to mock a CLBeacon object in order to test one of my classes. All I can find is related to COMockito which is only compatible with Objective-c.
All I need, is to be able to create a mock CLBeacon and set its…

ShEsKo
- 157
- 1
- 13
0
votes
1 answer
Find Closest Beacon in every second by using RSSI in Objective-C
In Stack Overflow, I've seen answer to find closest beacon (Swift find closest Beacon by rssi).
Here I tried with accuracy to find closest in Objective-C. My app finds beacon in every sec that time accuracy is not working finding closest properly.…

Eshwar
- 3
- 5
0
votes
2 answers
How do I get the Signal Strength value from an iBeacon packet on iOS using Objective-C
The iBeacon protocol includes the Signal Strength or Measured Power as the last byte of the packet. Is there any way to get that value?

user856232
- 1,073
- 2
- 14
- 40
0
votes
2 answers
CLBeacon subclass error
i want to pass some extra information through CLBeacon so i create a subclass of it called CLBeaconExtender. the problem is while executing the code, it give me this error
NSArray element failed to match the Swift Array Element type
this is the…

Fiorelo Odobashi
- 121
- 1
- 1
- 11
0
votes
0 answers
NSUserDefaults intermittently resetting for some users
I've written an iOS app that scans for beacons.
I've set the app to monitor a pre-selected minor beacon, and have two methods, getBeaconMinor() and setBeaconMinor() that read/write a value from/to NSUserDefaults.
I use .syncronize() after each…

andylockran
- 181
- 1
- 9
0
votes
0 answers
Is there anyway to monitor CLBeaconRegion without using CLLocationManager
In my current app i am using
self.locationManager = [[CLLocationManager alloc] init];
if ([_locationManager respondsToSelector:@selector(requestAlwaysAuthorization)])/
[_locationManager requestAlwaysAuthorization];
…

Mihir Mehta
- 13,743
- 3
- 64
- 88
0
votes
1 answer
Location manager not monitoring Beacons
I am not getting region entry and exit events for beacon regions. This is how I add the beacon to the monitoredRegions:
NSUUID *uuid = [[NSUUID alloc] initWithUUIDString: beacon.UUID];
CLBeaconRegion *region = [[CLBeaconRegion alloc]…

ildsarria
- 281
- 3
- 10
0
votes
1 answer
TI Beacons not working with CoreLocation
I am trying to connect TI beacons to device but I am unable to connect. The downloaded the various sample codes to connect the beacons but seems like everyone has used the estimator beacons .
is there any difference in estimator and TI beacons…

Hitesh
- 389
- 2
- 6
- 15