BluetoothRemoteGATTCharacteristic: writeValueWithoutResponse() method

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

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

Syntax

js
writeValueWithoutResponse(value)

Parameters

value

An ArrayBuffer, TypedArray, or DataView.

Return value

A Promise.

Specifications