Linux bluetooth development
 help / color / mirror / Atom feed
From: Franz Coriand <franz@coriand.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] scanning possible, but no l2ping?
Date: Fri, 28 Jan 2005 22:43:39 -0500	[thread overview]
Message-ID: <41FB066B.3080904@coriand.com> (raw)
In-Reply-To: <1106969620.10580.23.camel@pegasus>

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

Marcel Holtmann schrieb:

>>My problem with my two bluetooth adapter is, it's possible to scan the
>>area und I get the right result, but it isn't possible to execute l2ping?
>>I've a desktop computer and my crappy linux watch ... only with the
>>desktop i've hcidump yet.
>>I hope it is something with the config wrong?!
>>
>>Franz
>>
>>DESKTOP:
>>========
>>
>>[root@dervish root]# hciconfig -a
>>hci0:   Type: USB
>>        BD Address: 00:0F:3D:0B:EE:6C ACL MTU: 192:8  SCO MTU: 64:8
>>        UP RUNNING PSCAN ISCAN AUTH ENCRYPT
>>        RX bytes:1004 acl:0 sco:0 events:31 errors:0
>>        TX bytes:379 acl:0 sco:0 commands:21 errors:0
>>        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
>>        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
>>        Link policy: HOLD SNIFF PARK
>>        Link mode: ACCEPT MASTER
>>        Name: 'dervish-0'
>>        Class: 0x120104
>>        Service Classes: Networking, Object Transfer
>>        Device Class: Computer, Desktop workstation
>>        HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:
>>0x20d
>>        Manufacturer: Cambridge Silicon Radio (10)
>>
>>[root@dervish root]# hcitool scan
>>Scanning ...
>>        00:60:57:01:10:AE       WatchPad_15
>>
>>[root@dervish root]# l2ping 00:60:57:01:10:AE
>>Can't connect.: Connection timed out
>>
>>hcidump (desktop) during  try to execute l2ping from desktop to watch:
>>------------------------------------------------------------------------
>>[root@dervish sbin]# ./hcidump
>>HCIDump - HCI packet analyzer ver 1.5
>>device: hci0 snap_len: 1028 filter: 0xffffffff
>>
>>
>>< HCI Command: Create Connection(0x01|0x0005) plen 13
>> > HCI Event: Command Status(0x0f) plen 4
>> > HCI Event: Link Key Request(0x17) plen 6
>> > HCI Event: Connect Complete(0x03) plen 11
>>
>>
Securty Mode 3 is not safty, isn't it ;) My problem is, I need a f***
connection between Watch and computer for a special live-demo in a
closed lab.
And the next problem is that pairing doesn't work with the watch, so I
turned everything off. So all I need is just a connection to send tcp
packages - I don't care about the secury.

... hcid is running ...

[root@dervish root]# ps -afe | grep -v grep | grep -i hcid
root      2374     1  0 19:46 ?        00:00:00 hcid: processing events

Franz

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

  reply	other threads:[~2005-01-29  3:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-29  3:25 [Bluez-users] scanning possible, but no l2ping? Franz Coriand
2005-01-29  3:33 ` Marcel Holtmann
2005-01-29  3:43   ` Franz Coriand [this message]
2005-01-29  3:50     ` Marcel Holtmann
2005-01-29  4:40       ` Franz Coriand

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=41FB066B.3080904@coriand.com \
    --to=franz@coriand.com \
    --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