You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd>is the manufacturer data [=byte sequence=], base64 encoded.</dd>
4910
+
</dl>
4911
+
4904
4912
## The bluetooth module ## {#bluetooth-module}
4905
4913
4906
4914
The bluetooth module contains commands for managing the remote end Bluetooth behavior.
@@ -5009,7 +5017,7 @@ A `bluetooth.ScanRecord` represents data of the advertisement packet sent by a [
5009
5017
<dd>is an <a>Appearance</a>, one of the values defined by the {{gap.appearance}} characteristic.</dd>
5010
5018
5011
5019
<dt><code>manufacturerData</code></dt>
5012
-
<dd>list of <code>bluetooth.BluetoothManufacturerData</code> that maps {{unsigned short}} Company Identifier Codes to [=lists=] of {{octet}}s.</dd>
5020
+
<dd>list of <code>BluetoothManufacturerData</code> that maps {{unsigned short}} Company Identifier Codes to base64 encoded manufacturer data [=byte sequences=].</dd>
5013
5021
</dl>
5014
5022
5015
5023
@@ -5160,7 +5168,7 @@ The [=remote end steps=] with command parameters |params| are:
5160
5168
1. Let |simulatedBluetoothDevice| be a new [=simulated Bluetooth device=].
5161
5169
1. Set |simulatedBluetoothDevice|'s name to |params|[`"name"`].
5162
5170
1. Set |simulatedBluetoothDevice|'s address to |params|[`"address"`].
5163
-
1. Set |simulatedBluetoothDevice|'s <a>manufacturer specific data</a> to |params|[`"manufacturerData"`].
5171
+
1. Set |simulatedBluetoothDevice|'s <a>manufacturer specific data</a> to the output of [=forgiving-base64 decode=] performed on |params|[`"manufacturerData"`].
5164
5172
1. Set |simulatedBluetoothDevice|'s <a>service UUIDs</a> to |params|[`"knownServiceUuids"`].
5165
5173
1. Set |deviceMapping|[|deviceAddress|] to |simulatedBluetoothDevice|.
5166
5174
1. Return [=success=] with data `null`.
@@ -5177,7 +5185,7 @@ A [=local end=] could simulate a preconnected peripheral by sending the followin
0 commit comments