Questions tagged [ibeacon]

iBeacons are Bluetooth Low Energy (BLE, also known as Bluetooth Smart) transmitters that notify nearby receivers, such as a smart phone, of their presence for the purposes of proximity sensing. A unique identifier allows the the receiver to take specific action such as displaying a notification message or configuring itself to use a smart device such as a lamp, smart-switch or other sensor.

Apple introduced iBeacons with iOS 7 and trademarked the term for a "a new class of low-powered, low-cost transmitters that can notify nearby iOS 7 devices of their presence." Since it's release, iBeacon SDKs have also been introduced for Android. Support for sensing iBeacons requires a Bluetooth 4.0 device that supports Bluetooth Low Energy (BLE) mode.

Proximity sensing can typically categorize an iBeacon into three ranges: immediate (centimeters), near (several meters) and far (many meters). As with typical RF ranging techniques, interference and occlusion can affect the accuracy.

iBeacons can be identified by three values they are broadcasting

  1. UUID(16 Byte)
  2. Major value(2 Byte)
  3. Minor value(2 Byte)

iBeacons can be used for indoor location system.

The iBeacon advertising packet contains the UUID, Major, Minor, and Tx Power. Tx Power is 1 Byte, and tells you what the signal strength is at 1 meter away. A device can estimate its distance from a beacon by comparing the rssi and tx power values.

2252 questions
20
votes
4 answers

Does BluetoothLeAdvertiser work on a Nexus 5 with Android 5.0?

After flashing my Nexus 5 to the Android 5.0 preview release hammerhead-lpx13d, the OS reports that it no longer supports Bluetooth LE advertising. If you call: ((BluetoothManager) this.getSystemService(Context.BLUETOOTH_SERVICE)) …
davidgyoung
  • 63,876
  • 14
  • 121
  • 204
20
votes
5 answers

Search for all iBeacons and not just with specific UUID

Is it possible to search for all iBeacons which are nearby? I know it's possible to search iBeacons by UUID. But i want to find all iBeacons nearby.
Christian
  • 22,585
  • 9
  • 80
  • 106
19
votes
5 answers

iBeacon / Bluetooth Low Energy (BLE devices) - maximum number of beacons

I would like to track a large number of beacons (~500) at once within a 50-100 m radius via an app on an iPhone (5s). I've had a look at the spec and online and I can't see if there is any limit on the number of beacons you can track at once using…
user1048175
  • 1,100
  • 3
  • 12
  • 29
18
votes
5 answers

Can I get my iOS app to appear on the lower left corner of the lock screen?

How do I get my app icon to show in the bottom left corner of the lock screen and have it link to the app store? Can I control that using iBeacons? Is it easy to test without having the app in the app store?
josh
  • 785
  • 3
  • 7
  • 18
17
votes
2 answers

Distance between two mobile devices in Javasacript (Ionic)

For one of my projects, I'm currently wanting to build an Ionic application to code once for both iOS and Android platforms. I'm looking for a way to measure the distance between two mobile devices. One device should be placed into a specific…
17
votes
2 answers

Get advertisement data for BLE in iOS

I'm creating an app that gets the UUID of all BLE devices within range. I've gotten it working fine in Android, where it gives me the advertisement data as a byte array. Now I'm trying to do the same in iOS. I'm running a scan and it's detecting the…
user2564511
  • 257
  • 1
  • 6
  • 14
17
votes
4 answers

Gimbal beacon discovery

Is it possible to discover Gimbal beacons using the iOS SDK? I want to use simple ranging but I don't know the UUID of the transmitter.
Mihai Popa
  • 892
  • 1
  • 8
  • 25
17
votes
4 answers

How to wake up iOS app with bluetooth signal (BLE)

When using the BLE with CoreBluetooth (no iBeacon), is there a way to wake an app that is not running when the device receives a Bluetooth signal? I'm simulating a beacon with the RedBearlab's BLE Shield…
DAN
  • 919
  • 1
  • 6
  • 23
17
votes
2 answers

iOS CoreBluetooth / iBeacon: Advertise an iBeacon and a peripheral service concurrently

I'm writing an application for iOS that requires that the application advertise both an iOS iBeacon as well as advertise peripheral service concurrently. It's necessary that the service is advertised rather that simply discoverable on the peripheral…
user2876951
  • 171
  • 1
  • 4
17
votes
4 answers

locationManager:didEnterRegion not called when a beacon is detected

While testing with beacons (iOS devices) I found the listener beacon giving some unexpected behavior. locationManager:didEnterRegion method is not getting called even if a beacon enters a region. But the locationManager:didRangeBeacons:inRegion: is…
Dhanesh KM
  • 449
  • 2
  • 7
  • 18
16
votes
4 answers

Using hcitool to set ad packets

There is a well known blog post going around on how to set a usb bluetooth 4 dongle to be an iBeacon. It boils down to this magical command: sudo hcitool -i hci0 cmd 0x08 0x0008 1e 02 01 1a 1a ff 4c 00 02 15 e2 c5 6d b5 df fb 48 d2 b0 60 d0 f5 a7 10…
ScottJenson
  • 367
  • 1
  • 2
  • 10
15
votes
3 answers

Import Objective-c framework into Swift framework project

I am building a framework in which I need to import some objective-c frameworks. For now I need to import "Beaconstac.framework", but we can not add a bridging header in a swift framework project. How can I use this framework in my project? I…
Krishna Verma
  • 814
  • 2
  • 8
  • 23
15
votes
1 answer

Can we start an iBeacon transmitter in the background?

I have an iPhone app, in which I have created a transmitter and a receiver, both. But, the transmitter stops transmitting when the screen is locked or the app is sent to the background. Can I keep transmitting (a.k.a. advertising, broadcasting)…
Vijay Hirpara
  • 555
  • 3
  • 12
15
votes
1 answer

List of company IDs for manufacturer specific data in BLE advertising packets

Where can I find the list of registered company IDs which are set right after the AD type field in an AD Structure in a BLE advertising packet when the AD type is 0xFF (Manufacturer Specific Data)? To be concrete, for example, how can I find the…
Takahiko Kawasaki
  • 18,118
  • 9
  • 62
  • 105
15
votes
1 answer

iBeacon : What is the difference between didEnterRegion and didDetermineState(CLRegionStateInside)

I want to post a notification when users enter into a region. However, I am very confused because of same two CLLocationManagerDelegate methods. How should I use the two methods properly? Some people say "didDetermineState" method is needed to…
zono
  • 8,366
  • 21
  • 75
  • 113