diff --git a/index.bs b/index.bs
index c87a6f4..28bce08 100644
--- a/index.bs
+++ b/index.bs
@@ -4234,6 +4234,8 @@ To clean up the disconnected device |deviceObj|, the UA must:
1. Set deviceObj.gatt.{{BluetoothRemoteGATTServer/connected}}
to `false`.
1. Clear deviceObj.gatt.{{[[activeAlgorithms]]}}.
+1. Set deviceObj.gatt.{{[[automatedGATTConnectionResponse]]}} to
+ `"not-expected"`.
1. Let |context| be |deviceObj|.{{[[context]]}}.
1. Remove all entries from |context|.{{[[attributeInstanceMap]]}}
whose keys are inside |deviceObj|.{{[[representedDevice]]}}.
@@ -5163,6 +5165,7 @@ BluetoothCommand = (
bluetooth.SimulatePreconnectedPeripheral //
bluetooth.SimulateAdvertisement //
bluetooth.SimulateGattConnectionResponse //
+ bluetooth.SimulateGattDisconnection //
)
@@ -5510,6 +5513,60 @@ A [=local end=] could simulate a device gatt connection response of success
+#### The bluetooth.simulateGattDisconnection Command #### {#bluetooth-simulategattdisconnection-command}
+
+
+bluetooth.SimulateGattDisconnection = (
+ method: "bluetooth.simulateGattDisconnection",
+ params: bluetooth.SimulateGattDisconnectionParameters,
+)
+
+bluetooth.SimulateGattDisconnectionParameters = {
+ context: text,
+ address: text,
+}
+
+
+
+BluetoothDevice representing
+ |simulatedDevice| inside |navigable|'s active window's associated Navigator's
+ [=associated Bluetooth=].
+1. If |simulatedDeviceInstance|.{{[[gatt]]}}.{{[[automatedGATTConnectionResponse]]}} is `"expected"`,
+ set |simulatedDeviceInstance|.{{[[gatt]]}}.{{[[automatedGATTConnectionResponse]]}} to `0x15`.
+
+{
+ "method": "bluetooth.simulateGattDisconnection",
+ "params": {
+ "context": "cxt-d03fdd81",
+ "address": "09:09:09:09:09:09",
+ }
+}
+
+