Important: Please read the Qt Code of Conduct -

QML BluetoothSocket raw data

  • Hi everyone. Is it possible to send raw data, namely a byte, instead of string on BluetoothSocket? Using String.fromCharCode works fine until raw byte is 127 then starts to send 2 byte strings which arduino doesn't recognize. I know i can program arduino to accept it but i would rather fix it in qml. Thanks

  • As it turns out, you can't. It says at the detailed description of BluetoothSocket QML Type that in order to send raw data i sholud use c++ counterpart QBluetoothSocket. Thanks anyways...

Log in to reply