简体   繁体   English

BLE(蓝牙4.0)中的即时警报服务和邻近配置文件之间的关系是什么?

[英]What the relation between Immediate Alert Service and Proximity profile in BLE(Bluetooth 4.0)?

I am new to iOS development, and study about Bluetooth Low Energy (BLE, Bluetooth 4.0) for IOS 我是iOS开发的新手,并为IOS研究蓝牙低功耗(BLE,蓝牙4.0)

I have found the information like Proximity profile and it use the Service of Immediate Alert . 我找到了像Proximity profile这样的信息,它使用了Immediate Alert Service The description of Proximity profile is like the following: Proximity profile的描述如下:

When a device moves away from a peer device so that the connection is dropped or the path loss increases above a preset level, causing an immediate alert.

The condition-A:Using Proximity profile 条件-A:使用Proximity profile

The Proximity profile use immediate alert Service to start alert when a device moves away from a peer device. 当设备离开对等设备时, Proximity profile使用immediate alert Service来启动警报。

The condition-B:Without using Proximity profile 条件-B:不使用Proximity profile

I can get the RSSI from the BLE device and use the immediate alert Service to start alert when the RSSI is out of range which I have setting(For example: -75dbm). 我可以从BLE device获取RSSI并使用immediate alert ServiceRSSI超出我设置的范围时启动警报(例如:-75dbm)。

The question is like the following:

What the different between condition-A and condition-B ?? condition-Acondition-B之间有什么不同?

Is the Profile just a theory ? Profile只是一个理论吗? and the Service is the real application ? Service是真正的应用程序?

该配置文件定义了服务的语义,而服务只包含其包含的特征的正式描述,并具有指定的UUID。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM