From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] problem in making multiple connections using single bluetooth adapter using bluez
Date: Wed, 03 Jan 2007 08:18:44 +0100 [thread overview]
Message-ID: <1167808724.20568.5.camel@violet> (raw)
In-Reply-To: <6af20b8d0701022000j32baae52m5a563f4f3ca3e324@mail.gmail.com>
Hi,
> > HCI Event: Number of Completed Packets (0x13) plen 5
> handle 42 packets 1
> > ACL data: handle 42 flags 0x02 dlen 17
> > ACL data: handle 42 flags 0x01 dlen 1
> L2CAP(d): cid 0x0041 len 14 [psm 3]
> RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
> dlci 4 frame_type 0 credit_flow 15 pri 32 ack_timer 0
> frame_size 1024 max_retrans 0 credits 7
> < ACL data: handle 42 flags 0x02 dlen 8
> L2CAP(d): cid 0x0203 len 4 [psm 3]
> RFCOMM(s): DM: cr 1 dlci 4 pf 1 ilen 0 fcs 0xbc
>
> And why a DM for channel 4 is sent as a response of a PN CMD for dlci 0 ?
> Should this not happen ? There must be some problem of the command that
> was received. Maybe we've got a corrupted command for dlci 4 and that hcidump
> didn't show it up.
actually that is the wrong interpretation. The PN CMD is sent on the
multiplexer DLCI 0 and it is sent for DLCI 4. This means we try to open
RFCOMM channel 2. The following DM is an indication that no service is
listening on RFCOMM channel 2. Hence my request to check the actual
registered listening sockets via /sys/class/bluetooth/rfcomm.
> > HCI Event: Number of Completed Packets (0x13) plen 5
> handle 42 packets 1
> > ACL data: handle 42 flags 0x02 dlen 12
> L2CAP(s): Disconn req: dcid 0x0041 scid 0x0203
> < ACL data: handle 42 flags 0x02 dlen 12
> L2CAP(s): Disconn rsp: dcid 0x0041 scid 0x0203
> > HCI Event: Number of Completed Packets (0x13) plen 5
> handle 42 packets 1
>
> This is really strange.
No, it is not.
Regards
Marcel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2007-01-03 7:18 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-02 7:54 [Bluez-users] problem in making multiple connections using single bluetooth adapter using bluez siddhant tewari
2007-01-02 8:09 ` Marcel Holtmann
2007-01-02 8:16 ` siddhant tewari
2007-01-02 8:28 ` Marcel Holtmann
2007-01-02 9:12 ` siddhant tewari
2007-01-02 10:18 ` Cris
2007-01-02 10:29 ` siddhant tewari
2007-01-02 11:44 ` Cris
2007-01-02 12:46 ` siddhant tewari
2007-01-02 13:04 ` Marcel Holtmann
2007-01-02 13:39 ` Paul Gardiner
2007-01-02 13:50 ` Marcel Holtmann
2007-01-02 21:03 ` Paul Gardiner
2007-01-02 21:18 ` Marcel Holtmann
2007-01-02 23:39 ` Paul Gardiner
2007-01-03 4:00 ` Tianlei Zhao
2007-01-03 7:18 ` Marcel Holtmann [this message]
2007-01-03 11:33 ` [Bluez-users] Problems fooling my S100 into using Bluez as a modem Paul Gardiner
2007-01-03 11:37 ` Paul Gardiner
2007-01-03 11:39 ` Paul Gardiner
2007-01-03 11:42 ` Paul Gardiner
2007-01-10 18:24 ` Paul Gardiner
2007-01-02 13:20 ` [Bluez-users] problem in making multiple connections using single bluetooth adapter using bluez Cris
2007-01-02 13:17 ` Marcel Holtmann
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=1167808724.20568.5.camel@violet \
--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