Results 1 to 5 of 5

Thread: How to send text file from bluetooth using QT ?

  1. #1
    Join Date
    Feb 2020
    Posts
    6
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default How to send text file from bluetooth using QT ?

    Hi Team,

    We are using imx6ul development board with yocto build system (QT), requirements is to transfer text file from imx6ul board to android mobile using QT, Which profile should user to transfer or receive text files. Please any one help on this issue.

    1. I am able to sending text file using commands

    DBUS_SESSION_BUS_ADDRESS=unixath=/var/run/dbus/system_bus_socket obexctl
    [obex]# connect xx.xx.xx.xx.xx.xx
    [obex]# send /home/root/test.txt
    [obex]# quit


    Regards,
    Nv.

  2. #2
    Join Date
    Jan 2006
    Location
    Sta. Eugènia de Berga (Vic - Barcelona - Spain)
    Posts
    869
    Thanks
    70
    Thanked 59 Times in 57 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to send text file from bluetooth using QT ?

    Òscar Llarch i Galán

  3. #3
    Join Date
    Feb 2020
    Posts
    6
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to send text file from bluetooth using QT ?

    Quote Originally Posted by ^NyAw^ View Post
    Thank you for the reply,

    I tried above code but no luck, Selected paired device and file and clicking on send button, after that UI is not moving showing file send screen, I tried with laptop and mobile but code is not working.

    Thanks and Regards,
    Nv

  4. #4
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: How to send text file from bluetooth using QT ?

    code is not working
    This could explain why (from the link posted by ^NyAw^):

    The Bluetooth File Transfer example is an application to transfer files via a bluetooth connection. This example does not work on Android due to missing Object Push support.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  5. #5
    Join Date
    Feb 2020
    Posts
    6
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to send text file from bluetooth using QT ?

    Dear d_stranz,

    Thanks for reply,

    Bluetooth paired with my laptop (windows7) and selected required file and clicking on send button but not sending and showing sending window, unable send file due to my laptop is object push profile after scanning my laptop showing as object push profile. How can i send text file from board to mobile using qt, any other method available please let me know.

    Regards,
    Nv.

Similar Threads

  1. How to send text file from linux board to mobile ?
    By naveenkumar in forum Qt Programming
    Replies: 0
    Last Post: 17th February 2020, 10:17
  2. Replies: 1
    Last Post: 16th July 2016, 12:50
  3. Bluetooth file transfer
    By shweta in forum Qt Programming
    Replies: 1
    Last Post: 25th March 2011, 14:17
  4. Bluetooth file transfer.
    By nachikayt borrah in forum Qt Programming
    Replies: 1
    Last Post: 23rd March 2011, 20:35
  5. Send File Via bluetooth
    By IGHOR in forum Qt Programming
    Replies: 2
    Last Post: 30th August 2008, 18:48

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.