simulatePreconnectedPeripheral method
Simulates a peripheral with |address|, |name| and |knownServiceUuids| that has already been connected to the system.
Implementation
Future<void> simulatePreconnectedPeripheral(
String address,
String name,
List<ManufacturerData> manufacturerData,
List<String> knownServiceUuids) async {
await _client.send('BluetoothEmulation.simulatePreconnectedPeripheral', {
'address': address,
'name': name,
'manufacturerData': [...manufacturerData],
'knownServiceUuids': [...knownServiceUuids],
});
}