Hello!
I would like to whitelist a peripheral when -60 dBm RSSI is achieved (this means that central will bond to peripheral by proximity) but later data exchange must occur independent of the RSSI.
-> Just and example: Peripheral is far from central. Central does not exchange data with this peripheral, as it does not belongs to central's whitelist. Peripheral is put near to central, achieving a RSSI higher than -60 dBm. Central whitelist this peripheral. Peripheral opperates normally, receaving and sending data. If user wants to remove that specific peripheral from whitelist, the peripheral should be put closer to central.
My doubt is on how to do that, where to look and which functions should I change... I kind lost in this issue, as I see different layers when bonding, whitelist and connecting...
Thanks!