I am currently developing an ESP-32 based device, with BLE peripheral role functionalities, and one of the tasks requires the proximity (mainly the rssi value) of the central device.
So my questions are:
- Is it possible -in general- for a peripheral device, to acquire the rssi value of the central device? If so, are we using the same scan_result->scan_rst.rssi method?
- If rssi acquisition is possible, it has to be carried out only before connection (during gap) or also after creating the connection with the central? (in gatt)
But if you need more information, I would be happy to let you know more
Thanks!