public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Kartikey Parmar <kartikey2781@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Problem in Bluez-4.30
Date: Fri, 13 Feb 2009 15:05:11 +0530	[thread overview]
Message-ID: <6887eb5d0902130135i700fad80v3d460cedb3320f0@mail.gmail.com> (raw)

Hi,

I have installed Bluez-4.30 on Fedora 9 and then configured my
bluetooth adapter like below:

1) ./hciconfig -a hci0 up
2) ./hciconfig -a hci0 auth
3) ./hciconfig -a hci0 encrypt
4) hcitool -i hci0 cc 00:1F:5D:B5:36:BC

I m getting hcidump -X -V output like below:
=================================================================
HCI sniffer - Bluetooth packet analyser ver 1.42
device hci0 snap_len: 1028 filter: 0xffffffff

<HCI Command: Create Connection (0x01 | 0x0005) plen 13
        bdaddr 00:1F:5D:B5:36:BC ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
        Create Connection (0x01 | 0x0005) status 0x00 ncmd1
> HCI event: Link Key Request (0x17) plen 6
        bdaddr 00:1F:5D:B5:36:BC
> HCI Event: Connect Complete (0x03) plen 11
         Status 0x22 handle 0 bdaddr 00:1F:5D:B5:36:BC type ACL encrypt 0x00
         Error: LMP Response Timeout

===============================================================

5) rfcomm connect hci0 00:1F:5D:B5:36:BC 13

I have got hcidump -X -V output like below:

===============================================================
HCI sniffer - Bluetooth packet analyser ver 1.42
device hci0 snap_len: 1028 filter: 0xffffffff

<HCI Command: Create Connection (0x01 | 0x0005) plen 13
        bdaddr 00:1F:5D:B5:36:BC ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
        Create Connection (0x01 | 0x0005) status 0x00 ncmd1
> HCI event: Link Key Request (0x17) plen 6
        bdaddr 00:1F:5D:B5:36:BC
< HCI Command: Create Connection Cancel (0x01 | 0x0008) plen 6
        bdaddr 00:1F:5D:B5:36:BC
> HCI Event: Command status (0x0f) plen 4
        Create Connection Cancel (0x01 | 0x0008) status 0x01 ncmd 1
        Error: Unknown HCI Command

> HCI Event: Connect Complete (0x03) plen 11
         Status 0x22 handle 0 bdaddr 00:1F:5D:B5:36:BC type ACL encrypt 0x00
         Error: LMP Response Timeout
===============================================================

Pls guide me exactly where is the problem?

-- 
Kartikey Parmar
President AAECC
09879095390 (M)

                 reply	other threads:[~2009-02-13  9:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=6887eb5d0902130135i700fad80v3d460cedb3320f0@mail.gmail.com \
    --to=kartikey2781@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