How to use the profile of PROXIMITY PROFILE,IMMEDIATE ALERT SERVICE and Find Me Profile in android 4.3 BLE?

懵懂的女人 提交于 2019-11-30 05:24:36

They are two different things: RSSI and TX_POWER.

TX_POWER is a power that was used to transmit the signal.
RSSI is a power of the signal measured by the receiver.

It is always true: TX_POWER >= RSSI.
(Since you can't measure power greater than it was actually transmitted)

To monitor proximity between two devices (Transmitter & Receiver, or, Peripheral & Central) you should use the following equation:

Proximity Level = TX_POWER - RSSI

The intuition behind this is as follows, the transmitter is always transmit with the same power (TX_POWER), but receiver measure RSSI differently, according to the distance (proximity), when it get closer the RSSI value is getting bigger, and when it moves away the RSSI value is getting smaller.

Good luck!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!