Skip to main content
Version: v3.x

mstWriteCharacteristic

Start from API_LEVEL 3.0 . Please refer to API_LEVEL.

Write Characteristic information.

Type

function mstWriteCharacteristic(profile: Profile, uuid: UUID, data: Data, length: Length): void

Parameters

Profile

TypeDescription
numberProfile pointer

UUID

TypeDescription
stringCharacteristic UUID string

Data

TypeDescription
ArrayBufferReads the data using the Uint8Array view

Length

TypeDescription
numberData length

Example

import { mstWriteCharacteristic } from '@zos/ble'

// ...