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=unix:path=/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.
Re: How to send text file from bluetooth using QT ?
Re: How to send text file from bluetooth using QT ?
Quote:
Originally Posted by
^NyAw^
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
Re: How to send text file from bluetooth using QT ?
Quote:
code is not working
This could explain why (from the link posted by ^NyAw^):
Quote:
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.
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.