wx.createBLEConnection报错,连接失败,怎么回事?
调用这个api wx.createBLEConnection报错:errno: 101, errCode: 10013, errMsg: "createBLEConnection:fail:invalid data"这是什么情况导致的? deviceId值一直就有。客户老是反应打印失败 代码如下:new Promise((resolve, reject) => { console.log("打印机ID:"); console.log(that.data.KBJSON.DYJID); wx.createBLEConnection({ deviceId: that.data.KBJSON.DYJID, success: function (res) { wx.vibrateShort(); //手机震动 resolve(res); }, fail: function (res) { console.log(res); billcommon.HideLoad(); Promise.break; } }) })