收藏
回答

调用writeBLECharacteristicValue报10004怎么解决?

wx.writeBLECharacteristicValue({

        deviceId: that.data.connectedDeviceId,

        serviceId: app.BLEInformation.writeServiceId,

        characteristicId: app.BLEInformation.writeCharaterId,

        value: buffer,

        success: function (res) {

          console.log('发送成功')

        },

        fail:function(res){

          console.log(res)

        }

      })

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容
问题标签