ibeacon

Estimating distance to iBeacon on iOS

爷,独闯天下 提交于 2019-12-03 15:06:26
I'm trying to estimate the distance from an iOS device to an iBeacon. I am aware that distance estimation is not super accurate, and I am also aware of this formula: https://electronics.stackexchange.com/questions/83354/calculate-distance-from-rssi I have found, through some research, that an iBeacon's BLE advertisement in fact contains data that represents the calibration value. That is to say, the RSSI determined at 1 meter away is actually broadcast by the beacon for all to see. Now, I think the iOS must internally use this information to determine the Near, Far, Immediate, and Unknown

CoreBluetooth advertising in background on iOS 10

a 夏天 提交于 2019-12-03 13:33:24
First: I have an iPad Air 2, and an iPhone 7. For further reading we estimate that the app is active and open on iPad and in background mode on iPhone. The app is exactly the same, even with same Bluetooth Service UUIDs and same DataLocalNameKey. I want to write an app that can advertise a bluetooth service in background and is able to discover this service (optimal in background too). As I already read I can't use apples beacon technology cause there it's only possible to get scanning/notified by beacons in near in background (I tested this, works fine) but not to advertise. So I started to

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

南笙酒味 提交于 2019-12-03 10:30:28
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 start region observation if the app start in the region. Thanks, - (void)locationManager:(CLLocationManager *)manager didEnterRegion:(CLRegion *)region { [self sendNotification:@"didEnterRegion"]; } - (void)locationManager:(CLLocationManager *)manager didDetermineState:(CLRegionState)state forRegion:(CLRegion *)region { switch (state) { case

Programmatically, How to identify if a beacon belongs to Eddystone or iBeacon?

匿名 (未验证) 提交于 2019-12-03 08:46:08
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have created an android application to scan for BLE using Bluetooth LEscanner. Now that I need my app to identify if a beacon belongs to iBeacon or Eddystone. So far, I'm successful in determining UUID,MajorId,MinorId of ibeacon by parsing the AD frame. 回答1: It's relatively easy to read the bytes of the advertisements if you know the byte offsets of all the fields. Two code snippets below show you how you can parse these out. The first shows how you can do this in your own onLeScan callback using the Android Beacon Library , and the second

How to detect IBeacon in android without using any library

安稳与你 提交于 2019-12-03 06:19:07
问题 i am new to Ibeacon and i want to know can we detect Ibeacon in android without using any SDKLibrary or library can any one give sample example. i know some library like Radius Networks. but i don't want to use any library 回答1: The Android OS does not have any code that detects iBeacons, but it does have code that allows you to scan for Bluetooth LE devices, which are a lower-level device than an iBeacon. You can roll-your own code that detects iBeacons using this Bluetooth LE scanning. That

Browser Awareness of Bluetooth Beacons / iBeacons

旧城冷巷雨未停 提交于 2019-12-03 03:13:40
Is there a way to make a browser aware of iBeacon devices in its proximity? Similar to the way HTML5 Geolocation is working... If not would this be something that can be achieved with a browser plug-in that can provide the detail to be consumed by javascript? Unfortunately, no. No web browsers have implemented any bridges between beacon detection and JavaScript. I don't think a plugin approach is possible on mobile browsers (either iOS or Android), because neither browser supports asynchronous communication between external apps and JavaScript in Mobile Safari / Mobile Chrome. The best you

Detecting beacons via iBeacon Monitoring & Ranging vs CoreBluetooth scanForPeripheralsWithServices

这一生的挚爱 提交于 2019-12-03 03:12:08
问题 There is a lot of confusion regarding the restrictions that are applied by the iOS on apps that want to scan BLE beacons\peripherals. After reading several blogs and Stack Overflow answers, I want to see if I understand all the issues correctly. Please correct me if there is anything I misunderstood or missed. I refer only to iOS 7 and above, and focus on detection and not connection (Can you connect to a CLBeacon using the iBeacon Monitoring & Ranging API?). The options for the beacons are

iBeacon ranging in the background?

匿名 (未验证) 提交于 2019-12-03 02:33:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have started to test out iBeacons using estimotes as beacons. It's all running pretty good, but i'm struggling with getting the app to run properly in the background. self.region = [[CLBeaconRegion alloc] initWithProximityUUID:self.uuid identifier: self.deviceID]; self.region.notifyEntryStateOnDisplay = YES; [self.locationManager startMonitoringForRegion:self.region]; So this is the basic setup and for my test app i want to show a local notification when my phone is in immediate proximity of the beacon. My problem is that it won't work

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

匿名 (未验证) 提交于 2019-12-03 01:57:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 because the use case requires the central (in BLE parlance) connect to the peripheral after being woken up by iOS (but still in the background) due to proximity to the iBeacon. Apps running in the background on centrals can only discover peripheral by available service rather than discovering all

UUID,Major,Minor settings for iBeacon devices

匿名 (未验证) 提交于 2019-12-03 01:26:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've got a few iBeacon devices from Gimbal which are configurable through a website. I can assign new uuid, major, minor to any iBeacon devices I have. I'm puzzled at how the iBeacon devices know these configuration changed so that they can broadcast? The iBeacon devices can communicate to web server (this seems not make sense at all)? P.S.: I didn't call any Gimbal API because I set them to iBeacon type. Can anybody explain this? Thanks 回答1: Changing the identifiers of most iBeacons requires using an app that can talk to the beacon over