ibeacon

CLLocationManager didEnterRegion: with iBeacon while app is suspended

 ̄綄美尐妖づ 提交于 2019-11-29 05:11:43
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; beaconRegion.notifyOnExit = YES; self.locationManager = [[CLLocationManager alloc] init]; self.locationManager

Swift2.3 code for Beacon detection

混江龙づ霸主 提交于 2019-11-29 00:45:19
We are in advanced stages of developing a Swift2.2 app and hence have decided to migrate to 2.3 in the interim and do the full Swift 3 migration later. However we are unable to get beacon detection working post conversion to Swift 2.3. The method "didRangeBeacons" keeps returning an empty array. The same code was working in Swift 2.2 so we know we have all the permissions etc in place. Also if we open the "Locate" app on the same ipad then our app also starts returning data in "didRangeBeacons". Have tried various versions of the apps out there and all Swift2.3 apps are behaving the same way.

Ble scanning callback only get called several times then stopped

纵然是瞬间 提交于 2019-11-28 23:51:34
I have 2 phones with Android 5.0.2, they both installed the latest Radius Beacon's App: Locate Beacon , meanwhile, I turned on 2 IBeacon sender, and can see the RSSI keep changing in both phone with the App. But when I tried to write some sample code to simulate above situation, I found the ble scan callback always stop get called after called 2 or 3 times , I initially suspect the 'Locate Beacon' may use different way, so I tried with 2 kinds of API, one is for old 4.4, and another is the new way introduced in android 5, but both the same behavior(but all running on android 5). the 4.4 one:

iBeacon support for Windows Phone devices

有些话、适合烂在心里 提交于 2019-11-28 22:03:44
iBeacon in Windows Phone devices -: We need to develop a windows phone application with iBeacon support similar to iOS applications. We didn't find any useful informations on this. Can anyone suggest a better solution on " How to implement iBeacon on Windows Phone Devices? " Unfortunately, I have confirmed with Microsoft engineers that this is not possible as of Windows Phone 8.1. While this operating system version did introduce Bluetooth LE support, the APIs do not allow scanning for iBeacons because scanning functions are locked down to the operating system. Thitrd party apps are not

Raspberry Pi iBeacon connection timing out

倖福魔咒の 提交于 2019-11-28 20:53:33
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 start script I see: pi@piBlueTest ~ $ ./start Launching virtual iBeacon... LE set advertise enable on hci0

How is iBeacon support REALLY changed in iOS 7.1?

天涯浪子 提交于 2019-11-28 20:46:25
I've seen claims on the net that the newly released iOS 7.1's iBeacon support. Specifically: The system is supposed to still notify your app about didEnterRegion/didExitRegion events, even if the user explicitly kills your app. didEnterRegion/didExitRegion notifications are supposed to be faster from the background and/or with the device locked. I have not been able to confirm either of these claims with my own testing. In fact, I seem to be less likely to get didEnterRegion/didExitRegion notifications from a locked device. (more accurately I seem to get didEnterRegion notices, but not

Beacon Ranging in Background on iOS

。_饼干妹妹 提交于 2019-11-28 19:01:50
I understand the difference between monitoring and ranging, and I understand the limitation of iOS in that beacon ranging can only happen in the foreground or in the background when entering and exiting regions as explained here ( http://developer.radiusnetworks.com/2013/11/13/ibeacon-monitoring-in-the-background-and-foreground.html ). But I'm trying to figure out how to solve a common scenario. If I had a bunch of beacons installed in a department store, how am I supposed to detect when a person moves within range of those beacons? With the way it currently works, the app will get an event

How to detect Region Enter/Exit for multiple beacons using AltBeacon android-beacon-library?

一笑奈何 提交于 2019-11-28 18:57:50
I am working with iBeacons and using the AltBeacon library. beaconManager.getBeaconParsers() .add(new BeaconParser() .setBeaconLayout("m:2-3=0215,i:4-19,i:20-21,i:22-23,p:24-24")); I would like my Android app to detect and generate an event when beacons enter and exit visibility. This works just fine fine with a single beacon using the library using methods. public void **didEnterRegion**(Region region) and public void **didExitRegion**(Region region) My problem is when multiple beacons are visible at the same time. I am trying to maintain an array with all beacons visible. I want to generate

Can an iOS7 device act as an iBeacon?

僤鯓⒐⒋嵵緔 提交于 2019-11-28 15:42:44
问题 Can an iOS7 device act as an iBeacon and figure out when other iOS7 devices come in its range? Do those other iOS7 devices need to have Bluetooth turned on? 回答1: An iOS device with BluetoothLE can act as an iBeacon yes. Check out the AirLocate example code at https://developer.apple.com/downloads/index.action?name=WWDC%202013# Being an iBeacon doesn't give feedback about devices that come into range so you'd have to implement that yourself. ie you'd have to have the devices that detect the

Turn Macbook into iBeacon

本小妞迷上赌 提交于 2019-11-28 15:25:50
I know that I can turn iOS devices into iBeacons ( Can an iOS7 device act as an iBeacon? ). Unfortunately, I only have one device and my beacons have not arrived yet. So I was wondering how I could turn my MacBook Air (Mid-2011, does support Bluetooth 4.0) into an iBeacon for testing purposes. Are there any ready-made applications available like the airlocate for iOS? Thanks in advance! Note: This only works in Mavericks, it does NOT work in Yosemite. Mavericks doesn't have the iBeacon support in Core Location that was added to iOS 7. However, Mavericks does now have the ability to act as an