Bluetooth Connection and File Transfer Issue in DragonBoard410c


#1

Hello,

We have dragonboard 410c with openembedded 17.09 prebuilt images flashed. We tried to connect to android mobile via bluetooth using bluetoothctl utility. Device discovery and pairing is successful, but we are not able to connect to the device.

Following are the logs:-

root@dragonboard-410c:~# bluetoothctl
[NEW] Controller 02:00:8A:E0:2E:79 dragonboard-410c [default]
[bluetooth]# power on
Changing power on succeeded
[CHG] Controller 02:00:8A:E0:2E:79 Powered: yes
[bluetooth]# scan on
Discovery started
[CHG] Controller 02:00:8A:E0:2E:79 Discovering: yes
[NEW] Device 98:0C:A5:13:D9:DC Lenovo K4 note
[bluetooth]# pair 98:0C:A5:13:D9:DC
Attempting to pair with 98:0C:A5:13:D9:DC
[CHG] Device 98:0C:A5:13:D9:DC Connected: yes
[CHG] Device 98:0C:A5:13:D9:DC Modalias: bluetooth:v000Fp1200d1436
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001105-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001112-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001115-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001116-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 0000111f-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 0000112f-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001132-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC Paired: yes
Pairing successful
[CHG] Device 98:0C:A5:13:D9:DC Connected: no
[bluetooth]# connect 98:0C:A5:13:D9:DC
Attempting to connect to 98:0C:A5:13:D9:DC
Failed to connect: org.bluez.Error.Failed
[CHG] Device 98:0C:A5:13:D9:DC RSSI: -100
[CHG] Device 98:0C:A5:13:D9:DC RSSI: -70
[bluetooth]# trust 98:0C:A5:13:D9:DC
[CHG] Device 98:0C:A5:13:D9:DC Trusted: yes
Changing 98:0C:A5:13:D9:DC trust succeeded
[bluetooth]# connect 98:0C:A5:13:D9:DC
Attempting to connect to 98:0C:A5:13:D9:DC
Failed to connect: org.bluez.Error.Failed
[bluetooth]# info 98:0C:A5:13:D9:DC
Device 98:0C:A5:13:D9:DC
Name: Lenovo K4 note
Alias: Lenovo K4 note
Class: 0x5a020c
Icon: phone
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Headset AG (00001112-0000-1000-8000-00805f9b34fb)
UUID: PANU (00001115-0000-1000-8000-00805f9b34fb)
UUID: NAP (00001116-0000-1000-8000-00805f9b34fb)
UUID: Handsfree Audio Gateway (0000111f-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
Modalias: bluetooth:v000Fp1200d1436
RSSI: -70
[CHG] Device 98:0C:A5:13:D9:DC RSSI: -59
[bluetooth]# show 02:00:8A:E0:2E:79
Controller 02:00:8A:E0:2E:79
Name: dragonboard-410c
Alias: dragonboard-410c
Class: 0x000000
Powered: yes
Discoverable: no
Pairable: yes
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0529
Discovering: yes
[CHG] Device 98:0C:A5:13:D9:DC RSSI: -67

Following are kernel logs:-

root@dragonboard-410c:~# dmesg | grep -i “bluetooth”
[ 7.025239] Bluetooth: Core ver 2.22
[ 7.028038] Bluetooth: HCI device and connection manager initialized
[ 7.032254] Bluetooth: HCI socket layer initialized
[ 7.038859] Bluetooth: L2CAP socket layer initialized
[ 7.043474] Bluetooth: SCO socket layer initialized
[ 7.352870] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.352893] Bluetooth: BNEP filters: protocol multicast
[ 7.357397] Bluetooth: BNEP socket layer initialized

rfkill also list the interface as unblocked:-

root@dragonboard-410c:~# rfkill list all
0: hci0: bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: wlan
Soft blocked: no
Hard blocked: no
root@dragonboard-410c:~#

Please let us know if we are missing something.

Thanks


#2

bluetoothctl is for device configuration/pairing. what you typically need in that case is the obexd daemon for obex profile implementation and obexctl as obex client to test transfer. You need dbus-launch as well since obexd request a dbus session bus.

So once the device is paired (with bluetoothctl) you can use obexctl:

$ export $(dbus-launch)
$ /usr/lib/bluetooth/obexd &
$ obexctl
[obex]# connect 98:0C:A5:13:D9:DC
[obex]# send /home/linaro/test.jpg

You also have several python examples in the bluez git if you want to interface directly with the obex interface (without using obexctl).


#3

Hello,

We also faced similar issue. We were able to solve it using above mentioned solution. We also tried file transfer using obexftp. We were able to send the file but not able to retrieve from remote device. Obexctl pull command also didn’t work. At the remote side we were using android phone with obex ftp profile support.

File sending logs:-

~# obexftp -b  00:7F:00:11:DC:E3 -B 20 --put test.txt 
Connecting..\done
Tried to connect for 180ms
Sending "test.txt"...|done
Disconnecting../done

File retrieval logs:-

obexftp -b 00:7F:00:11:DC:E3 -B 20 --get /storage /emulated/0/720p60.mp4
Connecting…\done
Tried to connect for 68ms
Receiving “/storage/emulated/0/720p60.mp4”… Sending “”…|Sending “storage”…/Sending “emulated”…-Sending “0”…\done |failed: /storage/emulated/0/720p60.mp4
Disconnecting…/done

Are there some additional parameters to be added in the command?

Thanks and Regards,
Hiren


#4

Could you please provide a btmon sniff for the file retrieval issue.


#5

Hi Loic,

Thanks for the response. Btmon sniff for file retrieval is as follows:

root@db-410:~# btmon
Bluetooth monitor ver 5.41
= Note: Linux version 4.9.56+linaro (aarch64) 0.510425
= Note: Bluetooth subsystem version 2.22 0.510446
= New Index: 02:00:29:F2:9A:50 (Primary,Unknown,hci0) [hci0] 0.510453
= Open Index: 02:00:29:F2:9A:50 [hci0] 0.510460
= Index Info: 02:00:29:F2:9A:50 (Qualcomm) [hci0] 0.510467

  • Unknown packet (code 14 len 30) 0.510476
    01 00 00 00 02 00 01 0e 00 01 00 00 00 10 62 6c …bl
    75 65 74 6f 6f 74 68 64 00 00 00 00 00 00 uetoothd…
  • Unknown packet (code 14 len 30) 0.510645
    02 00 00 00 02 00 01 0e 00 01 00 00 00 10 62 74 …bt
    6d 6f 6e 00 00 00 00 00 00 00 00 00 00 00 mon…

HCI Event: Connect Request (0x04) plen 10 [hci0] 4.606006
Address: 02:00:4D:B0:CC:C8 (OUI 02-00-4D)
Class: 0x100000
Major class: Miscellaneous
Minor class: 0x00
Object Transfer (v-Inbox, v-Folder)
Link type: ACL (0x01)
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7 [hci0] 4.606213
Address: 02:00:4D:B0:CC:C8 (OUI 02-00-4D)
Role: Master (0x00)
HCI Event: Command Status (0x0f) plen 4 [hci0] 4.606824
Accept Connection Request (0x01|0x0009) ncmd 1
Status: Success (0x00)
HCI Event: Role Change (0x12) plen 8 [hci0] 4.859729
Status: Success (0x00)
Address: 02:00:4D:B0:CC:C8 (OUI 02-00-4D)
Role: Master (0x00)
HCI Event: Connect Complete (0x03) plen 11 [hci0] 4.864004
Status: Success (0x00)
Handle: 8
Address: 02:00:4D:B0:CC:C8 (OUI 02-00-4D)
Link type: ACL (0x01)
Encryption: Disabled (0x00)
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2 [hci0] 4.864586
Handle: 8
HCI Event: Command Status (0x0f) plen 4 [hci0] 4.864965
Read Remote Supported Features (0x01|0x001b) ncmd 1
Status: Success (0x00)
HCI Event: Read Remote Supported Features (0x0b) plen 11 [hci0] 4.865026
Status: Success (0x00)
Handle: 8
Features: 0xff 0xfe 0x8f 0xfe 0xd8 0x3f 0x5b 0x87
3 slot packets
5 slot packets
Encryption
Slot offset
Timing accuracy
Role switch
Hold mode
Sniff mode
Power control requests
Channel quality driven data rate (CQDDR)
SCO link
HV2 packets
HV3 packets
u-law log synchronous data
A-law log synchronous data
CVSD synchronous data
Paging parameter negotiation
Power control
Transparent synchronous data
Broadcast Encryption
Enhanced Data Rate ACL 2 Mbps mode
Enhanced Data Rate ACL 3 Mbps mode
Enhanced inquiry scan
Interlaced inquiry scan
Interlaced page scan
RSSI with inquiry results
Extended SCO link (EV3 packets)
AFH capable slave
AFH classification slave
LE Supported (Controller)
3-slot Enhanced Data Rate ACL packets
5-slot Enhanced Data Rate ACL packets
Sniff subrating
Pause encryption
AFH capable master
AFH classification master
Enhanced Data Rate eSCO 2 Mbps mode
Extended Inquiry Response
Simultaneous LE and BR/EDR (Controller)
Secure Simple Pairing
Encapsulated PDU
Non-flushable Packet Boundary Flag
Link Supervision Timeout Changed Event
Inquiry TX Power Level
Enhanced Power Control
Extended features
< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3 [hci0] 4.865149
Handle: 8
Page: 1
HCI Event: Command Status (0x0f) plen 4 [hci0] 4.865511
Read Remote Extended Features (0x01|0x001c) ncmd 1
Status: Success (0x00)
HCI Event: Read Remote Extended Features (0x23) plen 13 [hci0] 4.865536
Status: Success (0x00)
Handle: 8
Page: 1/2
Features: 0x0b 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Secure Simple Pairing (Host Support)
LE Supported (Host)
Secure Connections (Host Support)
< HCI Command: Remote Name Request (0x01|0x0019) plen 10 [hci0] 4.865771
Address: 02:00:4D:B0:CC:C8 (OUI 02-00-4D)
Page scan repetition mode: R2 (0x02)
Page scan mode: Mandatory (0x00)
Clock offset: 0x0000
< ACL Data TX: Handle 8 flags 0x00 dlen 10 [hci0] 4.865805
L2CAP: Information Request (0x0a) ident 1 len 2
Type: Extended features supported (0x0002)
HCI Event: Command Status (0x0f) plen 4 [hci0] 4.866257
Remote Name Request (0x01|0x0019) ncmd 1
Status: Success (0x00)
HCI Event: Page Scan Repetition Mode Change (0x20) plen 7 [hci0] 4.882449
Address: 02:00:4D:B0:CC:C8 (OUI 02-00-4D)
Page scan repetition mode: R1 (0x01)
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 4.893041
Num handles: 1
Handle: 8
Count: 1
HCI Event: Remote Name Req Complete (0x07) plen 255 [hci0] 4.898736
Status: Success (0x00)
Address: 02:00:4D:B0:CC:C8 (OUI 02-00-4D)
Name: db-410

  • Unknown packet (code 17 len 37) [hci0] 4.898859
    02 00 00 00 0b 00 c8 cc b0 4d 00 02 00 00 00 00 …M…
    00 12 00 0c 09 65 72 61 67 6f 6e 2d 34 31 30 65 …db-410
    04 0d 00 00 10 …
  • Unknown packet (code 17 len 37) [hci0] 4.898859
    01 00 00 00 0b 00 c8 cc b0 4d 00 02 00 00 00 00 …M…
    00 12 00 0c 09 65 72 61 67 6f 6e 2d 34 31 30 65 …db-410
    04 0d 00 00 10 …
    @ Device Connected: 02:00:4D:B0:CC:C8 (0) flags 0x0000
    0c 09 65 72 61 67 6f 6e 2d 34 31 30 65 04 0d 00 …db-410…
    00 10 …

HCI Event: Max Slots Change (0x1b) plen 3 [hci0] 5.017416
Handle: 8
Max slots: 5
HCI Event: Link Key Request (0x17) plen 6 [hci0] 5.017561
Address: 02:00:4D:B0:CC:C8 (OUI 02-00-4D)
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22 [hci0] 5.017657
Address: 02:00:4D:B0:CC:C8 (OUI 02-00-4D)
Link key: 8bb91f6f873257bf1f9cabe638375117
HCI Event: Command Complete (0x0e) plen 10 [hci0] 5.017911
Link Key Request Reply (0x01|0x000b) ncmd 1
Status: Success (0x00)
Address: 02:00:4D:B0:CC:C8 (OUI 02-00-4D)
HCI Event: Encryption Change (0x08) plen 4 [hci0] 5.047474
Status: Success (0x00)
Handle: 8
Encryption: Enabled with AES-CCM (0x02)
< HCI Command: Read Encryption Key Size (0x05|0x0008) plen 2 [hci0] 5.047642
Handle: 8
HCI Event: Command Complete (0x0e) plen 7 [hci0] 5.047875
Read Encryption Key Size (0x05|0x0008) ncmd 1
Status: Success (0x00)
Handle: 8
Key size: 16
ACL Data RX: Handle 8 flags 0x02 dlen 10 [hci0] 5.048657
L2CAP: Information Request (0x0a) ident 1 len 2
Type: Extended features supported (0x0002)
< ACL Data TX: Handle 8 flags 0x00 dlen 16 [hci0] 5.049001
L2CAP: Information Response (0x0b) ident 1 len 8
Type: Extended features supported (0x0002)
Result: Success (0x0000)
Features: 0x000002b8
Enhanced Retransmission Mode
Streaming Mode
FCS Option
Fixed Channels
Unicast Connectionless Data Reception
ACL Data RX: Handle 8 flags 0x02 dlen 16 [hci0] 5.049935
L2CAP: Information Response (0x0b) ident 1 len 8
Type: Extended features supported (0x0002)
Result: Success (0x0000)
Features: 0x000002b8
Enhanced Retransmission Mode
Streaming Mode
FCS Option
Fixed Channels
Unicast Connectionless Data Reception
< ACL Data TX: Handle 8 flags 0x00 dlen 10 [hci0] 5.050117
L2CAP: Information Request (0x0a) ident 2 len 2
Type: Fixed channels supported (0x0003)
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.052993
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 10 [hci0] 5.054876
L2CAP: Information Request (0x0a) ident 2 len 2
Type: Fixed channels supported (0x0003)
< ACL Data TX: Handle 8 flags 0x00 dlen 20 [hci0] 5.055005
L2CAP: Information Response (0x0b) ident 2 len 12
Type: Fixed channels supported (0x0003)
Result: Success (0x0000)
Channels: 0x0000000000000086
L2CAP Signaling (BR/EDR)
Connectionless reception
Security Manager (BR/EDR)
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.055492
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 20 [hci0] 5.064878
L2CAP: Information Response (0x0b) ident 2 len 12
Type: Fixed channels supported (0x0003)
Result: Success (0x0000)
Channels: 0x0000000000000086
L2CAP Signaling (BR/EDR)
Connectionless reception
Security Manager (BR/EDR)
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.065634
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 12 [hci0] 5.067404
L2CAP: Connection Request (0x02) ident 3 len 4
PSM: 3 (0x0003)
Source CID: 64
< ACL Data TX: Handle 8 flags 0x00 dlen 16 [hci0] 5.067751
L2CAP: Connection Response (0x03) ident 3 len 8
Destination CID: 64
Source CID: 64
Result: Connection successful (0x0000)
Status: No further information available (0x0000)
< ACL Data TX: Handle 8 flags 0x00 dlen 27 [hci0] 5.067779
L2CAP: Configure Request (0x04) ident 3 len 19
Destination CID: 64
Flags: 0x0000
Option: Maximum Transmission Unit (0x01) [mandatory]
MTU: 1013
Option: Retransmission and Flow Control (0x04) [mandatory]
Mode: Basic (0x00)
TX window size: 0
Max transmit: 0
Retransmission timeout: 0
Monitor timeout: 0
Maximum PDU size: 0
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.071751
Num handles: 1
Handle: 8
Count: 1
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.074238
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 27 [hci0] 5.074879
L2CAP: Configure Request (0x04) ident 4 len 19
Destination CID: 64
Flags: 0x0000
Option: Maximum Transmission Unit (0x01) [mandatory]
MTU: 1013
Option: Retransmission and Flow Control (0x04) [mandatory]
Mode: Basic (0x00)
TX window size: 0
Max transmit: 0
Retransmission timeout: 0
Monitor timeout: 0
Maximum PDU size: 0
< ACL Data TX: Handle 8 flags 0x00 dlen 18 [hci0] 5.075029
L2CAP: Configure Response (0x05) ident 4 len 10
Source CID: 64
Flags: 0x0000
Result: Success (0x0000)
Option: Maximum Transmission Unit (0x01) [mandatory]
MTU: 1013
ACL Data RX: Handle 8 flags 0x02 dlen 18 [hci0] 5.076148
L2CAP: Configure Response (0x05) ident 3 len 10
Source CID: 64
Flags: 0x0000
Result: Success (0x0000)
Option: Maximum Transmission Unit (0x01) [mandatory]
MTU: 1013
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.077985
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 8 [hci0] 5.078636
Channel: 64 len 4 [PSM 3 mode 0] {chan 0}
RFCOMM: Set Async Balance Mode (SABM) (0x2f)
Address: 0x03 cr 1 dlci 0x00
Control: 0x3f poll/final 1
Length: 0
FCS: 0x1c
< ACL Data TX: Handle 8 flags 0x00 dlen 8 [hci0] 5.078842
Channel: 64 len 4 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Ack (UA) (0x63)
Address: 0x03 cr 1 dlci 0x00
Control: 0x73 poll/final 1
Length: 0
FCS: 0xd7
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.081734
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 18 [hci0] 5.084870
Channel: 64 len 14 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x03 cr 1 dlci 0x00
Control: 0xef poll/final 0
Length: 10
FCS: 0x70
MCC Message type: DLC Parameter Negotiation CMD (0x20)
Length: 8
dlci 12 frame_type 0 credit_flow 15 pri 7
ack_timer 0 frame_size 1008 max_retrans 0 credits 7
< ACL Data TX: Handle 8 flags 0x00 dlen 18 [hci0] 5.085092
Channel: 64 len 14 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x01 cr 0 dlci 0x00
Control: 0xef poll/final 0
Length: 10
FCS: 0xaa
MCC Message type: DLC Parameter Negotiation RSP (0x20)
Length: 8
dlci 12 frame_type 0 credit_flow 14 pri 7
ack_timer 0 frame_size 1008 max_retrans 0 credits 7
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.087989
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 8 [hci0] 5.088616
Channel: 64 len 4 [PSM 3 mode 0] {chan 0}
RFCOMM: Set Async Balance Mode (SABM) (0x2f)
Address: 0x33 cr 1 dlci 0x0c
Control: 0x3f poll/final 1
Length: 0
FCS: 0x43
< ACL Data TX: Handle 8 flags 0x00 dlen 8 [hci0] 5.088844
Channel: 64 len 4 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Ack (UA) (0x63)
Address: 0x33 cr 1 dlci 0x0c
Control: 0x73 poll/final 1
Length: 0
FCS: 0x88
< ACL Data TX: Handle 8 flags 0x00 dlen 12 [hci0] 5.088871
Channel: 64 len 8 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x01 cr 0 dlci 0x00
Control: 0xef poll/final 0
Length: 4
FCS: 0xaa
MCC Message type: Modem Status Command CMD (0x38)
Length: 2
dlci 12
fc 0 rtc 1 rtr 1 ic 0 dv 1
ACL Data RX: Handle 8 flags 0x02 dlen 12 [hci0] 5.092389
Channel: 64 len 8 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x03 cr 1 dlci 0x00
Control: 0xef poll/final 0
Length: 4
FCS: 0x70
MCC Message type: Modem Status Command CMD (0x38)
Length: 2
dlci 12
fc 0 rtc 1 rtr 1 ic 0 dv 1
< ACL Data TX: Handle 8 flags 0x00 dlen 12 [hci0] 5.092795
Channel: 64 len 8 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x01 cr 0 dlci 0x00
Control: 0xef poll/final 0
Length: 4
FCS: 0xaa
MCC Message type: Modem Status Command RSP (0x38)
Length: 2
dlci 12
fc 0 rtc 1 rtr 1 ic 0 dv 1
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.093010
Num handles: 1
Handle: 8
Count: 1
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.094261
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 12 [hci0] 5.097367
Channel: 64 len 8 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x03 cr 1 dlci 0x00
Control: 0xef poll/final 0
Length: 4
FCS: 0x70
MCC Message type: Modem Status Command RSP (0x38)
Length: 2
dlci 12
fc 0 rtc 1 rtr 1 ic 0 dv 1
< ACL Data TX: Handle 8 flags 0x00 dlen 9 [hci0] 5.097662
Channel: 64 len 5 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x31 cr 0 dlci 0x0c
Control: 0xff poll/final 1
Length: 0
FCS: 0x89
Credits: 33
89 .
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.098127
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 9 [hci0] 5.098662
Channel: 64 len 5 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x33 cr 1 dlci 0x0c
Control: 0xff poll/final 1
Length: 0
FCS: 0x53
Incoming request 00
obex_event() OBEX_EV_REQDONE: obex_rsp=00
Credits: 33
53 S
ACL Data RX: Handle 8 flags 0x02 dlen 34 [hci0] 5.099887
Channel: 64 len 30 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x33 cr 1 dlci 0x0c
Control: 0xef poll/final 0
Length: 26
FCS: 0x4f
80 00 1a 10 00 04 00 46 00 13 f9 ec 7b c4 95 3c …F…{…<
11 d2 98 4e 52 54 00 dc 9e 09 4f …NRT…O
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.100489
Num handles: 1
Handle: 8
Count: 1
< ACL Data TX: Handle 8 flags 0x00 dlen 39 [hci0] 5.101263
Channel: 64 len 35 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x31 cr 0 dlci 0x0c
Control: 0xef poll/final 0
Length: 31
FCS: 0x95
a0 00 1f 10 00 04 00 cb 00 00 00 02 4a 00 13 f9 …J…
ec 7b c4 95 3c 11 d2 98 4e 52 54 00 dc 9e 09 95 .{…<…NRT…
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.104239
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 18 [hci0] 5.158618
Incoming request 05
Received SETPATH command
nohdr data: 2
set_server_path() Skipped header cb
obex_event() OBEX_EV_REQDONE: obex_rsp=00
Channel: 64 len 14 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x33 cr 1 dlci 0x0c
Control: 0xef poll/final 0
Length: 10
FCS: 0x4f
85 00 0a 02 00 cb 00 00 00 02 4f …O
< ACL Data TX: Handle 8 flags 0x00 dlen 11 [hci0] 5.159660
Channel: 64 len 7 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x31 cr 0 dlci 0x0c
Control: 0xef poll/final 0
Length: 3
FCS: 0x95
a0 00 03 95 …
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.162994
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 18 [hci0] 5.164870
Channel: 64 len 14 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Incoming request 05
Received SETPATH command
nohdr data: 2
set_server_path() Skipped header cb
Address: 0x33 cr 1 dlci 0x0c
Control: 0xef poll/final 0
Length: 10
FCS: 0x4f
85 00 0a 02 00 cb 00 00 00 02 4f …O
< ACL Data TX: Handle 8 flags 0x00 dlen 11 [hci0] 5.166902
Channel: 64 len 7 [PSM 3 mode 0] {chan 0}
obex_event() OBEX_EV_REQDONE: obex_rsp=00
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x31 cr 0 dlci 0x0c
Control: 0xef poll/final 0
Length: 3
FCS: 0x95
a0 00 03 95 …
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.169242
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 18 [hci0] 5.169868
Channel: 64 len 14 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x33 cr 1 dlci 0x0c
Control: 0xef poll/final 0
Length: 10
FCS: 0x4f
85 00 0a 02 00 cb 00 00 00 02 4f …O
Incoming request 05
Received SETPATH command
nohdr data: 2
set_server_path() Skipped header cb
< ACL Data TX: Handle 8 flags 0x00 dlen 11 [hci0] 5.171796
Channel: 64 len 7 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x31 cr 0 dlci 0x0c
Control: 0xef poll/final 0
Length: 3
FCS: 0x95
a0 00 03 95 …
obex_event() OBEX_EV_REQDONE: obex_rsp=00
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.174238
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 16 [hci0] 5.177386
Incoming request 03
get_server()
Channel: 64 len 12 [PSM 3 mode 0] {chan 0}
get_server() Skipped header cb
get_server() Got a GET without a name-header!
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x33 cr 1 dlci 0x0c
Control: 0xef poll/final 0
Length: 8
FCS: 0x4f
83 00 08 cb 00 00 00 02 4f …O
obex_event() OBEX_EV_REQDONE: obex_rsp=00
< ACL Data TX: Handle 8 flags 0x00 dlen 11 [hci0] 5.178838
Channel: 64 len 7 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x31 cr 0 dlci 0x0c
Control: 0xef poll/final 0
Length: 3
FCS: 0x95
c4 00 03 95 …
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.181751
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 16 [hci0] 5.182383
Channel: 64 len 12 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x33 cr 1 dlci 0x0c
Incoming request 01
Control: 0xef poll/final 0
Length: 8
FCS: 0x4f
81 00 08 cb 00 00 00 02 4f …O
< ACL Data TX: Handle 8 flags 0x00 dlen 11 [hci0] 5.183176
Channel: 64 len 7 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
Address: 0x31 cr 0 dlci 0x0c
Control: 0xef poll/final 0
Length: 3
FCS: 0x95
obex_event() OBEX_EV_REQDONE: obex_rsp=00
a0 00 03 95 …
ACL Data RX: Handle 8 flags 0x02 dlen 8 [hci0] 5.187372
failed: 0
Channel: 64 len 4 [PSM 3 mode 0] {chan 0}
RFCOMM: Disconnect (DISC) (0x43)
Address: 0x33 cr 1 dlci 0x0c
Control: 0x53 poll/final 1
Length: 0
FCS: 0xa2
< ACL Data TX: Handle 8 flags 0x00 dlen 8 [hci0] 5.187642
Channel: 64 len 4 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Ack (UA) (0x63)
Address: 0x33 cr 1 dlci 0x0c
Control: 0x73 poll/final 1
Length: 0
FCS: 0x88
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.187998
Num handles: 1
Handle: 8
Count: 1
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.190485
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 8 [hci0] 5.192359
Channel: 64 len 4 [PSM 3 mode 0] {chan 0}
RFCOMM: Disconnect (DISC) (0x43)
Address: 0x03 cr 1 dlci 0x00
Control: 0x53 poll/final 1
Length: 0
FCS: 0xfd
< ACL Data TX: Handle 8 flags 0x00 dlen 8 [hci0] 5.192642
Channel: 64 len 4 [PSM 3 mode 0] {chan 0}
RFCOMM: Unnumbered Ack (UA) (0x63)
Address: 0x03 cr 1 dlci 0x00
Control: 0x73 poll/final 1
Length: 0
FCS: 0xd7
< ACL Data TX: Handle 8 flags 0x00 dlen 12 [hci0] 5.192671
L2CAP: Disconnection Request (0x06) ident 4 len 4
Destination CID: 64
Source CID: 64
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.195505
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 12 [hci0] 5.197382
L2CAP: Disconnection Request (0x06) ident 5 len 4
Destination CID: 64
Source CID: 64
< ACL Data TX: Handle 8 flags 0x00 dlen 12 [hci0] 5.197656
L2CAP: Disconnection Response (0x07) ident 5 len 4
Destination CID: 64
Source CID: 64
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.198142
Num handles: 1
Handle: 8
Count: 1
ACL Data RX: Handle 8 flags 0x02 dlen 12 [hci0] 5.199891
L2CAP: Disconnection Response (0x07) ident 4 len 4
Destination CID: 64
Source CID: 64
HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 5.200496
Num handles: 1
Handle: 8
Count: 1
obexftpd reset
Waiting for connection…
HCI Event: Disconnect Complete (0x05) plen 4 [hci0] 7.374386
Status: Success (0x00)
Handle: 8
Reason: Remote User Terminated Connection (0x13)

  • Unknown packet (code 17 len 14) [hci0] 7.374534
    02 00 00 00 0c 00 c8 cc b0 4d 00 02 00 03 …M…
  • Unknown packet (code 17 len 14) [hci0] 7.374534
    01 00 00 00 0c 00 c8 cc b0 4d 00 02 00 03 …M…
    @ Device Disconnected: 02:00:4D:B0:CC:C8 (0) reason 3

Thanks.


#6

Which tool are you using for FTP server implementation on Android device, It could require a relative path.
On my side I tried your command successfully with DB410C (linaro 17.09) + Android Phone + ‘Bluetooth File Transfer’ application.
obexftp -b F0:D7:AA:44:C2:25 -B 20 --get temp.jpg

Note that you have an extra space in your command ‘/storage /emulated/0/720p60.mp4’.