requestMtu method

  1. @override
Future<int> requestMtu(
  1. String deviceId,
  2. int expectedMtu
)
override

Implementation

@override
Future<int> requestMtu(String deviceId, int expectedMtu) async {
  _method.invokeMethod('requestMtu', {
    'deviceId': deviceId,
    'expectedMtu': expectedMtu,
  }).then((_) => _log('requestMtu invokeMethod success'));
  return await _mtuConfigController.stream.first;
}