BLUDistance Constants Reference

Declared in BLUDistance.h

BLUDistance

Defines levels of distance for beacon advertisements. These values are used to give a distance estimate for BLUBeacon objects. Their calculation is based on the beacon’s transmission power and RSSI values. Accurate results can only be expected in direct line-of-sight environments with minimal signal interference.

Definition

typedef NS_ENUM(NSUInteger, BLUDistance ) {
   BLUDistanceUnknown,
   BLUDistanceImminent,
   BLUDistanceNear,
   BLUDistanceFar,
};

Constants

BLUDistanceUnknown

The current beacon distance could not be calculated.

Declared In BLUDistance.h.

BLUDistanceImminent

The beacon is not more than 0.5 meters away from the receiver.

Declared In BLUDistance.h.

BLUDistanceNear

The beacon is between 0.5 and 2 meters away from the receiver.

Declared In BLUDistance.h.

BLUDistanceFar

The beacon is more than 2 meters away from the receiver.

Declared In BLUDistance.h.

Declared In

BLUDistance.h