Skip to content

Commit b82273d

Browse files
author
reffy-bot
committed
Update of ED report from new reffy run
Using reffy commit 19.0.1.
1 parent 312b6ef commit b82273d

14 files changed

+5592
-428
lines changed

ed/algorithms/secure-payment-confirmation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
"rationale": "fetch",
187187
"steps": [
188188
{
189-
"html": "<p><a data-link-type=\"dfn\" href=\"https://w3c.github.io/image-resource/#dfn-fetching-an-image-resource\" id=\"ref-for-dfn-fetching-an-image-resource①\">Fetch the image resource</a> for the <var>logo</var>, passing\n«[\"<code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/image-resource/#dom-imageresource-src\" id=\"ref-for-dom-imageresource-src①\">src</a></code>\" → <var>logo</var>[\"<code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/secure-payment-confirmation/#dom-paymententitylogo-url\" id=\"ref-for-dom-paymententitylogo-url②\">url</a></code>\"\nfor <em>image</em>, and decode the result.</p>"
189+
"html": "<p><a data-link-type=\"dfn\" href=\"https://w3c.github.io/image-resource/#dfn-fetching-an-image-resource\" id=\"ref-for-dfn-fetching-an-image-resource①\">Fetch the image resource</a> for the <var>logo</var>, passing\n«[\"<code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/image-resource/#dom-imageresource-src\" id=\"ref-for-dom-imageresource-src①\">src</a></code>\" → <var>logo</var>[\"<code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/secure-payment-confirmation/#dom-paymententitylogo-url\" id=\"ref-for-dom-paymententitylogo-url②\">url</a></code>\"]]»\nfor <em>image</em>, and decode the result.</p>"
190190
},
191191
{
192192
"html": "<p>If either the fetch or decode fails, set <var>logo</var>[\"<code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/secure-payment-confirmation/#dom-paymententitylogo-url\" id=\"ref-for-dom-paymententitylogo-url③\">url</a></code>\"]\nto an empty string.</p>"

ed/algorithms/web-bluetooth-scanning.json

Lines changed: 36 additions & 36 deletions
Large diffs are not rendered by default.

ed/algorithms/web-bluetooth.json

Lines changed: 333 additions & 333 deletions
Large diffs are not rendered by default.

ed/cddl/web-bluetooth-local-cddl.cddl

Lines changed: 267 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,267 @@
1+
; GENERATED CONTENT - DO NOT EDIT
2+
; Content was automatically extracted by Reffy into webref
3+
; (https://github.com/w3c/webref)
4+
; Source: Web Bluetooth (https://webbluetoothcg.github.io/web-bluetooth/)
5+
6+
bluetooth.BluetoothUuid = text;
7+
bluetooth.BluetoothManufacturerData = { key: uint, data: tstr };
8+
bluetooth.CharacteristicProperties = {
9+
? broadcast: bool,
10+
? read: bool,
11+
? writeWithoutResponse: bool,
12+
? write: bool,
13+
? notify: bool,
14+
? indicate: bool,
15+
? authenticatedSignedWrites: bool,
16+
? extendedProperties: bool
17+
}
18+
19+
bluetooth.RequestDevice = text
20+
21+
bluetooth.RequestDeviceInfo = {
22+
id: bluetooth.RequestDevice,
23+
name: text / null,
24+
}
25+
26+
bluetooth.RequestDevicePrompt = text
27+
28+
bluetooth.ScanRecord = {
29+
? name: text,
30+
? uuids: [ * bluetooth.BluetoothUuid ],
31+
? appearance: number,
32+
? manufacturerData: [ * bluetooth.BluetoothManufacturerData ],
33+
}
34+
35+
BluetoothCommand = (
36+
bluetooth.HandleRequestDevicePrompt //
37+
bluetooth.SimulateAdapter //
38+
bluetooth.DisableSimulation //
39+
bluetooth.SimulatePreconnectedPeripheral //
40+
bluetooth.SimulateAdvertisement //
41+
bluetooth.SimulateGattConnectionResponse //
42+
bluetooth.SimulateGattDisconnection //
43+
bluetooth.SimulateService //
44+
bluetooth.SimulateCharacteristic //
45+
bluetooth.SimulateCharacteristicResponse //
46+
bluetooth.SimulateDescriptor //
47+
bluetooth.SimulateDescriptorResponse //
48+
)
49+
50+
bluetooth.HandleRequestDevicePrompt = (
51+
method: "bluetooth.handleRequestDevicePrompt",
52+
params: bluetooth.HandleRequestDevicePromptParameters,
53+
)
54+
55+
bluetooth.HandleRequestDevicePromptParameters = {
56+
context: text,
57+
prompt: bluetooth.RequestDevicePrompt,
58+
(
59+
bluetooth.HandleRequestDevicePromptAcceptParameters //
60+
bluetooth.HandleRequestDevicePromptCancelParameters
61+
)
62+
}
63+
64+
bluetooth.HandleRequestDevicePromptAcceptParameters = (
65+
accept: true,
66+
device: bluetooth.RequestDevice,
67+
)
68+
69+
bluetooth.HandleRequestDevicePromptCancelParameters = (
70+
accept: false,
71+
)
72+
73+
bluetooth.SimulateAdapter = (
74+
method: "bluetooth.simulateAdapter",
75+
params: bluetooth.SimulateAdapterParameters,
76+
)
77+
78+
bluetooth.SimulateAdapterParameters = {
79+
context: text,
80+
? leSupported: bool,
81+
state: "absent" / "powered-off" / "powered-on"
82+
}
83+
84+
bluetooth.DisableSimulation = (
85+
method: "bluetooth.disableSimulation",
86+
params: bluetooth.DisableSimulationParameters,
87+
)
88+
89+
bluetooth.DisableSimulationParameters = {
90+
context: text
91+
}
92+
93+
bluetooth.SimulatePreconnectedPeripheral = (
94+
method: "bluetooth.simulatePreconnectedPeripheral",
95+
params: bluetooth.SimulatePreconnectedPeripheralParameters,
96+
)
97+
98+
bluetooth.SimulatePreconnectedPeripheralParameters = {
99+
context: text,
100+
address: text,
101+
name: text,
102+
manufacturerData: [ * bluetooth.BluetoothManufacturerData ],
103+
knownServiceUuids: [ * bluetooth.BluetoothUuid ]
104+
}
105+
106+
bluetooth.SimulateAdvertisement = (
107+
method: "bluetooth.simulateAdvertisement",
108+
params: bluetooth.SimulateAdvertisementParameters,
109+
)
110+
111+
bluetooth.SimulateAdvertisementParameters = {
112+
context: text,
113+
scanEntry: bluetooth.SimulateAdvertisementScanEntryParameters
114+
}
115+
116+
bluetooth.SimulateAdvertisementScanEntryParameters = {
117+
deviceAddress: text,
118+
rssi: number,
119+
scanRecord: bluetooth.ScanRecord
120+
}
121+
122+
bluetooth.SimulateGattConnectionResponse = (
123+
method: "bluetooth.simulateGattConnectionResponse",
124+
params: bluetooth.SimulateGattConnectionResponseParameters,
125+
)
126+
127+
bluetooth.SimulateGattConnectionResponseParameters = {
128+
context: text,
129+
address: text,
130+
code: uint
131+
}
132+
133+
bluetooth.SimulateGattDisconnection = (
134+
method: "bluetooth.simulateGattDisconnection",
135+
params: bluetooth.SimulateGattDisconnectionParameters,
136+
)
137+
138+
bluetooth.SimulateGattDisconnectionParameters = {
139+
context: text,
140+
address: text,
141+
}
142+
143+
bluetooth.SimulateService = (
144+
method: "bluetooth.simulateService",
145+
params: bluetooth.SimulateServiceParameters,
146+
)
147+
148+
bluetooth.SimulateServiceParameters = {
149+
context: text,
150+
address: text,
151+
uuid: bluetooth.BluetoothUuid,
152+
type: "add" / "remove",
153+
}
154+
155+
bluetooth.SimulateCharacteristic = (
156+
method: "bluetooth.simulateCharacteristic",
157+
params: bluetooth.SimulateCharacteristicParameters,
158+
)
159+
160+
bluetooth.SimulateCharacteristicParameters = {
161+
context: text,
162+
address: text,
163+
serviceUuid: bluetooth.BluetoothUuid,
164+
characteristicUuid: bluetooth.BluetoothUuid,
165+
? characteristicProperties: bluetooth.CharacteristicProperties,
166+
type: "add" / "remove"
167+
}
168+
169+
bluetooth.SimulateCharacteristicResponse = (
170+
method: "bluetooth.simulateCharacteristicResponse",
171+
params: bluetooth.SimulateCharacteristicResponseParameters,
172+
)
173+
174+
bluetooth.SimulateCharacteristicResponseParameters = {
175+
context: text,
176+
address: text,
177+
serviceUuid: bluetooth.BluetoothUuid,
178+
characteristicUuid: bluetooth.BluetoothUuid,
179+
type: "read" / "write" / "subscribe-to-notifications" / "unsubscribe-from-notifications",
180+
code: uint,
181+
? data: [ * uint ]
182+
}
183+
184+
bluetooth.SimulateDescriptor = (
185+
method: "bluetooth.simulateDescriptor",
186+
params: bluetooth.SimulateDescriptorParameters,
187+
)
188+
189+
bluetooth.SimulateDescriptorParameters = {
190+
context: text,
191+
address: text,
192+
serviceUuid: bluetooth.BluetoothUuid,
193+
characteristicUuid: bluetooth.BluetoothUuid,
194+
descriptorUuid: bluetooth.BluetoothUuid,
195+
type: "add" / "remove"
196+
}
197+
198+
bluetooth.SimulateDescriptorResponse = (
199+
method: "bluetooth.simulateDescriptorResponse",
200+
params: bluetooth.SimulateDescriptorResponseParameters,
201+
)
202+
203+
bluetooth.SimulateDescriptorResponseParameters = {
204+
context: text,
205+
address: text,
206+
serviceUuid: bluetooth.BluetoothUuid,
207+
characteristicUuid: bluetooth.BluetoothUuid,
208+
descriptorUuid: bluetooth.BluetoothUuid,
209+
type: "read" / "write",
210+
code: uint,
211+
? data: [ * uint ]
212+
}
213+
214+
BluetoothEvent = (
215+
bluetooth.RequestDevicePromptUpdated //
216+
bluetooth.GattConnectionAttempted
217+
)
218+
219+
bluetooth.RequestDevicePromptUpdated = (
220+
method: "bluetooth.requestDevicePromptUpdated",
221+
params: bluetooth.RequestDevicePromptUpdatedParameters
222+
)
223+
224+
bluetooth.RequestDevicePromptUpdatedParameters = {
225+
context: text,
226+
prompt: bluetooth.RequestDevicePrompt,
227+
devices: [* bluetooth.RequestDeviceInfo],
228+
}
229+
230+
bluetooth.GattConnectionAttempted = (
231+
method: "bluetooth.gattConnectionAttempted",
232+
params: bluetooth.GattConnectionAttemptedParameters
233+
)
234+
235+
bluetooth.GattConnectionAttemptedParameters = {
236+
context: text,
237+
address: text
238+
}
239+
240+
bluetooth.CharacteristicEventGenerated = (
241+
method: "bluetooth.characteristicEventGenerated",
242+
params: bluetooth.CharacteristicEventGeneratedParameters
243+
)
244+
245+
bluetooth.CharacteristicEventGeneratedParameters = {
246+
context: text,
247+
address: text,
248+
serviceUuid: bluetooth.BluetoothUuid,
249+
characteristicUuid: bluetooth.BluetoothUuid,
250+
type: "read" / "write-with-response" / "write-without-response" / "subscribe-to-notifications" / "unsubscribe-from-notifications",
251+
? data: [ * uint ]
252+
}
253+
254+
bluetooth.DescriptorEventGenerated = (
255+
method: "bluetooth.descriptorEventGenerated",
256+
params: bluetooth.DescriptorEventGeneratedParameters
257+
)
258+
259+
bluetooth.DescriptorEventGeneratedParameters = {
260+
context: text,
261+
address: text,
262+
serviceUuid: bluetooth.BluetoothUuid,
263+
characteristicUuid: bluetooth.BluetoothUuid,
264+
descriptorUuid: bluetooth.BluetoothUuid,
265+
type: "read" / "write",
266+
? data: [ * uint ]
267+
}

0 commit comments

Comments
 (0)