什么是iBeacon显示&QUOT标称距离;远","近"和"立即数 [英] What are the nominal distances for iBeacon "Far", "Near", and "Immediate"

查看:321
本文介绍了什么是iBeacon显示&QUOT标称距离;远","近"和"立即数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用iOS设备的广播公司和接收器使用新的API iBeacon显示在iOS的7玩耍。

I've been playing around with using iOS devices as both broadcasters and receivers using the new iBeacon API's in iOS 7.

该文档不细讲在该距离内接收设备的的看到每个接近指标,并特别呼吁出来作为相对。当与演示程序一个实验,我发现这些距离(iPhone ==接收器,iPad的==广播):

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):

远东 - 50英尺

靠近 - 2-3英尺

Near - 2-3 feet

立即 - 2英寸

这似乎非常小我,有可能是在CLBeaconRegion类的引用,它允许你指定你的设备从1米的信号强度远的提示。

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 from 1m away.

peripheralDataWithMeasuredPower:

peripheralDataWithMeasuredPower:

获取可用于通告当前设备作为一个信标数据。

Retrieves data that can be used to advertise the current device as a beacon.

参数

measuredPower

的接收信号强度指示器(RSSI)
  值的装置(以​​分贝测量)。这个值再presents的
  从一米处测得的信标强度和过程中使用
  一应俱全。指定零使用默认值的设备。

The received signal strength indicator (RSSI) value (measured in decibels) for the device. This value represents the measured strength of the beacon from one meter away and is used during ranging. Specify nil to use the default value for the device.

我的业余校准得到-60,这是我设置并重新测试:

My amateur calibration yielded -60, which I set and re-tested:

远东 - 数百个(ISH)脚

Far - hundreds(ish) feet

靠近 - 〜50英尺

立即 - 1米(略少)

Immediate - 1 meter (slightly less)

从我的第二次​​测试结果的理想根据苹果的范围?他们是真正远离默认设置我在第一次测试的经验。

Are the results from my second test the "ideal" ranges according to Apple? They are really far away from the "default" setting I experienced in the first test.

或者我应该考虑或许这些范围校准根据我的需要?

Or should I perhaps consider these ranges "calibratable" depending on my needs?

推荐答案

从我了解的API是从未有过的实际距离的保证,你不应该使用的读数被认为是准确的测量。接近而被用来确定不同的信标之间的相对距离,让您可以根据您的应用需求作出相应的反应。

From what I understood of the API is that there is never a guarantee on actual distance, you should not use the readings to be considered an accurate measurement. The proximity is rather used to determine the relative distance between different beacons so that you can respond accordingly based on your applications requirements.

随着中说,苹果绝对吸引他们的文档中的灰色地带。 measuredPower 的描述是有趣,轻松地灌输,你可以使用此值以获得准确的距离读数(校准一次当然)思想。我不认为是这样的话然而,在这些显著低功率设备的信号衰减的可能性,我不指望你会得到的实际距离始终如一的精确读数。

With that said, Apple definitely draws a gray area in their documentation. The description of measuredPower is intriguing and easily instils the thought that you can use this value to get an accurate distance reading (once calibrated of course). I just don't think that is the case however, with the likelihood of signal attenuation in these significantly low powered devices, I don't expect you'd get consistently accurate readings of an actual distance.

CLBeacon 引用准确的描述

表示米的一个西格马水平精度。用这个
  财产与同一邻近信标区分
  值。 不要用它来识别的信标precise位置。
  精度数值可能会波动,由于射频干扰

Indicates the one sigma horizontal accuracy in meters. Use this property to differentiate between beacons with the same proximity value. Do not use it to identify a precise location for the beacon. Accuracy values may fluctuate due to RF interference.

我觉得这莫名共鸣整个iBeacon显示功能的整个使用。

I feel that this inexplicably resonates throughout the entire usage of the iBeacon feature.

这是我所有的跨pretation,我没有去如FAS在多种环境中随着时间的推移这种测试,看是否一致的读数给出。我不知道如果这有助于在所有。

This is all my interpretation, I've not gone as fas as testing this in multiple environments over time to see if consistent readings are given. I am not sure if this helps at all.

这篇关于什么是iBeacon显示&QUOT标称距离;远","近"和"立即数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆