微信小程序、JavaScript连接蓝牙ble接口封装
- handleErr
const handleErr = function (err) {
if (err.errCode == 10000 || err.errCode == 10001) {
wx.showModal({
showCancel: false,
title: '错误',
上一篇:微信小程序蓝牙发送及接收信息
下一篇:#微信小程序# 蓝牙模块
const handleErr = function (err) {
if (err.errCode == 10000 || err.errCode == 10001) {
wx.showModal({
showCancel: false,
title: '错误',
上一篇:微信小程序蓝牙发送及接收信息
下一篇:#微信小程序# 蓝牙模块