Di nuovo a giugno 2013, Apple unveiled its next big thing in the wireless communication world – IBeacon. This technology hadn’t drawn too much attention at that time, but it was still impressive. It relies on the back of Bluetooth 4.0 (introdotto in 2010), or as we call it, Bluetooth a bassa energia (DIVENNE) tecnologia. iBeacon specification represents a significant move in proximity-based services optimizing the core benefits of BLE.
introduzione per ioBeacon offered by Apple
iBeacon is a Bluetooth advertising protocol. Questo protocollo fondamentalmente guida i beacon Bluetooth su quali dati e in quale formato devono essere pubblicizzati. If you want to check the complete iBeacon specification, puoi visitare il sito web ufficiale di Apple per IBeacon.
Apple iBeacon isn’t a hardware product you can pick up at the Apple Store. It’s more like a set of rules – a protocol specification, if you want to get technical – for BLE-based proximity sensing. iBeacon utilizes low energy Bluetooth proximity detecting technology.
Apple è stata la società che ha introdotto un iBeacon nel mondo. The ‘i’ nell'iBeacon, as we’ve seen from Apple’s branding, denotes Apple’s implementation. però, the underlying technology is not proprietary. It’s based on the Bluetooth 4.0 BLE protocol and can be implemented on any compatible device, not just iOS products. The market then has also seen a proliferation of beacon services and devices from other tech giants, such as Google’s Eddystone.
How does iBeacon specification work
iBeacon technology utilizes BLE, a part of the Bluetooth 4.0 specification released in 2010. The core of iBeacon is broadcasting. iBeacon operates without the need for a connection. All the information obtained by the APP is broadcast.
La metodologia di base per trasmettere i pacchetti pubblicitari è la stessa. Un dispositivo beacon invia gli stessi pacchetti a tutti e tre i canali pubblicitari. Quando un destinatario riceve un pacchetto, determina la rilevanza del pacchetto. It mean the receiver checks whether the advertising packet is decodable or not? Se il pacchetto è decodificabile, esegue ulteriori azioni.
iBeacon communication is unidirectional: beacons continuously broadcast small data packets. Any BLE-enabled device can receive these transmissions. These packets contain unique identifiers and additional information. When a compatible device enters the beacon’s range, it detects this signal and can estimate its proximity to the beacon based on signal strength.
iBeacon broadcasting and encoding
iBeacon is all about broadcasting. Each iBeacon device has a unique ID (UUID + Maggiore + Minore). This ID marks a specific area within the device’s broadcast range. Qui, we focus on the critical aspects: what information iBeacons broadcast? What you need to transmit and the default technical requirements.
Key iBeacon packet format includes:
UUID (Identificatore univoco universale): La dimensione dell'UUID è 16 byte. Una stringa viene spesso utilizzata per rappresentarlo.
Maggiore: 2 byte formano major. This is basically a number ranging from 1 per 65,535.
Minore: La dimensione del minore è 2 byte, similar to the major.
Questo design degli identificatori utilizza per identificare in modo diseguale un faro tra migliaia. Insieme, they identify which iBeacon in which group is transmitting. Quindi questo formato di pacchetto è molto utile per costruire grandi reti di beacon.
Additional elements in iBeacon broadcast packet:
AD Field Length: This tells you how much useful data is in the ad.
Tipo: What kind of ad are we dealing with here?
CompanyID: A two-byte company identifier assigned by the Bluetooth SIG. This helps applications parse the data fields correctly. Apple’s is 0x004C, while Nordic Semiconductor goes by 0x0059.
iBeacon Type: Always set to 0x02, meaning “I’m a proximity beacon!”
iBeacon Length: How long is the rest of this message?
TxPower: Represents the calibrated RSSI at 1 metro. This is like a yardstick for how far away you are from the beacon.
Take a national retail chain using iBeacons. All the beacons in all the stores share one UUID. Each store gets its own Major value, and each department in the store? They get unique Minor values. So when shoppers walk in, the system can ping them with anything from chain-wide deals to special offers just for the shoe department.
Core applications of iBeacon technology
IBeacon, a location-aware technology, has two primary applications:
Proximity-based notifications
iBeacon can trigger message pushes to users when they enter specific beacon zones. On iOS 7 e al di sopra, the system supports iBeacon detection natively. When a user’s device enters a monitored iBeacon’s range, it can wake up the associated app.
Posizionamento indoor
iBeacons use Received Signal Strength Indication (RSSI) to estimate device proximity. The iOS SDK provides an Accuracy value in meters, representing the distance to an iBeacon. Due to signal fluctuations and environmental factors, Apple defines four proximity ranges:
- Immediato: < 1 metro
- Vicino: 1-3 metri
- Lontano: Relative term, not necessarily indicating great distance
- Unknown: Occurs during initialization or when distance can’t be determined
Il “Lontano” status here doesn’t really mean the device is far from the iBeacon. Infatti, it could be pretty close – like just a meter away. We just lack enough data to confirm it’s nearby. “Lontano” really means “somewhere in this range” – the device could be anywhere within it.
Indoor positioning strategies include:
- Single-point: Uses the nearest beacon’s coordinates as the user’s position
- Two-point: Calculates location based on two beacons’ RSSI signals
- Multi-point: Triangulates position using three or more beacons
These methods can be applied in various scenarios that we’ll talk about later, such as providing location-based information in museums or enhancing navigation in large indoor spaces.
Real-world iBeacon use cases
The versatility of iBeacon technology has led to its adoption in various innovative applications. Here are some real-world examples:
- Weather Assistant: A Japanese company developed an iBeacon-based solution to prevent forgetting umbrellas on rainy days. Users place a small iBeacon device near the door, it will trigger the app to send weather alerts automatically.
- Luggage Tracking: Travellers can attach an iBeacon to their luggage. When their bags approach on the airport carousel, the app will automatically alert users. No need to wait with the crowd around the carousel.
- Interactive Art Exhibitions: An Italian museum uses our iBeacon devices (L01A Wayfinding Tag) to provide location-aware digital guides and navigation. As visitors move through exhibits, their smartphones unlock relevant information about the artwork.
Configura Faro MOKOs to broadcast iBeacon
MOKO Smart Beacons are fully iBeacon-compatible. We provide a user manual for all our Beacon Bluetooth, you can set the iBeacon protocol based on that. Notice that ensure your beacon’s firmware is always up-to-date. If you need further assistance, do not hesitate to talk to our Bluetooth expert!