← Back to BluetoothEmulation domain

BluetoothEmulation.simulateGATTDisconnection

Simulates a GATT disconnection from the peripheral with |address|.

Domain: BluetoothEmulation experimental

Parameters

NameTypeDescription
addressstring

Example Request

{
  "id": 1,
  "method": "BluetoothEmulation.simulateGATTDisconnection",
  "params": {
    "address": "address-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('BluetoothEmulation.simulateGATTDisconnection', {"address": "address-value"});
console.log(result);