mstReadDescriptor
API_LEVEL
3.0开始支持,API 兼容性请参考 API_LEVEL。
写 characteristic 信息。
类型
function mstReadDescriptor(profile: Profile, uuid: UUID, descUUID: DescUUID): void
参数
Profile
| 类型 | 说明 |
|---|---|
number | Profile 指针 |
UUID
| 类型 | 说明 |
|---|---|
string | Characteristic UUID 字符串 |
DescUUID
| 类型 | 说明 |
|---|---|
string | Descriptor UUID 字符串 |
代码示例
import { mstReadDescriptor } from '@zos/ble'
// ...