Right now I'm doing something like the following to start getting range updates for the beacon:
NSUUID *uuid = [[NSUUID alloc] initWithUUIDString:@"bec26202-a8d8-4a94-80fc-9ac1de37daa6"];
self.beaconRegion = [[CLBeaconRegion alloc] initWithProximityUUID:uuid identifier:@"com.bla.bla"];
[self.locationManager startMonitoringForRegion:self.beaconRegion];
which works great. but I wonder if there is a way to get uuids of all ranges of beacons in range and do everything on them, instead of specifying uuids.
I assume this is possible using CoreBluetooth, manually checking the advertised services in the range, etc.? but it would be rather difficult, it is better if CoreLocation can do it somehow.
source
share