readPhy method

  1. @override
Future<BluetoothPhyEvent> readPhy(
  1. String deviceId
)
override

实现 FlutterBluetoothPluginPlatform.readPhy

Web Bluetooth 不支持读取 PHY。

Implementation

@override
Future<BluetoothPhyEvent> readPhy(String deviceId) async {
  return BluetoothPhyEvent(
    deviceId: deviceId,
    txPhy: BluetoothPhy.unknown,
    rxPhy: BluetoothPhy.unknown,
  );
}