pairAndConnectBluetoothDevices

配对型连接蓝牙

APP最低版本: 4.10.0
设备限制: Android

参数 params

属性 类型 含义 默认 必须 APP版本
bluetoothAddress string 通过蓝牙打印的打印机mac地址

返回 Promise<response>

属性 类型 含义 APP版本
code string 200:成功 | 404:失败
msg string 响应信息
data Object 响应数据
data unknown 响应数据

示例

import { pairAndConnectBluetoothDevices } from '@suplink/jssdk';

pairAndConnectBluetoothDevices().then((res) => console.log(res))