AI助手支持GPT4.0
蓝牙写入失败是什么原因?What is the reason for the Bluetooth write failure?
报了这个错是什么原因
What is the reason for this mistake
回答:
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 过去
说明你传的值有问题
有个参数要传string类型的,你传了undefined
原文出处:蓝牙写入失败是什么原因?
群主管理都是支付大佬
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 过去