I have my custom client central project which connect and with peripheral and then disconnects. Meanwhile it read the characteristics values from peripheral and displays on UART terminal. In this project I can connect with any number of peripheral sequential and read the characteristics and then disconnect. And it takes about 80 ms in total for one peripheral connect+Data Read+Disconnect and then go to scanning mode and then so on......
I want to have now that my central can have upto 8 devices in whitelist (or store the device address) and then during sequential read, remove the scanning part after disconnect and connect directly to the device whose address has been stored in central.
As I understood the only approach is to have with whitelist implementation.
Is there any other way to do this? If yes then can someone explain me how to go about?
I looked at the example project but could not able to implement properly. Past week I tried but no success. Can anyone help to correct or point out me to write direction.