Eddystone信标的后台信标检测和通知(iOS和Android)? [英] Background beacon detection and Notification (Both iOS and Android) for Eddystone beacon?

查看:237
本文介绍了Eddystone信标的后台信标检测和通知(iOS和Android)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以在应用程序后台(iOS和Android)中检测信标吗?我看到Eddystone信标在iOS背景方面存在一些问题.如何解决呢?

Can we detect beacons in app background(Both iOS and Android). I see Eddystone beacon have some problem with background of iOS. How can solve that ?

推荐答案

iOS确实允许对诸如Eddystone之类的服务广告进行后台检测,但是 Eddystone检测时间可能比iBeacon慢. iBeacon检测速度更快的原因是 Apple已使用硬件过滤器对其进行了优化.当您在iOS上监视iBeacon区域时,蓝牙芯片中的硬件过滤器插槽将被激活.如果没有耗尽硬件插槽,这将导致iBeacon检测在后台运行应用程序的情况下在大约2秒钟内发生.

iOS does allow background detection of service advertisements like Eddystone, but Eddystone detection times can be slower than iBeacon. The reason iBeacon detections are faster is because Apple has optimized it with hardware filters. Hardware filter slots in the bluetooth chip are activated when you monitor an iBeacon region on iOS. This causes iBeacon detections to happen within about 2 seconds when an app is in the background, provided hardware slots have not been used up.

您可以使用

You can get the similar rapid detection of Eddystone beacons by using beacons that interleave both an iBeacon transmission and an Eddystone transmission and making your app look for both. The iBeacon detection will wake up your app very rapidly in the background, and once active it will be able to receive Eddystone advertisements immediately thereafter.

您可以了解有关蓝牙硬件检测槽如何影响iBeacon检测时间的更多信息

You can read more about how bluetooth hardware detection slots affect iBeacon detection times here.

全面披露:我是Radius Networks的首席工程师,该公司制作的信标可以交错iBeacon和Eddystone传输.

Full Disclosure: I am Chief Engineer at Radius Networks which makes beacons that interleave both iBeacon and Eddystone transmissions.

这篇关于Eddystone信标的后台信标检测和通知(iOS和Android)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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