ibeacon

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

一笑奈何 提交于 2019-12-22 05:57:07
问题 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

AltBeacon onBeaconServiceConnect not called

浪尽此生 提交于 2019-12-22 05:52:07
问题 I stuck implementing simple Beacon monitor with AltBeacon library using its examples. In short: I took its reference application, downloaded and integrated its latest build and run app on my Samsung Galaxy S2 with CM (Android 4.4.4). I see that onBeaconServiceConnect callback never called, though bindService is called. I believe onBeaconServiceConnect should be called in order application to work correctly. I've tried to set beaconManager.debug = true; but it didn't show me any new logs

How to prevent spoofing of iBeacons?

♀尐吖头ヾ 提交于 2019-12-22 05:28:07
问题 As far as I can tell, there is nothing to restrict any developer from programming their beacon to use a particular UUID, major, minor or identifier. In the event I create an iBeacon with a UUID of "foo", what is to prevent another developer of creating a beacon with the same ID and (either accidentally or maliciously) causing my app to display incorrect data ? Have I misunderstood how iBeacons work ? Please correct me if I'm wrong. 回答1: This is absolutely true. I have both spoofed the Apple

Make Samsung Android device advertise as an iBeacon

假如想象 提交于 2019-12-22 04:43:26
问题 Has anybody used Samsung's Bluetooth LE APIs to make a Samsung Android device advertise as an iBeacon? This should be possible, but I do not have access to a device to try it. If anybody has used it to make a Samsung Android device advertise as any other Bluetooth LE peripheral, I would like to know that, too. EDIT: This is now possible on Android L. See here. 回答1: Unfortunately, @reTs and @duncan-c are right (+1 for each of them). The Samsung BLE SDK cannot send out real BLE advertisements

Estimote: detecting multiple beacons with ESTBeaconRegion and startRangingBeaconsInRegion?

我是研究僧i 提交于 2019-12-22 01:31:16
问题 Beginner Estimote question: What is the correct approach for adding multiple Estimote beacons, with their respective major/minors, so that all beacons can be detected separately using startRangingBeaconsInRegion? This code works fine for a single beacon: // Single Beacon Region ESTBeaconRegion* beaconRegion = [[ESTBeaconRegion alloc] initWithProximityUUID:ESTIMOTE_PROXIMITY_UUID major:11111 minor:11111 identifier: @"EstimoteSampleRegion"]; // Start ranging beacons [self.beaconManager

How to reboot CoreBluetooth manager instance at fixed interval in background

六眼飞鱼酱① 提交于 2019-12-22 00:29:34
问题 I'm developing a iOS application of using CoreBluetooth and i have one problem in application BackGround. Generally, iOS application can't run long-term in Background. (e.g. pushing HomeButton. switching other application) But my application is set "Uses Bluetooth LE accessories" as BackGroundMode, so i can monitor region in Background. And i implemented startRangingBeaconsInRegion in didEnterRegion. When enter a region, Ranging region will be started and will be stopped after about 10 sec by

How to get the AltBeacon library's BootstrapRegion to recognize the iBeacon layout?

北城余情 提交于 2019-12-21 05:52:13
问题 I'm using reference, http://altbeacon.github.io/android-beacon-library/samples.html . I also used How to detect Region Enter/Exit for multiple beacons using AltBeacon android-beacon-library? I'm trying to detect iBeacons in the background using AltBeacon's Android-Beacon-Library. I included the following code snippet from my project. So far, I'm not detecting ibeacons in the background...any help is appreciated I'm using the BeaconManager to setBeaconLayout("m:2-3=0215,i:4-19,i:20-21,i:22-23

Using CoreBluetooth with iBeacons

╄→尐↘猪︶ㄣ 提交于 2019-12-20 14:38:57
问题 I've been doing quite a bit of research on iBeacons and CoreBluetooth on iOS devices. Your posts and research have been great. I've learned quite a bit. Unfortunately, i'm running into a dead end as it pertains to what I actually want to do. I was reading this post: http://developer.radiusnetworks.com/2013/10/21/corebluetooth-doesnt-let-you-see-ibeacons.html.... ...and it points out that you can't really do much with CoreBluetooth without the proximityUUID. That said, what if I actually DO

Does Android Beacon Library really support background scanning?

三世轮回 提交于 2019-12-20 10:55:26
问题 I am using Android Beacon Library for BLE scanning with example. It works fine in foreground for both monitoring and ranging. However, for background, it only works for the cases of pressing "Home" in app and screen off. It is not work when I kill the app from task switcher. In the example, I cannot find anything like Service to make things working in background. Questions: Does Android Beacon Library support background scanning if the app is killed in task switcher? If so, how to do this?

How does iBeacon wake up our app? For how long? And how to extend that time?

*爱你&永不变心* 提交于 2019-12-20 10:12:00
问题 after some research of iBeacon I came up with the following questions that I couldn't find extended help: How does iBeacon wake up our app? Does it wake up our app by putting our app into background mode if the app was suspended? What background mode did iBeacon put our app into? What can we do in this background mode? How long can this background mode last before it is suspended again? When it is about to be suspended, what function was invoked? How can we extend this background time if we