Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Receive data over Bluetooth and Split
Forum Updated to NodeBB v4.3 + New Features

Receive data over Bluetooth and Split

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 2 Posters 781 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.
  • ahsan737A Offline
    ahsan737A Offline
    ahsan737
    wrote on last edited by
    #1

    Greetings,
    I am a beginner with Qt and android app development.
    I want to receive sensors (a,b,c) data on the android app (developed in Qt) over the Bluetooth connection (Sender module: HC-05). I am able to send data to Arduino using this command (socket->write()), how can I receive data and split it?

    jsulmJ 1 Reply Last reply
    0
    • ahsan737A ahsan737

      Greetings,
      I am a beginner with Qt and android app development.
      I want to receive sensors (a,b,c) data on the android app (developed in Qt) over the Bluetooth connection (Sender module: HC-05). I am able to send data to Arduino using this command (socket->write()), how can I receive data and split it?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @ahsan737 See https://doc.qt.io/qt-5/qtbluetooth-index.html
      What exactly do you mean by "split"?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      ahsan737A 2 Replies Last reply
      0
      • jsulmJ jsulm

        @ahsan737 See https://doc.qt.io/qt-5/qtbluetooth-index.html
        What exactly do you mean by "split"?

        ahsan737A Offline
        ahsan737A Offline
        ahsan737
        wrote on last edited by
        #3

        @jsulm As the app will receive values of 3 sensors separated with a comma i.e. (sensor 1, sensor 2, sensor 3). I want to receive this data and identify values corresponding to each sensor.

        jsulmJ 1 Reply Last reply
        0
        • ahsan737A ahsan737

          @jsulm As the app will receive values of 3 sensors separated with a comma i.e. (sensor 1, sensor 2, sensor 3). I want to receive this data and identify values corresponding to each sensor.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @ahsan737 https://doc.qt.io/qt-5/qbytearray.html#split

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          ahsan737A 1 Reply Last reply
          2
          • jsulmJ jsulm

            @ahsan737 https://doc.qt.io/qt-5/qbytearray.html#split

            ahsan737A Offline
            ahsan737A Offline
            ahsan737
            wrote on last edited by
            #5

            @jsulm thank you so much.

            1 Reply Last reply
            0
            • jsulmJ jsulm

              @ahsan737 See https://doc.qt.io/qt-5/qtbluetooth-index.html
              What exactly do you mean by "split"?

              ahsan737A Offline
              ahsan737A Offline
              ahsan737
              wrote on last edited by
              #6

              @jsulm But I am a beginner, so this Bluetooth documentation is apparently very complicated for me.

              jsulmJ 1 Reply Last reply
              0
              • ahsan737A ahsan737

                @jsulm But I am a beginner, so this Bluetooth documentation is apparently very complicated for me.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @ahsan737 There are examples you can check

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                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 Extensions
                • Unsolved