mstPair
Start from API_LEVEL
3.0
. Please refer to API_LEVEL.
Pairing with devices via connectId
.
Type
function mstPair(connectId: ConnectId): Result
Parameters
ConnectId
Type | Description |
---|---|
number | The connection ID returned when the connection is successful using the mstConnect API |
Result
Type | Description |
---|---|
boolean | The result of the function call, true means success, false means failure |
Example
import { mstPair } from '@zos/ble'
// ...