Linux bluetooth development
 help / color / mirror / Atom feed
From: Andre Baron <andre@metalan.net>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Apple BT Keyboard and Ubuntu Linux
Date: Tue, 19 Apr 2005 11:39:51 -0700	[thread overview]
Message-ID: <42655077.7080609@metalan.net> (raw)
In-Reply-To: <1113934141.2469.53.camel@pegasus>

[-- Attachment #1: Type: text/plain, Size: 2941 bytes --]

Marcel Holtmann wrote:

>Hi Andre,
>
>  
>
>>hcidump -X -V gave me an error message that -V was an invalid option. 
>>However I ran it without that option and here's the output.
>>    
>>
>
>install the latest version, because I am not going to decode the HCI
>parts by myself anytime again.
>
>Regards
>
>Marcel
>  
>
Understood, I made sure I grabbed the latest libs and utils as well.
hcidump:

lampshade:/# hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.19
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Write Authentication Enable (0x03|0x0020) plen 1
  0000: 01                                                .
 > HCI Event: Command Complete (0x0e) plen 4
    Write Authentication Enable (0x03|0x0020) ncmd 1
    0000: 00                                                .
< HCI Command: Inquiry (0x01|0x0001) plen 5
    lap 0x9e8b33 len 8 num 0
 > HCI Event: Command Status (0x0f) plen 4
    Inquiry (0x01|0x0001) status 0x00 ncmd 1
 > HCI Event: Inquiry Result (0x02) plen 15
    bdaddr 00:0A:95:3E:CC:74 mode 1 clkoffset 0x705c class 0x002540
 > HCI Event: Inquiry Complete (0x01) plen 1
    status 0x00
< HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr 00:0A:95:3E:CC:74 ptype 0xcc18 rswitch 0x01 clkoffset 0x705c 
(valid)
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
 > HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
 > HCI Event: Link Key Request (0x17) plen 6
    bdaddr 00:0A:95:3E:CC:74
 > HCI Event: PIN Code Request (0x16) plen 6
    bdaddr 00:0A:95:3E:CC:74
 > HCI Event: Connect Complete (0x03) plen 11
    status 0x10 handle 41 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt 0x00
    Error: Connection Accept Timeout Exceeded
< HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr 00:0A:95:3E:CC:74 ptype 0xcc18 rswitch 0x01 clkoffset 0x705c 
(valid)
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
 > HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
 > HCI Event: Link Key Request (0x17) plen 6
    bdaddr 00:0A:95:3E:CC:74
 > HCI Event: PIN Code Request (0x16) plen 6
    bdaddr 00:0A:95:3E:CC:74
 > HCI Event: Connect Complete (0x03) plen 11
    status 0x10 handle 42 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt 0x00
    Error: Connection Accept Timeout Exceeded

Commands:
lampshade:/etc/network# hciconfig hic0 auth
lampshade:/etc/network# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Host is down
lampshade:/etc/network# hciconfig hic0 auth
You have new mail in /var/mail/andre
lampshade:/etc/network# hidd --search
Searching ...
        Connecting to device 00:0A:95:3E:CC:74
Can't create HID control channel: Connection timed out
lampshade:/etc/network# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Connection timed out
lampshade:/etc/network#

Andre
(Hmm... should watch StarTrek TNG while composing emails, thier speach 
infultrates the email)

[-- Attachment #2: Type: text/html, Size: 4430 bytes --]

  reply	other threads:[~2005-04-19 18:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19  5:59 [Bluez-users] Apple BT Keyboard and Ubuntu Linux Andre Baron
2005-04-19 10:43 ` Marcel Holtmann
2005-04-19 17:48   ` Andre Baron
2005-04-19 18:09     ` Marcel Holtmann
2005-04-19 18:39       ` Andre Baron [this message]
2005-04-19 18:45         ` Marcel Holtmann
2005-04-19 18:55           ` Andre Baron
2005-04-19 19:04             ` Marcel Holtmann
2005-04-20  6:32               ` Andre Baron

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=42655077.7080609@metalan.net \
    --to=andre@metalan.net \
    --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