First of all, tell me what ibeacon is:
IBeacons is the function of the IOS7 system. Use Bluetooth 4.0 (Low power Bluetooth) for data transfer (iphone 4s + devices). Handheld devices can receive signals from Ibecons base stations within a certain range (up to 50m). Any Bluetooth device that implements the Ibeacon protocol can act as a ibeacon base station. Different from GPs, cellular data, WiFi location mode. Bluetooth 4.0 itself is low cost, equipment power consumption is also low, so compared to other positioning methods have their own advantages. And this positioning is directly end-to-end direct positioning, eliminating the GPS satellite and cellular data base station communication, is an effective complement to the existing positioning technology, has its unique use of the scene and value.
Identifying the Beacon: (Identifying beacon devices)
Beacon devices have three properties: use these three properties to differentiate between beacon devices
Available in IOS 7.0 and later. Official note: The above ios7.0 is available
@property(readonly, nonatomic, strong) nsuuid *proximityuuid
@property(readonly, nonatomic, strong) nsnumber *Major
@property(readonly, nonatomic, strong) nsnumber *minor
Determining the Beacon Distance (determine distance attribute)
@property(readonly, nonatomic) clproximity proximity
The value of the gives a general sense of the relative distance to the beacon. Use it to quickly identify beacons is nearer to the user rather than farther away. (This attribute value only gives a general sense of distance, and when approached, this property can be quickly Identification Beacon,)
@property(readonly, nonatomic) cllocationaccuracy accuracy
(Indicates the accuracy, the meter unit, cannot accurately represent, will be interfered by the RF signal)
@property(readonly, nonatomic) nsinteger rssi
(indicates signal strength, sampling average)
Constants (contains information about distances reflected by beacons)
typedef {
Clproximityunknown, (not found)
Clproximityimmediate, (relatively near)
Clproximitynear, (quite near)
Clproximityfar (relatively far)
} clproximity;
About Apple Ibeacon Official document parsing