requestPreferredPhy method

  1. @override
Future<void> requestPreferredPhy({
  1. required String deviceAddress,
  2. required BlePhy txPhy,
  3. required BlePhy rxPhy,
})
override

No-op implementation of requestPreferredPhy for use in tests.

There is no hardware to negotiate with in a test context, so this method simply returns successfully without taking any action.

Implementation

@override
Future<void> requestPreferredPhy({
  required String deviceAddress,
  required BlePhy txPhy,
  required BlePhy rxPhy,
}) async {
  // No-op: PHY negotiation has no meaning in a fake test environment.
}