Skip to content

pasine/iBeacon-Trilateration-

Repository files navigation

Shennekt iBeacon Trilateration Demo

Farrukh Jadoon Release date (v1.0): Feb 3, 2015

-Patched for iOS 8 Core Location compatibility -Fixed the corrupted Demo test files -Added the info.plist parameter for NSLocationAlwaysUsageDescription for iOS 8 Location support.

Instructions:

Set the iBeacons minor ID as the keys (at least 3) and planar coordinates (X, Y) in the beaconCoordinates.plist file. Beacons are identified by the minor ID's and are trilaterated as:

[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);
    }
}];

Credits:

Mathijs Vreeman, Wojciech Borowicz

About

Indoor localization hack using Estimote beacons.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published