ibeacon

iBeacon: defining UUID

余生颓废 提交于 2019-12-11 10:07:02
问题 In the official iBeacon guide for developer Apple states that Application developers should define a UUID specific to their app and deployment use case. Question: Part A: How can I define a UUID in the way that I am sure it won't conflict with any others? Is there an official way to get one? Part B: Assuming A is possible, how can I ensure that the UUID is unique across iOS and Android devices? Looking at the quote above it seems up to the developer. However it feels like a non robust

Retrieving Android BluetoothLE device information (Major / minor / identifier / ProximityUUID) on scan?

﹥>﹥吖頭↗ 提交于 2019-12-11 10:05:44
问题 I've been looking around and unfortunately the android ibeacon library has been deprecated, so I am attempting to do this native. I have implemented the BluetoothAdapter.LeScanCallback and the built in onLeScan() method that will fire when a device is picked up. I would like to read in that device's ProximityUUID, major and minor characteristics and identifier. I'm not sure how to get that information out of the Android object BluetoothDevice. How do I extract that information (ProximityUUID,

iBeacon background scanning PRO feature of RadiusNetworks library?

谁说胖子不能爱 提交于 2019-12-11 08:49:26
问题 I am using the RadiusNetworks API to work with iBeacons. I have made use of this library and it works fine, however i would have to ask what i am doing wrong that the background scanning does not happen in my application? What am I missing? Here's the implementation i have so far, i only kept the code relevant to the beacon side, however setting the activity to background stops the scanning completely... package ro.gebs.zonizbeacon; public class MainActivity extends FragmentActivity

EXC_BAD_ACCESS when setting a CLBeacon to nil

与世无争的帅哥 提交于 2019-12-11 08:33:38
问题 The following will perform a crash when setting CLBeacon to nil . CLBeacon *beacon = [[CLBeacon alloc] init]; beacon = nil; // crash Is it not possible to deallocate an initialized CLBeacon ? This can be reproduced by simply adding the code above to a fresh project inside the App Delegate's didFinishLaunchingWithOptions - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { CLBeacon *beacon = [[CLBeacon alloc] init]; beacon = nil; //

how to advertise in the background as a beacon when entering a beacon region

随声附和 提交于 2019-12-11 06:26:13
问题 I'm currently working on developing an app that is heavily dependent on iBceaons. I managed to create a beacon region which wakes up the app process in the background for 10 seconds when entering the region. The next step is making phone it self advertise when it enters the region while in background Currently while the app is open it keeps ranging and transmits as a beacon while its in a region where as when the app is in the background , it ranges for 10 seconds but doesn't transmit as a

Terminated App not wakeup with iBeacon packet

被刻印的时光 ゝ 提交于 2019-12-11 05:29:59
问题 Can iOS receive iBeacon packet in sleep state and wake up the app? I killed an app and restarted, then kept the phone in sleep mode. The device was was in beacon region when device reboot and I kept the device screen off after reboot. My iOS app is not waking, so I suspect its not receiving iBeacon packet. I checked the system log and found that the didEnterRegion procedure is not getting called. Does app wakeup works incase of force terminated app and does iOS receive iBeacon packet in

Beacons integration without application on device

雨燕双飞 提交于 2019-12-11 05:25:17
问题 Can i know is it possible to communicate with Beacon without having any Mobile app on device? Thanks in advance 回答1: Both Android and iOS devices need some kind of app installed to interact with your beacons. Some phones have such apps pre-installed, but the options are limited. The two such apps with the widest distribution are: Google Chrome App (Android/iOS) Google's Chrome app will interact with beacons supporting Eddystone-URL (also known as physical web), which transmit a URL that can

How can I start / disable background monitoring for beacons at runtime with AltBeacon Library for Android?

大兔子大兔子 提交于 2019-12-11 05:17:46
问题 the AltBeacon documentation say I need to initialize the library in the Application onCreate() for background monitoring. But I have the data needed to initialize it at runtime. Specifically at runtime (after a remote http service call) I know: IF beacon tracking should be started at all which regions to monitor Furthermore I may need to turn it off completely if some condition changes (remotely configured). What's the correct way with the current version of the library (2.5+) to handle this

Can I read an iPhone beacon with Windows.Devices.Bluetooth.Advertisement.BluetoothLEManufacturerData

对着背影说爱祢 提交于 2019-12-11 03:13:39
问题 According to the Bluetooth Advertisement sample, I need to set the CompanyID ( UInt16 ) and the Data ( IBuffer , a UInt16 in the sample) to start watching for advertisers. In the iPhone, I can set the beacon UUID to 4B503F1B-C09C-4AEE-972F-750E9D346784 . And reading on the internet, I found Apple's company id is 0x004C , so I tried 0x004C and 0x4C00 . So, this is the code I have so far, but of course, it is not working. var manufacturerData = new BluetoothLEManufacturerData(); // Then, set

Using iPhone as iBeacon Transmitter

蓝咒 提交于 2019-12-11 03:05:23
问题 I'm trying to set up my iPhone to broadcast an iBeacon signal for another iPhone to pick up. The iPhone that's supposed to pick up the signal is working, but I can't get the other iPhone to broadcast the signal. I'm following this tutorial: https://www.hackingwithswift.com/example-code/location/how-to-make-an-iphone-transmit-an-ibeacon And here's my code: import CoreBluetooth import CoreLocation class iBeaconTransmission: NSObject, CBPeripheralManagerDelegate { var localBeacon: CLBeaconRegion