Skip to content

Commit 94157f9

Browse files
Fix cddl attribute (#659)
1 parent 3517b6b commit 94157f9

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

index.bs

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5030,7 +5030,7 @@ referenced.
50305030

50315031
## Definitions ## {#bluetooth-bidi-definitions}
50325032

5033-
<pre class="cddl remote-cddl local-cddl">
5033+
<pre class="cddl" data-cddl-module="remote-cddl,local-cddl">
50345034
bluetooth.BluetoothUuid = text;
50355035
bluetooth.BluetoothManufacturerData = { key: uint, data: tstr };
50365036
bluetooth.CharacteristicProperties = {
@@ -5061,7 +5061,7 @@ The bluetooth module contains commands for managing the remote end Bluetooth beh
50615061

50625062
#### The bluetooth.RequestDevice Type #### {#bluetooth-requestdevice-type}
50635063

5064-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5064+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
50655065
bluetooth.RequestDevice = text
50665066
</pre>
50675067

@@ -5075,7 +5075,7 @@ device=].
50755075

50765076
#### The bluetooth.RequestDeviceInfo Type #### {#bluetooth-requestdeviceinfo-type}
50775077

5078-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5078+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
50795079
bluetooth.RequestDeviceInfo = {
50805080
id: bluetooth.RequestDevice,
50815081
name: text / null,
@@ -5095,7 +5095,7 @@ To <dfn>serialize a device</dfn> given a {{BluetoothDevice}} |device|:
50955095

50965096
#### The bluetooth.RequestDevicePrompt Type #### {#bluetooth-requestdeviceprompt-type}
50975097

5098-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5098+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
50995099
bluetooth.RequestDevicePrompt = text
51005100
</pre>
51015101

@@ -5138,7 +5138,7 @@ To <dfn>serialize prompt devices</dfn> given [=device prompt=] |prompt|:
51385138

51395139
#### The bluetooth.ScanRecord Type #### {#bluetooth-scanrecord-type}
51405140

5141-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5141+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
51425142

51435143
bluetooth.ScanRecord = {
51445144
? name: text,
@@ -5180,7 +5180,7 @@ This specification extends the set of [=error codes=] from
51805180

51815181
### Commands ### {#bidi-commands}
51825182

5183-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5183+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
51845184
BluetoothCommand = (
51855185
bluetooth.HandleRequestDevicePrompt //
51865186
bluetooth.SimulateAdapter //
@@ -5199,7 +5199,7 @@ BluetoothCommand = (
51995199

52005200
#### The bluetooth.handleRequestDevicePrompt Command #### {#bluetooth-handlerequestdeviceprompt-command}
52015201

5202-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5202+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
52035203
bluetooth.HandleRequestDevicePrompt = (
52045204
method: "bluetooth.handleRequestDevicePrompt",
52055205
params: bluetooth.HandleRequestDevicePromptParameters,
@@ -5259,7 +5259,7 @@ A [=local end=] could dismiss a prompt by sending the following message:
52595259

52605260
#### The bluetooth.simulateAdapter Command #### {#bluetooth-simulateAdapter-command}
52615261

5262-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5262+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
52635263
bluetooth.SimulateAdapter = (
52645264
method: "bluetooth.simulateAdapter",
52655265
params: bluetooth.SimulateAdapterParameters,
@@ -5324,7 +5324,7 @@ A [=local end=] could update the <a>adapter state</a> of an existing adapter by
53245324

53255325
#### The bluetooth.disableSimulation Command #### {#bluetooth-disableSimulation-command}
53265326

5327-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5327+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
53285328
bluetooth.DisableSimulation = (
53295329
method: "bluetooth.disableSimulation",
53305330
params: bluetooth.DisableSimulationParameters,
@@ -5361,7 +5361,7 @@ A [=local end=] could disable the existing simulation by sending the following m
53615361

53625362
#### The bluetooth.simulatePreconnectedPeripheral Command #### {#bluetooth-simulateconnectedperipheral-command}
53635363

5364-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5364+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
53655365
bluetooth.SimulatePreconnectedPeripheral = (
53665366
method: "bluetooth.simulatePreconnectedPeripheral",
53675367
params: bluetooth.SimulatePreconnectedPeripheralParameters,
@@ -5418,7 +5418,7 @@ A [=local end=] could simulate a preconnected peripheral by sending the followin
54185418

54195419
#### The bluetooth.simulateAdvertisement Command #### {#bluetooth-simulateadvertisement-command}
54205420

5421-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5421+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
54225422
bluetooth.SimulateAdvertisement = (
54235423
method: "bluetooth.simulateAdvertisement",
54245424
params: bluetooth.SimulateAdvertisementParameters,
@@ -5491,7 +5491,7 @@ A [=local end=] could simulate a device advertisement by sending the following m
54915491

54925492
#### The bluetooth.simulateGattConnectionResponse Command #### {#bluetooth-simulategattconnectionresponse-command}
54935493

5494-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5494+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
54955495
bluetooth.SimulateGattConnectionResponse = (
54965496
method: "bluetooth.simulateGattConnectionResponse",
54975497
params: bluetooth.SimulateGattConnectionResponseParameters,
@@ -5543,7 +5543,7 @@ A [=local end=] could simulate a device gatt connection response of success
55435543

55445544
#### The bluetooth.simulateGattDisconnection Command #### {#bluetooth-simulategattdisconnection-command}
55455545

5546-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5546+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
55475547
bluetooth.SimulateGattDisconnection = (
55485548
method: "bluetooth.simulateGattDisconnection",
55495549
params: bluetooth.SimulateGattDisconnectionParameters,
@@ -5597,7 +5597,7 @@ A [=local end=] could simulate device GATT disconnection by sending the followin
55975597

55985598
#### The bluetooth.simulateService Command #### {#bluetooth-simulateservice-command}
55995599

5600-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5600+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
56015601
bluetooth.SimulateService = (
56025602
method: "bluetooth.simulateService",
56035603
params: bluetooth.SimulateServiceParameters,
@@ -5680,7 +5680,7 @@ A [=local end=] could simulate removing a GATT service by sending the following
56805680

56815681
#### The bluetooth.simulateCharacteristic Command #### {#bluetooth-simulatecharacteristic-command}
56825682

5683-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5683+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
56845684
bluetooth.SimulateCharacteristic = (
56855685
method: "bluetooth.simulateCharacteristic",
56865686
params: bluetooth.SimulateCharacteristicParameters,
@@ -5779,7 +5779,7 @@ A [=local end=] could simulate removing a GATT characteristic by sending the fol
57795779

57805780
#### The bluetooth.simulateCharacteristicResponse Command #### {#bluetooth-simulatecharacteristicresponse-command}
57815781

5782-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5782+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
57835783
bluetooth.SimulateCharacteristicResponse = (
57845784
method: "bluetooth.simulateCharacteristicResponse",
57855785
params: bluetooth.SimulateCharacteristicResponseParameters,
@@ -5824,7 +5824,7 @@ with data for a characteristic read operation by sending the following message:
58245824

58255825
#### The bluetooth.simulateDescriptor Command #### {#bluetooth-simulatedescriptor-command}
58265826

5827-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5827+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
58285828
bluetooth.SimulateDescriptor = (
58295829
method: "bluetooth.simulateDescriptor",
58305830
params: bluetooth.SimulateDescriptorParameters,
@@ -5884,7 +5884,7 @@ A [=local end=] could simulate removing a GATT descriptor by sending the followi
58845884

58855885
#### The bluetooth.simulateDescriptorResponse Command #### {#bluetooth-simulatedescriptorresponse-command}
58865886

5887-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5887+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
58885888
bluetooth.SimulateDescriptorResponse = (
58895889
method: "bluetooth.simulateDescriptorResponse",
58905890
params: bluetooth.SimulateDescriptorResponseParameters,
@@ -5931,7 +5931,7 @@ with data for a descriptor read operation by sending the following message:
59315931

59325932
### Events ### {#bidi-events}
59335933

5934-
<pre highlight="cddl" class="cddl remote-cddl local-cddl">
5934+
<pre highlight="cddl" class="cddl" data-cddl-module="remote-cddl,local-cddl">
59355935
BluetoothEvent = (
59365936
bluetooth.RequestDevicePromptUpdated //
59375937
bluetooth.GattConnectionAttempted
@@ -5940,7 +5940,7 @@ BluetoothEvent = (
59405940

59415941
#### The bluetooth.requestDevicePromptUpdated Event #### {#bluetooth-requestdevicepromptupdated-event}
59425942

5943-
<pre highlight="cddl" class="cddl local-cddl">
5943+
<pre highlight="cddl" class="cddl" data-cddl-module="local-cddl">
59445944
bluetooth.RequestDevicePromptUpdated = (
59455945
method: "bluetooth.requestDevicePromptUpdated",
59465946
params: bluetooth.RequestDevicePromptUpdatedParameters
@@ -5970,7 +5970,7 @@ To <dfn>trigger a prompt updated event</dfn> given a [=navigable=] |navigable|,
59705970

59715971
#### The bluetooth.gattConnectionAttempted Event #### {#bluetooth-gattConnectionAttempted-event}
59725972

5973-
<pre highlight="cddl" class="cddl local-cddl">
5973+
<pre highlight="cddl" class="cddl" data-cddl-module="local-cddl">
59745974
bluetooth.GattConnectionAttempted = (
59755975
method: "bluetooth.gattConnectionAttempted",
59765976
params: bluetooth.GattConnectionAttemptedParameters
@@ -5999,7 +5999,7 @@ To <dfn>trigger a gatt connection attempted event</dfn> given a [=navigable=] |n
59995999

60006000
#### The bluetooth.characteristicEventGenerated Event #### {#bluetooth-characteristiceventgenerated-event}
60016001

6002-
<pre highlight="cddl" class="cddl local-cddl">
6002+
<pre highlight="cddl" class="cddl" data-cddl-module="local-cddl">
60036003
bluetooth.CharacteristicEventGenerated = (
60046004
method: "bluetooth.characteristicEventGenerated",
60056005
params: bluetooth.CharacteristicEventGeneratedParameters
@@ -6023,7 +6023,7 @@ Issue: TODO: Finish the algorithm of bluetooth.characteristicEventGenerated.
60236023

60246024
#### The bluetooth.descriptorEventGenerated Event #### {#bluetooth-descriptoreventgenerated-event}
60256025

6026-
<pre highlight="cddl" class="cddl local-cddl">
6026+
<pre highlight="cddl" class="cddl" data-cddl-module="local-cddl">
60276027
bluetooth.DescriptorEventGenerated = (
60286028
method: "bluetooth.descriptorEventGenerated",
60296029
params: bluetooth.DescriptorEventGeneratedParameters

0 commit comments

Comments
 (0)