Skip to content

billwiliams/MiBeaconTrilaterationDemo

Repository files navigation

MiBeaconTrilaterationDemo

Set the iBeacons minor + coordinates (X, Y) in the beaconCoordinates.plist (identify by minor) and get coordinates of iDevice with trilateration like this:

[MiBeaconTrilaterator trilaterateWithBeacons:foundBeacons done:^(NSString *error, NSArray *coordinates) {
    if ([error isEqualToString:@""])
    {
        float x = [[coordinates objectAtIndex:0] floatValue];
        float y = [[coordinates objectAtIndex:1] floatValue];
    }
    else
    {
        NSLog(@"%@", error);
    }
}];

About

My iBeacon trilateration class + example project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published