BLE server, need the RSSI of its clients to perform action.
Posted: Mon Jul 25, 2022 7:45 pm
Hello all,
I am working on an application that uses BLE as a server in an ESP32. Clients connect to it and send a code to open a door. This works fine but I need to do this when the RSSI of the device goes above a certain threshold or power to make sure the Client device is close to the chip server.
I implemented this using the Arduino BLE abstraction of ESP32 using the server mechanism.
Is there a way to retrieve the RSSI value when a characteristic is written to? Like in a server or characteristic callback ?
Ir a way to retrieve the connected clients to the server so we can read or get their respective RSSI VALUÉ?
Any help would be appreciated.
I am working on an application that uses BLE as a server in an ESP32. Clients connect to it and send a code to open a door. This works fine but I need to do this when the RSSI of the device goes above a certain threshold or power to make sure the Client device is close to the chip server.
I implemented this using the Arduino BLE abstraction of ESP32 using the server mechanism.
Is there a way to retrieve the RSSI value when a characteristic is written to? Like in a server or characteristic callback ?
Ir a way to retrieve the connected clients to the server so we can read or get their respective RSSI VALUÉ?
Any help would be appreciated.