Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 7 months ago.
I need to limit the beacon signal so that it does not reach more than 2 meters
I am using the following codes as an example: https://os.mbed.com/teams/Bluetooth-Low-Energy/code/BLE_iBeacon/ https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-Beacon/ and in both the I can not make the limitation of the signal. I have already tried changing the txpower, changing the array of permissible signals and always with no result
1 Answer
6 years, 7 months ago.
Hi Leandro,
2m is difficult to achieve, even if the TX power is turned as low as possible on both sides.. Is it possible for you to not act on a received BLE packet and throw it away if the RSSI is too high?
There are algorithms out there that can calculate distance if you know the received RSSI and the TX power of "the other" device. The trick is in knowing the other device's transmit power at the antenna for accurate results.
...loopsva