Linux bluetooth development
 help / color / mirror / Atom feed
From: Addo Del Grossi <addo.delgrossi@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Failed to connect to SDP server / Connection reset by peer
Date: Sun, 11 Oct 2009 15:20:10 -0300	[thread overview]
Message-ID: <1e9e22610910111120p25a850bflcc31794f7e29192e@mail.gmail.com> (raw)

Hi,

I upgraded to Ubuntu Karmic and found problems when using the command sdptool.
I was found that the problem only when use the kernel 2.6.31,
using the old 2.6.28 Kernel sdptool the command works correctly.

Note: We also did the test by downloading the Vanilla kernel
kernel.org site and the same error was found.

The commands sequence above reproduce the scenario:

Kernel: 2.6.31-10-generic

root@suporte-desktop:/home/suporte# uname -a
Linux suporte-desktop 2.6.31-10-generic #34-Ubuntu SMP Wed Sep 16
00:23:19 UTC 2009 i686 GNU/Linux

root@suporte-desktop:/home/suporte# dpkg -l | grep bluez
ii  bluez                                4.51-0ubuntu1
             Bluetooth tools and daemons
ii  bluez-alsa                           4.51-0ubuntu1
             Bluetooth audio support
ii  bluez-gstreamer                      4.51-0ubuntu1
             Bluetooth GStreamer support

root@suporte-desktop:/home/suporte# sdptool -i hci0 search --bdaddr
00:0E:6D:70:B9:A6 opush
Failed to connect to SDP server on 00:0E:6D:70:B9:A6: Connection reset by peer

---------------------------------------------------------------------------------------

Kernel: 2.6.28-15-generic

root@suporte-desktop:/home/suporte# uname -a
Linux suporte-desktop 2.6.28-15-generic #49-Ubuntu SMP Wed Sep 16
00:33:34 UTC 2009 i686 GNU/Linux

root@suporte-desktop:/home/suporte# dpkg -l | grep bluez
ii  bluez                                4.51-0ubuntu1
             Bluetooth tools and daemons
ii  bluez-alsa                           4.51-0ubuntu1
             Bluetooth audio support
ii  bluez-gstreamer                      4.51-0ubuntu1
             Bluetooth GStreamer support

root@suporte-desktop:/home/suporte# sdptool -i hci0 search --bdaddr
00:0E:6D:70:B9:A6 opush
Searching for opush on 00:0E:6D:70:B9:A6 ...
Service Name: OBEX Object Push
Service RecHandle: 0x10003
Service Class ID List:
 "OBEX Object Push" (0x1105)
Protocol Descriptor List:
 "L2CAP" (0x0100)
 "RFCOMM" (0x0003)
   Channel: 9
 "OBEX" (0x0008)
Language Base Attr List:
 code_ISO639: 0x656e
 encoding:    0x6a
 base_offset: 0x100
Profile Descriptor List:
 "OBEX Object Push" (0x1105)
   Version: 0x0100

Thanks,
Addo

             reply	other threads:[~2009-10-11 18:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-11 18:20 Addo Del Grossi [this message]
2009-10-12 10:06 ` Failed to connect to SDP server / Connection reset by peer Luiz Augusto von Dentz
2009-10-14 11:51   ` Addo Del Grossi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1e9e22610910111120p25a850bflcc31794f7e29192e@mail.gmail.com \
    --to=addo.delgrossi@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox