Skip to content

Commit c845e58

Browse files
build: extract aggregated BluetoothCommand cddl type (#649)
* build: extract aggregated `BluetoothCommand` cddl type * align cddl classes
1 parent 7066ce3 commit c845e58

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

index.bs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5127,6 +5127,16 @@ This specification extends the set of [=error codes=] from
51275127

51285128
### Commands ### {#bidi-commands}
51295129

5130+
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5131+
BluetoothCommand = (
5132+
bluetooth.HandleRequestDevicePrompt //
5133+
bluetooth.SimulateAdapter //
5134+
bluetooth.DisableSimulation //
5135+
bluetooth.SimulatePreconnectedPeripheral //
5136+
bluetooth.SimulateAdvertisement //
5137+
)
5138+
</pre>
5139+
51305140
#### The bluetooth.handleRequestDevicePrompt Command #### {#bluetooth-handlerequestdeviceprompt-command}
51315141

51325142
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
@@ -5190,7 +5200,7 @@ A [=local end=] could dismiss a prompt by sending the following message:
51905200
#### The bluetooth.simulateAdapter Command #### {#bluetooth-simulateAdapter-command}
51915201

51925202
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5193-
bluetooth.simulateAdapter = (
5203+
bluetooth.SimulateAdapter = (
51945204
method: "bluetooth.simulateAdapter",
51955205
params: bluetooth.SimulateAdapterParameters,
51965206
)
@@ -5255,7 +5265,7 @@ A [=local end=] could update the <a>adapter state</a> of an existing adapter by
52555265
#### The bluetooth.disableSimulation Command #### {#bluetooth-disableSimulation-command}
52565266

52575267
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5258-
bluetooth.disableSimulation = (
5268+
bluetooth.DisableSimulation = (
52595269
method: "bluetooth.disableSimulation",
52605270
params: bluetooth.DisableSimulationParameters,
52615271
)

0 commit comments

Comments
 (0)