4
votes

Apple released iOS 7 with iBeacons technology. Does Apple release any more details about this iBeacons technology?

In my project, I will create an iBeacons. How can I pick the UUID of iBeacons? Is there any rules to generate iBeacons UUID? Can I use random number as UUID?

3
I would like to generate UUID as well. The purpose of doing this is to avoid overlapping of UUID with other iBeacon. But the answers below does not answer this question.user1872384

3 Answers

9
votes

You can use the uuidgen command in Terminal to generate a UUID, create an NSUUID and then instantiate a CLBeaconRegion instance:

NSUUID *uuid = [[NSUUID alloc] initWithUUIDString:@"10D39AE7-020E-4467-9CB2-DD36366F899D"];

CLBeaconRegion *region = [CLBeaconRegion initWithProximityUUID:uuid
                                                    identifier:@"unique region identifier"];

See Apple's AirLocate sample project from WWDC 2013 for more info or you can review my blog here for more info: http://www.captechconsulting.com/blog/christopher-mann/ios-7-tutorial-series-core-location-beacons.

7
votes

If your question was more about where to generate proximity UUID for iBeacon app, I suggest using free online application OpenUUID we have created:

http://openuuid.net/

Besides generating unique proximity UUIDs for your apps (OpenUUID detects collisions, even though their probability is astronomically small), OpenUUID lets you access the list of UUIDs that you previously generated, so that you can keep track of them. Hope the service helps...

0
votes