Skip to content

Commit

Permalink
Update spec for review feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnj committed Oct 8, 2024
1 parent fe8878b commit ee06d56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4906,7 +4906,7 @@ bluetooth.BluetoothManufacturerData = { key: uint, data: tstr };
<dd>is the Company Identifier Code.</dd>

<dt><code>data</code></dt>
<dd>is the [=forgiving-base64 encoded=] result of the manufacturer data [=byte sequence=].</dd>
<dd>is the manufacturer data [=byte sequence=], base64 encoded.</dd>
</dl>

## The bluetooth module ## {#bluetooth-module}
Expand Down Expand Up @@ -5017,7 +5017,7 @@ A `bluetooth.ScanRecord` represents data of the advertisement packet sent by a [
<dd>is an <a>Appearance</a>, one of the values defined by the {{gap.appearance}} characteristic.</dd>

<dt><code>manufacturerData</code></dt>
<dd>list of <code>BluetoothManufacturerData</code> that maps {{unsigned short}} Company Identifier Codes to [=forgiving-base64 encoded=] result of manufacturer data [=byte sequences=].</dd>
<dd>list of <code>BluetoothManufacturerData</code> that maps {{unsigned short}} Company Identifier Codes to base64 encoded manufacturer data [=byte sequences=].</dd>
</dl>


Expand Down Expand Up @@ -5168,7 +5168,7 @@ The [=remote end steps=] with command parameters |params| are:
1. Let |simulatedBluetoothDevice| be a new [=simulated Bluetooth device=].
1. Set |simulatedBluetoothDevice|'s name to |params|[`"name"`].
1. Set |simulatedBluetoothDevice|'s address to |params|[`"address"`].
1. Set |simulatedBluetoothDevice|'s <a>manufacturer specific data</a> to |params|[`"manufacturerData"`].
1. Set |simulatedBluetoothDevice|'s <a>manufacturer specific data</a> to the output of [=forgiving-base64 decode=] performed on |params|[`"manufacturerData"`].
1. Set |simulatedBluetoothDevice|'s <a>service UUIDs</a> to |params|[`"knownServiceUuids"`].
1. Set |deviceMapping|[|deviceAddress|] to |simulatedBluetoothDevice|.
1. Return [=success=] with data `null`.
Expand Down

0 comments on commit ee06d56

Please sign in to comment.