解决方案: 找另外一台电脑,用微信登录 小程序开发工具。然后,在原来电脑上再次微信登录 微信开发者工具
真机调试提示,房间已在调试中,不能再次加入?[图片]不知道在真机调试的过程中触发了什么别的误操作,这边PC端的控制台还没关掉,真机这边关掉了,然后想再次调试就出现了这个问题.,重启再来还是不行,有没有什么解决的办法和经验?
2021-01-09同样出现这个问题,因为数据是20字节,还说字节length错误
BLE下ISO使用writeBLECharacteristicValue失败同样的代码,在安卓手机可以正常调用writeBLECharacteristicValue向蓝牙设备写入,但是在iphone手机(版本11.2.2)上调用,返回错误编码10008,错误信息“the value's length is invalid”,请大佬告知如何解决。代码如下: wx.notifyBLECharacteristicValueChange({ state: true, deviceId: deviceId, serviceId: notifyserviceId, characteristicId: notifycharacteristicId, success: function (res) { console.log("notify success") setTimeout(function () { that.writeBLECharacteristicValue(deviceId, writeserviceId, writecharacteristicId) }, 2000); }, fail: function (res) { console.log("notify fail:" + res.errMsg) }, complete : function() { wx.onBLECharacteristicValueChange(function (res) { console.log(res) }); } }) }, writeBLECharacteristicValue: function (deviceId, writeserviceId, writecharacteristicId) { var that = this let buffer = new ArrayBuffer(1) let dataView = new DataView(buffer) dataView.setUint8(0, 0) wx.writeBLECharacteristicValue({ deviceId: deviceId, serviceId: writeserviceId, characteristicId: writecharacteristicId, value: buffer, success: function (res) { console.log('write success') }, fail(res) { console.log('write fail') console.log(res) } }) },
2020-06-01