public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Could not connect with pand profile
Date: Mon, 05 Sep 2005 14:03:00 +0200	[thread overview]
Message-ID: <1125921780.11955.11.camel@pegasus> (raw)
In-Reply-To: <4316B5BE.4090901@avantwave.com>

Hi Mike,

>    I am developing a embedded device with pand profile. But the device
> can not connect to a bluetooth access point with error code 0x22 which
> is LMP timeout. Below is the hcidump result.
>    It seems to not give out the pincode. Although the bluepin script is
> refined to one line "echo PIN:0000" , i don't know whether it is the
> problem. And all other things are the default setting.
> 
> < HCI Command: Create Connection(0x01|0x0005) plen 13
>   5A 06 00 E0 08 00 18 CC 02 00 00 00 01
> > HCI Event: Command Status(0x0f) plen 4
>   00 01 05 04
> > HCI Event: Role Change(0x12) plen 8
>   00 5A 06 00 E0 08 00 01
> > HCI Event: PIN Code Request(0x16) plen 6
>   5A 06 00 E0 08 00
> > HCI Event: Connect Complete(0x03) plen 11
>   22 29 00 5A 06 00 E0 08 00 01 00
> 
> hciconfig -a
> hci0:   Type: UART
>         BD Address: 00:08:E0:04:A4:BF ACL MTU: 192:8  SCO MTU: 64:8
>         UP RUNNING PSCAN ISCAN
>         RX bytes:5933 acl:153 sco:0 events:337 errors:0
>         TX bytes:3632 acl:141 sco:0 commands:71 errors:0
>         Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
>         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
>         Link policy:
>         Link mode: SLAVE ACCEPT
>         Name: '00:08:E0:04:A4:BF'
>         Class: 0x000000
>         Service Classes: Unspecified
>         Device Class: Miscellaneous,
>         HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:
> 0x20d
>         Manufacturer: Cambridge Silicon Radio (10)

make sure that hcid is running, because otherwise you won't have a
security manager and the link policy would also not be set.

Regards

Marcel




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2005-09-05 12:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-01  8:03 [Bluez-users] Could not connect with pand profile mike lee
2005-09-05 12:03 ` Marcel Holtmann [this message]

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=1125921780.11955.11.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /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