QString change to QByte array appearing error code,
it is data:BB 00 39 00 09 00 00 00 00 01 00 02 00 06 4B 7E
it is print result: BLEInterface::write: "\xBB\x00""9\x00\t\x00\x00\x00\x00\x01\x00\x02\x00\x06K~"
I tried some ways,but It can't be solved;
it is code :data = QByteArray::fromHex(ui->sendTextEdit->toPlainText().toLatin1());
it is function : void MainWindow::on_sendButton_clicked();
QString change to QByte array appearing error code, it is data:BB 00 39 00 09 00 00 00 00 01 00 02 00 06 4B 7E it is print result: BLEInterface::write: "\xBB\x00""9\x00\t\x00\x00\x00\x00\x01\x00\x02\x00\x06K~" I tried some ways,but It can't be solved;
it is code :data = QByteArray::fromHex(ui->sendTextEdit->toPlainText().toLatin1());
it is function : void MainWindow::on_sendButton_clicked();