diff --git a/index.bs b/index.bs index df27eca..8864e18 100644 --- a/index.bs +++ b/index.bs @@ -4906,7 +4906,7 @@ bluetooth.BluetoothManufacturerData = { key: uint, data: tstr };
is the Company Identifier Code.
data
-
is the [=forgiving-base64 encoded=] result of the manufacturer data [=byte sequence=].
+
is the manufacturer data [=byte sequence=], base64 encoded.
## The bluetooth module ## {#bluetooth-module} @@ -5017,7 +5017,7 @@ A `bluetooth.ScanRecord` represents data of the advertisement packet sent by a [
is an Appearance, one of the values defined by the {{gap.appearance}} characteristic.
manufacturerData
-
list of BluetoothManufacturerData that maps {{unsigned short}} Company Identifier Codes to [=forgiving-base64 encoded=] result of manufacturer data [=byte sequences=].
+
list of BluetoothManufacturerData that maps {{unsigned short}} Company Identifier Codes to base64 encoded manufacturer data [=byte sequences=].
@@ -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 manufacturer specific data to |params|[`"manufacturerData"`]. +1. Set |simulatedBluetoothDevice|'s manufacturer specific data to the output of [=forgiving-base64 decode=] performed on |params|[`"manufacturerData"`]. 1. Set |simulatedBluetoothDevice|'s service UUIDs to |params|[`"knownServiceUuids"`]. 1. Set |deviceMapping|[|deviceAddress|] to |simulatedBluetoothDevice|. 1. Return [=success=] with data `null`.