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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
writeValueWithoutResponse
85
85
No
No
71
No
No
85
No
60
No
14.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValueWithoutResponse