Linux bluetooth development
 help / color / mirror / Atom feed
From: Franz Coriand <franz@coriand.com>
To: BlueZ-Mailingliste <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] scanning possible, but no l2ping?
Date: Fri, 28 Jan 2005 22:25:42 -0500	[thread overview]
Message-ID: <41FB0236.3030600@coriand.com> (raw)

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

Hi,

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



WATCH:
======

# ./hciconfig -a
hci0:   Type: UART
        BD Address: 00:60:57:01:10:AE ACL MTU: 384:80  SCO MTU: 128:80
        UP RUNNING PSCAN ISCAN
        RX bytes:172 acl:0 sco:0 events:17 errors:0
        TX bytes:80 acl:0 sco:0 commands:17 errors:0
        Features: 0xff 0xff 0x09 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy:
        Link mode: SLAVE ACCEPT
        Name: 'WatchPad_15'
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous,
        HCI Ver: 1.1 (0x1) HCI Rev: 0xbc LMP Ver: 1.1 (0x1) LMP Subver: 0xbc
        Manufacturer: Cambridge Silicon Radio (10)


# ./hcitool scan
Scanning ...
        00:0F:3D:0B:EE:6C       dervish-0

# ./l2ping 00:0F:3D:0B:EE:6C
Can't connect.: Connection timed out


hcidump (desktop) during  try to execute l2ping from watch to desktop:
------------------------------------------------------------------------
 > HCI Event: Connect Request(0x04) plen 10
< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
 > HCI Event: Command Status(0x0f) plen 4
 > HCI Event: Link Key Request(0x17) plen 6
 > HCI Event: Role Change(0x12) plen 8
 > HCI Event: Connect Complete(0x03) plen 11


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

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-29  3:25 Franz Coriand [this message]
2005-01-29  3:33 ` [Bluez-users] scanning possible, but no l2ping? Marcel Holtmann
2005-01-29  3:43   ` Franz Coriand
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=41FB0236.3030600@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