Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Bluetooth does not send files  (Read 4569 times)

radiohead

  • Guest
[EN] Bluetooth does not send files
« on: 2012/07/25, 22:30:04 »
Hello my Bluetooth divice doesn't send files but can receive them.

I've had the same issue in arch so I suspect could be something related to kernel module.

Here some outputs:

# hciconfig hci0

Code: [Select]

hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:15:83:0B:13:C0  ACL MTU: 310:10  SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:808 acl:0 sco:0 events:31 errors:0
        TX bytes:389 acl:0 sco:0 commands:30 errors:0



$ hcitool dev

Code: [Select]

Devices:
        hci0    00:15:83:0B:13:C0



$ hcitool scan

Code: [Select]

Scanning ...
        40:98:4E:6D:0C:60       N9



The paring is OK, Laptop -> Smartphone and Smartphone -> Laptop


$ sdptool browse 40:98:4E:6D:0C:60

Code: [Select]

Devices:
        hci0    00:15:83:0B:13:C0
sergio@localhost:~$ hcitool scan
Scanning ...
        40:98:4E:6D:0C:60       N9
sergio@localhost:~$ sdptool browse 40:98:4E:6D:0C:60
Browsing 40:98:4E:6D:0C:60 ...
Service Name: Headset Audio Gateway
Service RecHandle: 0x10000
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 12
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0102

Service Name: Hands-Free Audio Gateway
Service RecHandle: 0x10001
Service Class ID List:
  "Handsfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 13
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0105

Service Name: AVRCP TG
Service RecHandle: 0x10002
Service Class ID List:
  "AV Remote Target" (0x110c)
Protocol Descriptor List:                                                                                                                                              
  "L2CAP" (0x0100)                                                                                                                                                    
    PSM: 23                                                                                                                                                            
  "AVCTP" (0x0017)                                                                                                                                                    
    uint16: 0x103
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0100

Service Name: AVRCP CT
Service RecHandle: 0x10003
Service Class ID List:
  "AV Remote" (0x110e)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 23
  "AVCTP" (0x0017)
    uint16: 0x103
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0100

Service Name: Dial-Up Networking
Service RecHandle: 0x10004
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Service Name: Audio Source
Service RecHandle: 0x10005
Service Class ID List:
  "Audio Source" (0x110a)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 25
  "AVDTP" (0x0019)
    uint16: 0x102
Profile Descriptor List:
  "Advanced Audio" (0x110d)
    Version: 0x0102

Service Name: Object Push server
Service RecHandle: 0x10006
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: File Transfer server
Service RecHandle: 0x10007
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100

Service Name: Nokia OBEX PC Suite Services
Service RecHandle: 0x10008
Service Class ID List:
  UUID 128: 00005005-0000-1000-8000-0002ee000001
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 24
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x00005005-0000-1000-8000-0002ee000001)
    Version: 0x0100

Service Name: Phonebook Access server
Service RecHandle: 0x10009
Service Class ID List:
  "Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 15
  "OBEX" (0x0008)
Profile Descriptor List:
  "Phonebook Access" (0x1130)
    Version: 0x0100

Service Name: Message Access server
Service RecHandle: 0x1000a
Service Class ID List:
  "" (0x1132)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 16
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x1134)
    Version: 0x0100

Service Name: SyncML Client
Service RecHandle: 0x1000b
Service Class ID List:
  UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 25
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x00000002-0000-1000-8000-0002ee000002)
    Version: 0x0100

Service Name: Nokia SyncML Server
Service RecHandle: 0x1000c
Service Class ID List:
  UUID 128: 00005601-0000-1000-8000-0002ee000001
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 26
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x00005601-0000-1000-8000-0002ee000001)
    Version: 0x0100



$ obexftp -b -v 40:98:4E:6D:0C:60 -B 10 -p /home/sergio/Desktop/update

Code: [Select]

Try `obexftp --help' for more information.
Scanning for (null) ...
Found: 40:98:4E:6D:0C:60
Connecting..\done
Tried to connect for 371ms
Sending "/home/sergio/Desktop/update"...|failed: /home/sergio/Desktop/update
The operation failed with return code 67
Disconnecting../done


I've tried with all channels and other smartphone and it still doesn't work.



any idea?



--

sorry for my bad english.

Offline orinoco

  • User
  • Posts: 233
  • Bullshit artist
Bluetooth does not send files
« Reply #1 on: 2012/08/22, 22:39:52 »
I have a similar problem here. It seems to that the bluetooth-stack and/or the bluetooth-integration in kde is broken. I have no idea how to track this down.

I tested with my desktop (latest siduction), my notebook (lenny) and my smartphone (nexus one, android 2.3.6)

Sending files from the notebook to the smartphone works (and vice versa). Sending from the smartphone/notebook to the desktop works, too. In the other direction it doesn't work. Maybe I find a fragment of 16kB. Most of the time nothing. Strange...