Linux Bluetooth Obex
From Variscite Wiki
Bluetooth
Sending Files using OBEX Protocol
To send a file to a paired device use obexctl tool.
root@imx6ul-var-dart:~# obexctl [NEW] Client /org/bluez/obex [obex]# connect 00:1A:7D:DA:71:0B Attempting to connect to 00:1A:7D:DA:71:0B [NEW] Session /org/bluez/obex/client/session0 [default] [NEW] ObjectPush /org/bluez/obex/client/session0 Connection successful [00:1A:7D:DA:71:0B]# send /etc/fstab Attempting to send /etc/fstab to /org/bluez/obex/client/session0 [NEW] Transfer /org/bluez/obex/client/session0/transfer0 Transfer /org/bluez/obex/client/session0/transfer0 Status: queued Name: fstab Size: 637 Filename: /etc/fstab Session: /org/bluez/obex/client/session0 [CHG] Transfer /org/bluez/obex/client/session0/transfer0 Status: complete [DEL] Transfer /org/bluez/obex/client/session0/transfer0