BluetoothRemoteGATTCharacteristic: writeValueWithoutResponse() method

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{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}}