微信小程序初始化连接蓝牙
初始化蓝牙适配器
wx.openBluetoothAdapter({
success: function (res) {
console.log(‘初始化蓝牙适配器成功’ + JSON.stringify(res))
that.msg = ‘初始化蓝牙适配器成功’
wx.showModal({
title: ‘蓝牙适配情况’,
content:
上一篇:微信小程序 蓝牙实现
微信小程序初始化连接蓝牙
初始化蓝牙适配器
wx.openBluetoothAdapter({
success: function (res) {
console.log(‘初始化蓝牙适配器成功’ + JSON.stringify(res))
that.msg = ‘初始化蓝牙适配器成功’
wx.showModal({
title: ‘蓝牙适配情况’,
content:
上一篇:微信小程序 蓝牙实现