onServicesReset property

Stream<void> get onServicesReset

Services Reset Stream

  • uses the GAP Services Changed characteristic (0x2A05)
  • you must re-call discoverServices() when services are reset

Implementation

Stream<void> get onServicesReset {
  return FlutterBluePlus._methodStream.stream
      .where((m) => m.method == "OnServicesReset")
      .map((m) => m.arguments)
      .map((args) => BmBluetoothDevice.fromMap(args))
      .where((p) => p.remoteId == remoteId)
      .map((m) {});
}