BluetoothEmulation.simulatePreconnectedPeripheralSimulates a peripheral with |address|, |name| and |knownServiceUuids| that has already been connected to the system.
| Name | Type | Description |
|---|---|---|
address | string | |
name | string | |
manufacturerData | array | |
knownServiceUuids | array |
{
"id": 1,
"method": "BluetoothEmulation.simulatePreconnectedPeripheral",
"params": {
"address": "address-value",
"name": "example-name",
"manufacturerData": [],
"knownServiceUuids": []
}
}
{
"id": 1,
"result": {}
}
const result = await send('BluetoothEmulation.simulatePreconnectedPeripheral', {"address": "address-value", "name": "example-name", "manufacturerData": [], "knownServiceUuids": []});
console.log(result);