Qt bluetooth file transfer

Hi,

I’m currently using Colibri iMX6ULL WiFi Bluetooth IT.
I want to make UI for connect Bluetooth and Transfer Files via bluetooth, i almost tried all Qt Bluetooth examples but they are not working.

NOTE: Scaning works but i can’t connect bluetooth and transfer files.

What can i do for this?

Best regards.

Hi @hyaldiz !

Can you please share all your attempts and what were the output/error messages that you faced?

Please also share how you did the setup on each attempt.

The more information you share about what you tried, the better we can help you :slight_smile:

Also, please share:

  • Colibri iMX6ULL version;
  • Carrier Board and version;
  • Which OS and its version.

Best regards,

main.cpp (313 Bytes)
QtCustomBluetooth.pro (612 Bytes)
remoteselector.cpp (8.9 KB)
remoteselector.h (1.7 KB)
remoteselector.ui (2.6 KB)

  • Colibri iMX6ULL 512MB Wi-Fi / Bluetooth IT
  • Iris Rev. 2.0
  • I’m currently Using Linux with YocTo Project, Qt Version 5.14.2, Linux Kernel 5.4.161, Bluez Version 5.55.

I need UI for connect to Bluetooth and transfer files other devices.

When i try to connect Embedded device to mobile device, QBluetoothLocalDevice pairingDisplayPinCode and pairingDisplayConfirmation signals not emiting.

NOTE: I’m requsetPairing() for pairingDisplayPinCode.

NOTE: When deviceConnected signal emits after that immediatly emits deviceDisconnected signal. Mobile device says pairing rejected by Bluez 5.55.

Best regards,

Hi @hyaldiz !

Thanks for the information.

Are you using BSP 5.6.0?

And are you using the downstream or the upstream based image on Colibri iMX6ULL?

Which version of Colibri iMX6ULL 512MB Wi-Fi / Bluetooth IT are you using? (e.g: V1.0A, V1.1A, etc)

Best regards,

Hi,

I hope you are fine henrique.

  • BSP 5.6.0
  • Downstream Image
  • Colibri iMX6ULL 512MB WB IT V1.1A

https://bugreports.qt.io/browse/QTBUG-38401

Best regards,

Dear @hyaldiz,

Thanks for the update. Is this the Reference Multimedia Image or the Reference Minimal Image?

Does Bluetooth work outside of the QT Application? Have you tried it?

Best regard,

Hi @gclaudino.tx ,

Image prepared by Toradex Technical support for us.
Bluetooth works fine outside of the Qt, i connected Bluetooth via Bluez and D-Bus on the Qt but i can’t send-receive files.
I guess the image doesn’t support ObexObjectPush.

Best regards,