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
Type | Description |
---|---|
number | Profile pointer |
UUID
Type | Description |
---|---|
string | Characteristic UUID string |
Data
Type | Description |
---|---|
ArrayBuffer | Reads the data using the Uint8Array view |
Length
Type | Description |
---|---|
number | Data length |
Example
import { mstWriteCharacteristic } from '@zos/ble'
// ...