1、初始化蓝牙模块openBluetoothAdapter:function() { let that = this; wx.openBluetoothAdapter({ complete(res) { } }) },2、检查蓝牙适配器状态getBluetoothAdapterState: function () { let that = this; wx.getBluetoothAdapterState({ success(res) { } }) },3、搜索蓝牙外围设备getBluetoothAdapterState: function () { let that = this; wx.getBluetoothAdapterState({ success(res) { } }) },4、获取所有已经发现的蓝牙设备 getBluetoothDevices:funct
SK
Devil in My Mind.