Results 1 to 4 of 4

Thread: Reading / Writing from Bluetooth (Maemo)

  1. #1
    Join Date
    Aug 2010
    Posts
    28
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Reading / Writing from Bluetooth (Maemo)

    I would like to read a bluetooth stream on an application that I will be developing for the N900.

    What would be the recommended way to achieve this.

    The data will be textual and numerical.

    Thank you for any advice!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Reading / Writing from Bluetooth (Maemo)

    What do you mean by "stream"? Bluetooth works in terms of profiles and services and not general streams.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Aug 2010
    Posts
    28
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Reading / Writing from Bluetooth (Maemo)

    The device is to send numerical data and occasional textual data to the receiving Qt application.

    Stream in this context may be somewhat of a misnomer, so I should rephrase the question,

    What would be the best way, under a Qt application, to access the data sent from a bluetooth device.

    I am not needing to create the connection from within the application as the phone/device will be already paired and the connection will be active. I just would like to read the data that it sends.


    Added after 1 15 minutes:


    Turns out that the correct search term was needed.

    http://doc.qt.nokia.com/qtmobility-1.2/btchat.html
    Last edited by Gavin Harper; 21st January 2011 at 06:11.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Reading / Writing from Bluetooth (Maemo)

    Bear in mind this is experimental API and your N900 doesn't have support for it yet.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Reading/writing QTableWidget
    By Salazaar in forum Newbie
    Replies: 15
    Last Post: 23rd June 2007, 13:20
  2. Function for reading and writing
    By merry in forum Newbie
    Replies: 2
    Last Post: 30th May 2007, 08:30
  3. serialising reading writing
    By TheKedge in forum General Programming
    Replies: 4
    Last Post: 5th April 2007, 17:17
  4. reading/writing to file
    By QiT in forum Newbie
    Replies: 2
    Last Post: 11th August 2006, 17:21
  5. Replies: 6
    Last Post: 27th February 2006, 12:47

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.