BluetoothRemoteGATTCharacteristic.writeValueWithoutResponse()

The BluetoothRemoteGATTCharacteristic.writeValueWithoutResponse() method sets a BluetoothRemoteGATTCharacteristic object’s value property to the bytes contained in a given ArrayBuffer, calls WriteCharacteristicValue(this=this, value=value, response="never"), and returns the resulting Promise.

Syntax

BluetoothRemoteGATTCharacteristic.writeValueWithoutResponse(value).then(function() { ... })

Returns

A Promise.

Parameters

value
An ArrayBuffer

Specifications

Specification
Web Bluetooth
# dom-bluetoothremotegattcharacteristic-writevaluewithoutresponse

Browser compatibility

BCD tables only load in the browser