uni.setBLEMTU({
deviceId: deviceId,
mtu:200,
success: () => {
uni.setStorageSync('printBytes',200)
resolve(true)
},
fail: () => {
uni.setStorageSync('printBytes',20)
resolve(true)
}
})
设置传输大小后,打印总是会丢一部分数据,不知道啥原因???