Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML BluetoothSocket raw data
Qt 6.12 LTS is out! See what's new in the release blog

QML BluetoothSocket raw data

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 574 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Konur
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Konur
      wrote on last edited by
      #2

      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...

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved