Page 1 of 1

ESP32 BLE RANGE

Posted: Thu Apr 25, 2019 1:07 pm
by Vaccaro
Hello, i'm developing a solution we're the ble of the esp32 scan for people wearing beacons. But i want to adjust de range of the ble scan (change tx porwer i guess), like founding people until 10m, or only on the first 2 metes. I'm programming on arduino IDE. The libs have this function that i can change that power level?

Thanks.

Re: ESP32 BLE RANGE

Posted: Thu Apr 25, 2019 9:43 pm
by chegewara
tx power is for transmission signal strength, so it gives you nothing.
What you need to do is to read TX power from beacon and read rssi, you also need to find formula to calculate distance from those 2 values.

Re: ESP32 BLE RANGE

Posted: Fri Apr 26, 2019 2:12 pm
by Vaccaro
Yes, i can do by filtering de rssi. But for me is better by downing the power range of BLE. Is that possible?

Re: ESP32 BLE RANGE

Posted: Fri Apr 26, 2019 8:33 pm
by chegewara
Yes, you can change tx power.

Re: ESP32 BLE RANGE

Posted: Sun Apr 28, 2019 12:24 am
by WiFive
If you change tx power you may affect active scan response results but for passive scan you can't change rx power so you have to use rssi.

Re: ESP32 BLE RANGE

Posted: Mon Apr 29, 2019 6:46 pm
by Vaccaro
You guys know where and how i can change this power output?