Hi team,
I’ve been trying to use Bluetooth FTP with ObexFTP to exchange some files per customer request but I’ve been unable to do so, so I kindly ask for some help.
I’ve created a custom image build with obexftp obex-data-server obex-client
and even tho I can perfectly pair and scan, both my laptop and phone don’t seem to be able to interact with the devices through OPP and FTP profiles.
Through the info
command, the OOP service seems to be there, but all obexftp commands are unable to reach.
root@colibri-imx6ull:~# obexftp -b A4:07:B6:A8:0F:E0 -c / -l
Browsing A4:07:B6:A8:0F:E0 ...
Connecting...failed: connect
unknown error on connect
Still trying to connect
Connecting...failed: connect
unknown error on connect
Still trying to connect
Connecting...failed: connect
unknown error on connect
Still trying to connect
Bluetoothctl shows that the ULL seems to briefly connect to the device in question but quickly disconnects again.
I’m no expert in Bluetooth so maybe I’m missing something but it seems that the OOP and FTP are not reaching, and only the audio source is available.
I’ve tried OOP through a laptop and a phone and between themselves work well but I’m unable to retrieve or push from/to the ULL.
I believe at the very least OOP should work while FTP may need additional configuration. Therefore I kindly ask you for some assistance for the below:
- Is there any extra configuration needed for the OPP to work? Kindly let me know if you need something to better track the issue. Could it be related to the 1.0A version and that is not supported?
- Is it possible to change/activate to FTP?
Some of the commands I’ve tried are:
obexftp -b A4:07:B6:A8:0F:E0 -c / -l
obexftp -b A4:07:B6:A8:0F:E0 -g log.txt
obexftp -b A4:07:B6:A8:0F:E0 -c /storage/emulated/0/ -g log.txt
obexftp -b A4:07:B6:A8:0F:E0 -c /storage/emulated/0/ -p evcs-demo_file
obexftp -b A4:07:B6:A8:0F:E0 -p evcs-demo_file
Many thanks and kind regards,
Alvaro.