Beacons: the cornerstone of indoor positioning