O bluetoothctl
é usado apenas para controlar seus dispositivos bluetooth. Para transferir seu arquivo, você deve usar outras ferramentas, por exemplo, obexftp
:
apt install obexftp
obexftp is used to access files on mobile equipment, i.e. cell phones.
With obexftpd you can transfer files between any computers using IrDA,
Bluetooth and TCP/IP
To get the file
bar
from directoryfoo
from the first bluetooth device:
obexftp -b -c foo -g bar
ou usando o MAC_Address:
obexftp -b MAC_address -g bar
To send the file
bar
to directoryfoo
with device on first serial port:
obexftp -t /dev/ttyS0 -c foo -p bar
Ou usando o MAC_Address:
obexftp -b MAC_address -p bar
Opção:
-p source, --put source
-g source, --get source
-b device, --bluetooth device
-t device, --tty device