ibeacon

How to measure the distance between an iPhone acting like an iBeacon and an Android device

橙三吉。 提交于 2020-06-28 14:11:29
问题 I'm using my iPhone as an iBeacon device, and on the other side I have an Android 4.4.2 device scanning for the Bluetooth LE iBeacon signal from the iPhone. I searched for a good and easy way to calculate the distance between iBeacons and my Android phone, but I couldn't find anything that can help me with this. Could you help me on this matter? 回答1: We built a distance estimation formula into the Android Beacon Library of the form: d=A*(r/t)^B+C , where d is the distance in meters, r is the

Objective C how to find out the distance between two iPhones indoor using iBeacon

旧时模样 提交于 2020-06-08 14:23:39
问题 I am using iBeacon for calculating distance between one iPhone to another iPhone indoor. I am using UUID and paste in code. But i did not get the distance from one iPhone to another iPhone indoor. i am writing the code like this.Can any body help me please. I got the error like this: CBManagerStateUnsupported . and one more issue is: [CoreBluetooth] XPC connection invalid #import <UIKit/UIKit.h> #import <CoreLocation/CoreLocation.h> #import <CoreBluetooth/CoreBluetooth.h> @interface

Beacon: Why we need calibrate Tx power

帅比萌擦擦* 提交于 2020-05-26 05:51:49
问题 as far as i know, in the package which is sent by a beacon, it contains the information about calibrated Tx Power (or measured power - power value at 1 meter). I just wonder why beacon send calibrated Tx power, not broadcasting power (the signal power that beacon sends from the source). Because the calculation logic can be different a little bit but it makes the terms and configuration more simple. 回答1: Think about a beacon like a friend calling out to you by shouting your name. You can

List of company IDs for manufacturer specific data in BLE advertising packets

不羁岁月 提交于 2020-05-10 04:12:02
问题 Where can I find the list of registered company IDs which are set right after the AD type field in an AD Structure in a BLE advertising packet when the AD type is 0xFF (Manufacturer Specific Data)? To be concrete, for example, how can I find the information telling that Apple's company ID is 0x4C00? (In an iBeacon packet, AD Type 0xFF is followed by 0x4C and 0x00.) 回答1: The list of two-byte Bluetooth company identifiers, sometimes called the CIC, can be found here: https://www.bluetooth.com

List of company IDs for manufacturer specific data in BLE advertising packets

强颜欢笑 提交于 2020-05-10 04:10:55
问题 Where can I find the list of registered company IDs which are set right after the AD type field in an AD Structure in a BLE advertising packet when the AD type is 0xFF (Manufacturer Specific Data)? To be concrete, for example, how can I find the information telling that Apple's company ID is 0x4C00? (In an iBeacon packet, AD Type 0xFF is followed by 0x4C and 0x00.) 回答1: The list of two-byte Bluetooth company identifiers, sometimes called the CIC, can be found here: https://www.bluetooth.com

List of company IDs for manufacturer specific data in BLE advertising packets

試著忘記壹切 提交于 2020-05-10 04:10:08
问题 Where can I find the list of registered company IDs which are set right after the AD type field in an AD Structure in a BLE advertising packet when the AD type is 0xFF (Manufacturer Specific Data)? To be concrete, for example, how can I find the information telling that Apple's company ID is 0x4C00? (In an iBeacon packet, AD Type 0xFF is followed by 0x4C and 0x00.) 回答1: The list of two-byte Bluetooth company identifiers, sometimes called the CIC, can be found here: https://www.bluetooth.com

Multiple virtual beacon communication to Multiple transmitting nodes BLE

我的梦境 提交于 2020-04-17 22:51:50
问题 We have two overdrive Node devices to track the beacon location. Our idea is to convert the mobile device to the virtual beacon and track the current location of the virtual device? we are using the code:( Android Beacon Library ). As per the code, we need to pass three params , UUID , Minor , and Major to create a beacon layout. But our assumption is like any number of virtual beacon needed to connect to the BLE node device. It not possible to configure the fixed minor id on our mobile app,

Multiple virtual beacon communication to Multiple transmitting nodes BLE

旧巷老猫 提交于 2020-04-17 22:51:31
问题 We have two overdrive Node devices to track the beacon location. Our idea is to convert the mobile device to the virtual beacon and track the current location of the virtual device? we are using the code:( Android Beacon Library ). As per the code, we need to pass three params , UUID , Minor , and Major to create a beacon layout. But our assumption is like any number of virtual beacon needed to connect to the BLE node device. It not possible to configure the fixed minor id on our mobile app,

SWIFT: CoreLocation - Ranging Beacons using CLBeaconIdentityConstraint does not range multiple beacons

僤鯓⒐⒋嵵緔 提交于 2020-04-16 02:59:29
问题 So, we have encountered a problem, developing in Swift for iOS 13. When we use the newer method for ranging beacons "startRangingBeacons(satisfying: CLBeaconIdentityConstraint )" it will only range the most recently added beacon, so if there are more than one beacon, we have a problem. When we use the older method, "startRangingBeacons(in: region)," now deprecated but still functional in iOS 13, the app works as expected. Details (using the newer method with "constraints"): App

AltBeacon library background service

梦想与她 提交于 2020-01-25 03:20:27
问题 Here is sample code that I'm using to detect enter region events: public class BeaconApplication extends android.app.Application implements BootstrapNotifier { private static final String TAG = "TAGTAG"; @Override public void onCreate() { super.onCreate(); Log.d(TAG, "App started up"); new BackgroundPowerSaver(this); new RegionBootstrap(this, new Region(getPackageName(), null, null, null)); } @Override public void didDetermineStateForRegion(int arg0, Region arg1) { Log.d(TAG,