Back to Content

BluetoothRemoteGATTCharacteristic: writeValueWithoutResponse() method

files/en-us/web/api/bluetoothremotegattcharacteristic/writevaluewithoutresponse/index.md

latest819 B
Original Source

{{APIRef("Bluetooth API")}}{{SeeCompatTable}}{{SecureContext_Header}}

The BluetoothRemoteGATTCharacteristic.writeValueWithoutResponse() method sets a {{domxref("BluetoothRemoteGATTCharacteristic")}} object's value property to the bytes contained in a given {{jsxref("ArrayBuffer")}}, {{jsxref("TypedArray")}}, or {{jsxref("DataView")}}, writes the characteristic value without response, and returns the resulting {{JSxRef("Promise")}}.

Syntax

js-nolint
writeValueWithoutResponse(value)

Parameters

  • value
    • : An {{jsxref("ArrayBuffer")}}, {{jsxref("TypedArray")}}, or {{jsxref("DataView")}}.

Return value

A {{jsxref("Promise")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}