Debian jessieでbluetoothctl経由でファイルを送受信する

Debian jessieでbluetoothctl経由でファイルを送受信する

スマートフォンデバイスに正常にペアリングして接続しました。携帯電話からノートパソコンにファイルを送信すると、ファイルは転送されません。bluetoothctlDebian 8.7でファイルの送受信をどのように使用しますか?誰でも私に読書資料を与えることができますか?インターネット上でbluetoothctlに関する多くの情報が見つかりません。

ベストアンサー1

Bluetoothデバイスを制御してbluetoothctlファイルを転送するには、次のような他のツールを使用する必要があります。obexftp:

apt install obexftp

man 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

おすすめ記事