connectAndRegister method
Implementation
Future<bool> connectAndRegister(
{String targetDevice = '', bool isStrict = false}) async {
final isConnected =
await connectDevice(targetDevice: targetDevice, isStrict: isStrict);
if (isConnected) await registerCharacteristics();
return isConnected;
}