btInStream = bluetoothSocket.getInputStream();
btOutStream = bluetoothSocket.getOutputStream();
btOutStream.write(byteData); 没有报错,但设备上没有接收到数据
btInStream = bluetoothSocket.getInputStream();
btOutStream = bluetoothSocket.getOutputStream();
btOutStream.write(byteData); 没有报错,但设备上没有接收到数据
1 个回复
徐州老铁 - 开发者
编码格式不对,你发这个试试 outputStream.write([0x23, 0x23, 0x02, 0x00, 0x00, 0x02])