Like the question says, is there a number max of regions that can be RANGED (not monitored) at the same time? (One of my use cases might need me to range more than 20, that's why I'm asking this)
Thanks.
Like the question says, is there a number max of regions that can be RANGED (not monitored) at the same time? (One of my use cases might need me to range more than 20, that's why I'm asking this)
Thanks.
I've not seen any reference in Apple's documentation, header files, or WWDC videos to whether there's a maximum number of beacons that can be ranged.
I just set up a small demo to range 100 regions, and it seems to work just fine:
for (int i = 0; i < 100; i++) {
[self.locationManager startRangingBeaconsInRegion:[[CLBeaconRegion alloc] initWithProximityUUID:[[NSUUID alloc] initWithUUIDString:@"E2C56DB5-DFFB-48D2-B060-D0F5A71096E0"] major:1 minor:i identifier:[NSString stringWithFormat:@"com.beaconMonitor.%d", i]]];
}
The number of minor beacons you are able to identify by their minor number is 2^16-1 (65535) minor beacons. This is because the broadcast signal for minor regions are represented as four hex digits.
Refer to the iBeacon Protocol, What is the iBeacon Bluetooth Profile