ibeacon

Understanding iBeacon data : the power field and other bytes

巧了我就是萌 提交于 2019-11-30 05:31:09
问题 I am new to the Bluetooth system and I am trying to understand the data used for the new Apple's technology : iBeacon. There is already some nice answers which explain how it works and I have been reading everything I could find (especially the Bluetooth Specification). Still, I am missing some points and I will go for an example first : (I am using the Set Advertising Data Command , it misses here the hcitool cmd before the OGF) 0x08 0x0008 1E 02 01 1A 1A FF 4C 00 02 15 E2 C5 6D B5 DF FB 48

Can an iOS7 device act as an iBeacon?

雨燕双飞 提交于 2019-11-29 19:55:26
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? 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 iBeacon then tell the iBeacon they'd seen it through some other means. Yes, an iOS device can act as a beacon,

What are the nominal distances for iBeacon “Far”, “Near”, and “Immediate”

随声附和 提交于 2019-11-29 18:57:10
I've been playing around with using iOS devices as both broadcasters and receivers using the new iBeacon API's in iOS 7. The docs don't go into detail at which distances the receiving device should see each proximity indicator, and specifically calls them out as "relative". When experimenting a with a demo app, I observed these distances (iPhone == receiver, iPad == broadcaster): Far - 50 feet? Near - 2-3 feet Immediate - 2 inches These seemed really small to me, and there is perhaps a hint in the CLBeaconRegion class reference, which allows you to specify the signal strength of your device

OBJ-C how-to: App using BLE connection and iBeacon in same device

前提是你 提交于 2019-11-29 14:25:17
I have a use case where my objective-c application needs to immediately use iBeacon after it's been terminated in order to wake the application up from a terminated state, connect to BLE and send a command to the device. I have a larger longer running post found here that you can check out for my code if need be. The Problem The problem so far, happens when I run the application, search for previously paired devices and/or scan for peripherals, find my BLE device and connect. Once connected the user pairs the BLE connection so that they can send encrypted characteristic data over BLE

Correct layout to detect Kontakt Beacon on Android with AltBeacon

佐手、 提交于 2019-11-29 12:25:33
问题 I'm trying to detect a Kontakt Beacon with the following BeaconLayout: setBeaconLayout("m:8-9=0215,i:10-13,i:14-15,i:16-17,i:18-25")); but I don't seem to be doing it correctly. The advertising packet structure is like this: Thanks in advance. 回答1: Thanks to @davidgyoung comments, I finally could detect my Kontakt beacon with the following code: public class MainActivity extends Activity implements BeaconConsumer { protected static final String TAG = "RangingActivity"; BeaconManager

iOS iBeacon / Bluetooth connectivity when app is dead and gone

雨燕双飞 提交于 2019-11-29 11:45:12
What I need: A predictable, solid and reliable way of launching iBeacon delegate methods such as didDetermineState , didRangeBeacons , didEnterRegion or didExitRegion when the app is dead and the device is plugged in and nearby. The Current Situation I am making an app for parents to use for their kids to help them shut down their phones during important times. The app is in Objective-C and it needs to maintain a persistent connection to a bluetooth device even after the life of the application. I have been trying for a long time to get this to work and I have had help from a lot of S.O.

How secure is iBeacon? [closed]

流过昼夜 提交于 2019-11-29 11:10:44
iBeacon is a promising new technology. But how secure is it? Bluetooth Low Energy (BLE) can be secure when encryption is enabled. However, this is only the case when communication is established. But the iBeacon framework isn't meant to allow communication between devices. It even isn't possible to communicate through the iBeacon framework (CoreBluetooth should then be used). An iBeacon is only capable of advertising (data). But are those advertising packets secured or are these open for public? I am missing a more detailed (technical) report on iBeacon. Another thing which isn't very clear:

requestAlwaysAuthorization not showing permission alert

為{幸葍}努か 提交于 2019-11-29 10:50:10
问题 I'm trying to use some fancy iBeacons without success, kCLAuthorizationStatusNotDetermined all time. According to other questions it's a requirement to add those keys to info.plist (some questions says one, other says both). According to an article for iBeacons I need the Always option. <key>NSLocationWhenInUseUsageDescription</key> <string>Nothing to say</string> <key>NSLocationAlwaysUsageDescription</key> <string>Permiso para acceder siempre</string> At viewDidAppear: self.locManager = [

iBeacon enter and exit region constantly every 1 minute

99封情书 提交于 2019-11-29 10:24:48
问题 I managed to get local notification when iBeacon (using Kontakt Beacon) enter a region in Background mode . at the same time I monitor 3 beacon regions with specific & unique Identifier (each has same UUID but unique Major and Minor combination). In Lock Screen Mode, my app can notify when these beacons present, but I don't know why even the beacons and my app all stay still almost next to each other, the delegate DidExitRegion is still called, please look at my Log. 2014-01-18 11:56:49.828

Estimote iBeacon: Monitoring in background (Android)

时间秒杀一切 提交于 2019-11-29 10:17:47
问题 I would like to have push notifications when my app is open but is in background. For now I have changed the Estimote Demo, and my app gives me a notification when my app is in foreground which is not much of use. I post here my code of NotifyDemoActivity class which is called as soon as I open the app public class NotifyDemoActivity extends Activity { private static final String TAG = NotifyDemoActivity.class.getSimpleName(); private static final int NOTIFICATION_ID = 123; private