ESP32 BLE RANGE

Vaccaro
Posts: 11
Joined: Tue Mar 19, 2019 12:13 pm

ESP32 BLE RANGE

Postby Vaccaro » Thu Apr 25, 2019 1:07 pm

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.

chegewara
Posts: 2238
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 BLE RANGE

Postby chegewara » Thu Apr 25, 2019 9:43 pm

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.

Vaccaro
Posts: 11
Joined: Tue Mar 19, 2019 12:13 pm

Re: ESP32 BLE RANGE

Postby Vaccaro » Fri Apr 26, 2019 2:12 pm

Yes, i can do by filtering de rssi. But for me is better by downing the power range of BLE. Is that possible?

chegewara
Posts: 2238
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 BLE RANGE

Postby chegewara » Fri Apr 26, 2019 8:33 pm

Yes, you can change tx power.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32 BLE RANGE

Postby WiFive » Sun Apr 28, 2019 12:24 am

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.

Vaccaro
Posts: 11
Joined: Tue Mar 19, 2019 12:13 pm

Re: ESP32 BLE RANGE

Postby Vaccaro » Mon Apr 29, 2019 6:46 pm

You guys know where and how i can change this power output?

Who is online

Users browsing this forum: No registered users and 52 guests