simulateGATTOperationResponse
suspend fun simulateGATTOperationResponse(args: BluetoothEmulation.SimulateGATTOperationResponseParameter, mode: CommandMode = CommandMode.DEFAULT)
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.
suspend fun simulateGATTOperationResponse(address: String, type: BluetoothEmulation.GATTOperationType, code: Int)
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.
Parameters
address
No description
type
No description
code
No description