Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make definitions of typedefs normative #619

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 17 additions & 19 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4532,25 +4532,23 @@ canonicalUUID(<var>alias</var>)</dfn></code> method, when invoked, MUST return
<code>"deadbeef-0000-1000-8000-00805f9b34fb"</code>.
</div>

<div class="note">
<dfn typedef>BluetoothServiceUUID</dfn> represents 16- and 32-bit UUID
aliases, <a>valid UUID</a>s, and <a>valid name</a>s from
<a>GATT assigned services</a> keys, or, equivalently, the values for which
{{BluetoothUUID/getService()|BluetoothUUID.getService()}} does not throw an
exception.

<dfn typedef>BluetoothCharacteristicUUID</dfn> represents 16- and 32-bit UUID
aliases, <a>valid UUID</a>s, and <a>valid name</a>s from <a>GATT assigned
characteristics</a> keys, or, equivalently, the values for which
{{BluetoothUUID/getCharacteristic()|BluetoothUUID.getCharacteristic()}} does
not throw an exception.

<dfn typedef>BluetoothDescriptorUUID</dfn> represents 16- and 32-bit UUID
aliases, <a>valid UUID</a>s, and <a>valid name</a>s from <a>GATT assigned
descriptors</a> keys, or, equivalently, the values for which
{{BluetoothUUID/getDescriptor()|BluetoothUUID.getDescriptor()}} does not throw
an exception.
</div>
<dfn typedef>BluetoothServiceUUID</dfn> represents 16- and 32-bit UUID
aliases, <a>valid UUID</a>s, and <a>valid name</a>s from
<a>GATT assigned services</a> keys, or, equivalently, the values for which
{{BluetoothUUID/getService()|BluetoothUUID.getService()}} does not throw an
exception.

<dfn typedef>BluetoothCharacteristicUUID</dfn> represents 16- and 32-bit UUID
aliases, <a>valid UUID</a>s, and <a>valid name</a>s from <a>GATT assigned
characteristics</a> keys, or, equivalently, the values for which
{{BluetoothUUID/getCharacteristic()|BluetoothUUID.getCharacteristic()}} does
not throw an exception.

<dfn typedef>BluetoothDescriptorUUID</dfn> represents 16- and 32-bit UUID
aliases, <a>valid UUID</a>s, and <a>valid name</a>s from <a>GATT assigned
descriptors</a> keys, or, equivalently, the values for which
{{BluetoothUUID/getDescriptor()|BluetoothUUID.getDescriptor()}} does not throw
an exception.

<div algorithm="resolve UUID name">
To <dfn>ResolveUUIDName</dfn>(<var>name</var>, <var>GATT assigned
Expand Down
Loading