Re: Failed to connect to SDP server / Connection reset by peer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luiz,


Below the hcidump resulsts.

HCI sniffer - Bluetooth packet analyzer ver 1.42
device: hci0 snap_len: 1028 filter: 0xffffffffffffffff
2009-10-14 08:46:21.982680 < HCI Command: Create Connection
(0x01|0x0005) plen 13
    bdaddr 00:0E:6D:70:B9:A6 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
2009-10-14 08:46:22.014774 > HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
2009-10-14 08:46:24.795777 > HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 42 bdaddr 00:0E:6D:70:B9:A6 type ACL encrypt 0x00
2009-10-14 08:46:24.795829 < HCI Command: Read Remote Supported
Features (0x01|0x001b) plen 2
    handle 42
2009-10-14 08:46:24.800673 > HCI Event: Command Status (0x0f) plen 4
    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 0
2009-10-14 08:46:24.812688 > HCI Event: Max Slots Change (0x1b) plen 3
    handle 42 slots 5
2009-10-14 08:46:24.814685 > HCI Event: Command Status (0x0f) plen 4
    Unknown (0x00|0x0000) status 0x00 ncmd 1
2009-10-14 08:46:24.814699 < HCI Command: Remote Name Request
(0x01|0x0019) plen 10
    bdaddr 00:0E:6D:70:B9:A6 mode 2 clkoffset 0x0000
2009-10-14 08:46:24.819703 > HCI Event: Command Status (0x0f) plen 4
    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
2009-10-14 08:46:24.823702 > HCI Event: Read Remote Supported Features
(0x0b) plen 11
    status 0x00 handle 42
    Features: 0xbf 0x28 0x21 0x00 0x00 0x00 0x00 0x00
2009-10-14 08:46:24.823739 < ACL data: handle 42 flags 0x02 dlen 10
    L2CAP(s): Info req: type 2
2009-10-14 08:46:24.829775 > HCI Event: Number of Completed Packets
(0x13) plen 5
    handle 42 packets 1
2009-10-14 08:46:24.845778 > ACL data: handle 42 flags 0x02 dlen 12
    L2CAP(s): Info rsp: type 1 result 1
      Not supported
2009-10-14 08:46:24.865698 > HCI Event: Remote Name Req Complete (0x07) plen 255
    status 0x00 bdaddr 00:0E:6D:70:B9:A6 name 'Nokia 6610'
2009-10-14 08:46:24.868054 < HCI Command: Read Remote Version
Information (0x01|0x001d) plen 2
    handle 42
2009-10-14 08:46:24.869689 > HCI Event: QoS Setup Complete (0x0d) plen 21
    status 0x00 handle 42 flags 0
    Service type: 1
    Token rate: 0
    Peak bandwith: 0
    Latency: 5000
    Delay variation: -1
2009-10-14 08:46:24.873773 > HCI Event: Command Status (0x0f) plen 4
    Read Remote Version Information (0x01|0x001d) status 0x00 ncmd 1
2009-10-14 08:46:24.883704 > HCI Event: Read Remote Ver Info Complete
(0x0c) plen 8
    status 0x00 handle 42
    LMP Version: 1.1 (0x1) LMP Subversion: 0x248
    Manufacturer: Nokia Mobile Phones (1)
2009-10-14 08:46:28.896709 > HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 42 reason 0x13
    Reason: Remote User Terminated Connection



Thank you very much!,
Addo




On Mon, Oct 12, 2009 at 7:06 AM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> Hi,
>
> On Sun, Oct 11, 2009 at 8:20 PM, Addo Del Grossi
> <addo.delgrossi@xxxxxxxxx> wrote:
>> 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.
>>
>
> It is difficult to guess without hcidump output, could you please try
> this: > sudo hcidump -XVt
>
> There is a high chance that this is not really related to sdptool
> itself, as you are using the same BlueZ version in both cases, but
> some pairing/bonding/security issue.
>
> --
> Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux