スマートフォンデバイスに正常にペアリングして接続しました。携帯電話からノートパソコンにファイルを送信すると、ファイルは転送されません。bluetoothctl
Debian 8.7でファイルの送受信をどのように使用しますか?誰でも私に読書資料を与えることができますか?インターネット上でbluetoothctlに関する多くの情報が見つかりません。
ベストアンサー1
Bluetoothデバイスを制御してbluetoothctl
ファイルを転送するには、次のような他のツールを使用する必要があります。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
最初のBluetoothデバイス
bar
ディレクトリからファイルをインポートするには、次の手順を実行します。foo
obexftp -b -c foo -g bar
またはMAC_Addressを使用してください。
obexftp -b MAC_address -g bar
最初のシリアルポートのデバイスディレクトリ
bar
にファイルを送信するには:foo
obexftp -t /dev/ttyS0 -c foo -p bar
またはMAC_Addressを使用してください。
obexftp -b MAC_address -p bar
オプション:
-p source, --put source
-g source, --get source
-b device, --bluetooth device
-t device, --tty device