Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Connect to GPS bluetooth

Connect to GPS bluetooth

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 3.6k Views
  • 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.
  • N Offline
    N Offline
    Naouali
    wrote on last edited by
    #1

    I m trying to connect to a bluetooth gps device and get location but i couldn't find how to do that ?
    can someone help me please ?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Could you please reveal more details? What is your OS?

      http://anavi.org/

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Naouali
        wrote on last edited by
        #3

        it's ubuntu 10.04
        i was able to connect to the gps device using rfcomm and get the coordinations after reading a file (it's something like /dev/? ) what i want is to manage everything programatically using Qt.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on last edited by
          #4

          Check "the Connectivity API which is part of Qt Mobility":http://doc.qt.nokia.com/qtmobility-1.2.0-beta1/connectivity-api.html and class "QRfcommServer":http://doc.qt.nokia.com/qtmobility-1.2.0-beta1/qrfcommserver.html

          Best regards,
          Leon

          http://anavi.org/

          1 Reply Last reply
          0
          • N Offline
            N Offline
            Naouali
            wrote on last edited by
            #5

            thanks for that.
            Is there a possibility to use bothe "QNmeaPositionInfoSource":http://doc.qt.nokia.com/qtmobility-1.1.0-beta/qnmeapositioninfosource.html and " QRfcommServer":http://doc.qt.nokia.com/qtmobility-1.2.0-beta1/qrfcommserver.html to read data directly from the device and output the result ?
            i checked QNmeaPositionInfoSource but i should set the device to be able to read the data . how can i get the dvice from " QRfcommServer":http://doc.qt.nokia.com/qtmobility-1.2.0-beta1/qrfcommserver.html ?

            1 Reply Last reply
            0
            • L Offline
              L Offline
              leon.anavi
              wrote on last edited by
              #6

              [quote author="Naouali" date="1304452428"]how can i get the dvice from " QRfcommServer":http://doc.qt.nokia.com/qtmobility-1.2.0-beta1/qrfcommserver.html ?[/quote]

              Have a look at "Bluetooth Chat Example":http://doc.qt.nokia.com/qtmobility-1.2.0-beta1/btchat.html to see how to use the Qt Connectivity Bluetooth API and QRfcommServer.

              http://anavi.org/

              1 Reply Last reply
              0
              • N Offline
                N Offline
                Naouali
                wrote on last edited by
                #7

                OK , thanks .
                i ll take a lot at them and come back to you if i get any problem (if you don't mind).

                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