INNER CODE UNIT · Dart

Peripheral

dotintent/FlutterBleLib · lib/peripheral.dart:16

class Peripheral {
  static const int NO_MTU_NEGOTIATION = 0;
  final ManagerForPeripheral _manager;

  String? name;
  String identifier;

  Peripheral.fromJson(Map<String, dynamic> json, ManagerForPeripheral manager)
      : _manager = manager,
        name = json[_PeripheralMetadata.name],
        identifier = json[_PeripheralMetadata.identifier];

  /// Connects to the peripheral.
  ///
  /// Optional [isAutoConnect] controls whether to directly connect to the
  /// remote peripheral (`false`) or to automatically connect as soon as the
  /// remote peripheral becomes available (true). (Android only)
  ///

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…