蓝牙写入失败是什么原因?

小程序 文章 2020-08-28 18:21 655 0 全屏看文

AI助手支持GPT4.0

蓝牙写入失败是什么原因?What is the reason for the Bluetooth write failure?

蓝牙写入失败是什么原因?

报了这个错是什么原因

What is the reason for this mistake

回答:

Zero:
    var hex = str    var typedArray = new Uint8Array(hex.match(/[da-f]{2}/gi).map(function (h) {      return parseInt(h, 16)    }))    var buffer1 = typedArray.buffer    console.log(buffer1)w我是这样写入的  传了buffer1 过去
Complicated:

说明你传的值有问题

微喵网络:

有个参数要传string类型的,你传了undefined

-EOF-

AI助手支持GPT4.0