ibeacon

Search for all iBeacons and not just with specific UUID

血红的双手。 提交于 2019-11-28 03:36:20
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. An iBeacon is a region, and has as defining property the UUID. Therefore, you can only search for the ones matching a UUID. After you find one or more with a specific UUID, you can figure out which is closest using the delegate callbacks, where the beacons are stored in an array ordered by distance. There is great sample code on this and also a pretty detailed WWDC video session: "What's new in Core Location" iBeacons are higher-level constructs

iBeacon in the background - Use cases

落爺英雄遲暮 提交于 2019-11-28 03:12:24
The number of questions on SO related to iBeacon and its background capabilities is increasing and there is some confusion on that point. I have been testing the AirLocate project. iBeacon has 2 "capabilities": Region monitoring and Ranging. Region monitoring is limited to 20 regions and can function in the background (of the listening device) and has different delegates to notify listening app (and user) of entry/exit in the region - even if app is in the background or phone is locked. Ranging works only in the foreground but will return (to the listening device) an array (unlimited?) of all

Can I launch an app in Foreground when I enter an iBeacon range?

…衆ロ難τιáo~ 提交于 2019-11-28 01:46:37
I'm creating an app for iOS using iBeacons. I know, that if i set up a region to monitor, the framework can invoke my app when I enter/exit a region, or turn on the screen inside the region. I've managed to create a local notification in this callback as well. My question is, whether is it possible to bring the app into foreground, like if it was launched by the user? No, I do not believe this is possible. Apple's philosophy is that the user is in control of what app is in the foreground. The only three ways to bring an app into the foreground are: (1) tapping its icon, (2) tapping a

How to bring application to foreground in ios?

倖福魔咒の 提交于 2019-11-28 00:11:40
I am detecting for iBeacon in background. When my device comes in a particular region application should comes to foreground. Khawar Ali It cannot be done without user interaction. The only option is you can generate a push notification to tell the user to bring the application to foreground. This is from the Apple documentation about this issue: When the operating system delivers push notification (iOS or OS X) and the target application is not running in the foreground, it presents the notification (alert, icon badge number, sound). If there is a notification alert and the user taps or

Raspberry Pi iBeacon connection timing out

与世无争的帅哥 提交于 2019-11-27 20:49:31
问题 I am currently attempting the Raspberry Pi iBeacon tutorial posted by RadiusNetworks at http://developer.radiusnetworks.com/2013/10/09/how-to-make-an-ibeacon-out-of-a-raspberry-pi.html but I am having issues with the connection timing out after a few seconds. I have performed a fresh build of raspbian, and have tried with 2 different dongles (AZIO V400 and IOGEAR GBU521), and I have tried with Bluez 5.8 per the tutorial as well as Bluez 5.11, both on fresh Raspbian loads. When I call the

Can we start an iBeacon transmitter in the background?

时光总嘲笑我的痴心妄想 提交于 2019-11-27 20:42:32
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) while still in the background? Unfortunately, no. iOS does allow background advertising of Bluetooth Services, but only using a proprietary technique that breaks the iBeacon advertising format. As a result, if your app starts transmitting as an iBeacon, then switches to the background, its transmission will still exist, but it will no longer be picked

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

南楼画角 提交于 2019-11-27 19:28:52
using the BLE with CoreBluetooth (no iBeacon), is there a way to wake app a not running app when the device receives a bluetooth signal? I'm simulating a beacon with the redbearlab's BLE Shield ( http://redbearlab.com/bleshield/ ). Thanks, DAN * UPDATE 03/05/14 * It looks like Apple has introduced a major update with iOS 7.1: now iOS will open your app for you if it detects a UUID that matches your app. The app only needs to be installed, it doesn't have to be running (logic in AppDelegate needed to answer the wake-up call). If the app was running in the background and then closed (I mean here

CLLocationManager didEnterRegion: with iBeacon while app is suspended

一世执手 提交于 2019-11-27 18:59:25
问题 I'm trying to wake up my app (relaunch it) when it enters my defined beacon region but I just can't get it to work. This are the steps and code I'm using. Set "Location updates" Background Mode to YES. Monitor my CLBeaconRegion NSUUID *uuid = [[NSUUID alloc] initWithUUIDString:@"EBEFD083-70A2-47C8-9837-E7B5634DF524"]; beaconRegion = [[CLBeaconRegion alloc] initWithProximityUUID:uuid identifier:@"daRegion"]; beaconRegion.notifyEntryStateOnDisplay = NO; beaconRegion.notifyOnEntry = YES;

Run iPhone as an iBeacon in the background

北慕城南 提交于 2019-11-27 16:38:09
Is it possible to run an iOS 7 device as a Bluetooth LE peripheral (iBeacon) and have it advertise in the background? I have been able to get it to advertise in the foreground with the code below and can see it from another iOS device but as soon as I go back to the home screen it stops advertising. I did add the bluetooth-peripheral background mode in the plist but that didn't seem to help although I do get the prompt saying the device wants to use bluetooth in the background. Am I doing something wrong or is this just not possible in iOS 7? peripManager = [[CBPeripheralManager alloc]

Can I broadcast multiple ibeacon signals from only one bluetooth? and how

微笑、不失礼 提交于 2019-11-27 15:16:49
I want to simulate multiple ibeacon signal using my ipad's bluetooth, is it possible You cannot make multiple transmissions go out simultaneously, but you can simulate this by switching between two or more transmitters with a timer. iOS devices normally send out 10 advertising packets per second when transmitting as an iBeacon. But receivers only expect that packets be received at a minimum of once every second for normal operations. Try setting up a timer to switch back and forth between two iBeacon transmitters (turn one off then the other on). Like this: - (BOOL)application:(UIApplication *