MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / writeValue

Method writeValue

modules/network/ble/gatt.js:345–348  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

343 }
344
345 writeValue(value) {
346 value = typedValueToBuffer(this.type, value);
347 this._writeValue(this.connection, this.handle, value, true);
348 }
349
350 _readValue() @ "xs_gatt_descriptor_read_value"
351 _writeValue() @ "xs_gatt_descriptor_write_value"

Callers

nothing calls this directly

Calls 1

typedValueToBufferFunction · 0.90

Tested by

no test coverage detected