simulateAdvertisement method

Future<void> simulateAdvertisement(
  1. ScanEntry entry
)

Simulates an advertisement packet described in |entry| being received by the central.

Implementation

Future<void> simulateAdvertisement(ScanEntry entry) async {
  await _client.send('BluetoothEmulation.simulateAdvertisement', {
    'entry': entry,
  });
}