subscribeNotifications static method
Set a characteristic notifiable. Updates will arrive in onValueChange listener and characteristicValueStream call unsubscribe to stop updates
Implementation
static Future<void> subscribeNotifications(
String deviceId,
String service,
String characteristic, {
Duration? timeout,
}) async {
return _sendBleInputPropertyCommand(
deviceId,
service,
characteristic,
BleInputProperty.notification,
timeout: timeout,
);
}