I have developed an app that connect to a Polar heart monitor. I connect to it using : device.connectGatt(this, false, mGattCallback); and If I lost the connection I rescan the device and I reconnect to the same hear monitor.
I wonder if I can obtain this behaviours with using :
device.connectGatt(this, true, mGattCallback);
Without re scan the device.
Which is the better way ?