mstOnDescValueArrived
Start from API_LEVEL
3.0
. Please refer to API_LEVEL.
Register the Read Descriptor data arrival callback function.
Type
function mstOnDescValueArrived(callback: Callback): Result
Parameters
Callback
Type | Description |
---|---|
( profile: Profile, uuid: UUID, descUUID: DescUUID, data: Data, status: Status, ) => void | Read Descriptor data to the callback function |
Profile
Type | Description |
---|---|
number | Profile pointer |
UUID
Type | Description |
---|---|
string | Characteristic UUID string |
DescUUID
Type | Description |
---|---|
string | Descriptor UUID string |