Simple question:
Is possible a central to evaluate RSSI before connecting to a peripheral?
The idea is to make central device connect and bond to a peripheral only if a determined RSSI is achieved.
Cheers
Fávero
Simple question:
Is possible a central to evaluate RSSI before connecting to a peripheral?
The idea is to make central device connect and bond to a peripheral only if a determined RSSI is achieved.
Cheers
Fávero
Well yes - the RSSI received is in the advertising report event structure, ble_gap_evt_adv_report_t. So you can read it before you connect. You can also put the TX power in the advertising packet as well if you like so you have a good idea how close the device actually is to you.
Thank you! Could you please point an example on how to do that?
Fávero
Thank you! Could you please point an example on how to do that?
Fávero