simulateGATTOperationResponse method
Simulates the response code from the peripheral with |address| for a GATT operation of |type|. The |code| value follows the HCI Error Codes from Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
Implementation
Future<void> simulateGATTOperationResponse(
String address,
GATTOperationType type,
int code,
) async {
await _client.send('BluetoothEmulation.simulateGATTOperationResponse', {
'address': address,
'type': type,
'code': code,
});
}