public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Johannes <lintner@c-lab.de>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Problems with InputStream and OutputStream
Date: Mon, 30 Aug 2004 12:27:20 +0200	[thread overview]
Message-ID: <1093861640.5620.1.camel@pegasus> (raw)
In-Reply-To: <4132FF52.3070305@c-lab.de>

Hi Johannes,

> sorry, but my time run out last week.
> I put hcidump -x on, but I'm not familiar with the output, it gives to
> me.
> Perhaps you can help me.
> But this might be the section, that is relevant to my problem:
> 
> <>> ACL data: handle 0x0029 flags 0x02 dlen 12
>     L2CAP(s): Connect req: psm 3 scid 0x0068
> < ACL data: handle 0x0029 flags 0x02 dlen 16
>     L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0068 result 0 status 0
> > HCI Event: Number of Completed Packets(0x13) plen 5
>   01 29 00 01 00
> > ACL data: handle 0x0029 flags 0x02 dlen 12
>     L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
> < ACL data: handle 0x0029 flags 0x02 dlen 14
>     L2CAP(s): Config rsp: scid 0x0068 flags 0x0000 result 0 clen 0
> < ACL data: handle 0x0029 flags 0x02 dlen 16
>     L2CAP(s): Config req: dcid 0x0068 flags 0x0000 clen 4
>     MTU 1024
> > HCI Event: Number of Completed Packets(0x13) plen 5
>   01 29 00 01 00
> > HCI Event: Number of Completed Packets(0x13) plen 5
>   01 29 00 01 00
> > ACL data: handle 0x0029 flags 0x02 dlen 18
>     L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 4
>     MTU 672
> > ACL data: handle 0x0029 flags 0x02 dlen 8
>     L2CAP(d): cid 0x40 len 4 [psm 3]
>       RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c
> < ACL data: handle 0x0029 flags 0x02 dlen 8
>     L2CAP(d): cid 0x68 len 4 [psm 3]
>       RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
> > HCI Event: Number of Completed Packets(0x13) plen 5
>   01 29 00 01 00
> > ACL data: handle 0x0029 flags 0x02 dlen 18
>     L2CAP(d): cid 0x40 len 14 [psm 3]
>       RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
>       dlci 2 frame_type 0 credit_flow 15 pri 0 ack_timer 0 frame_size
> 667 max_retrans 0 credits 3
> < ACL data: handle 0x0029 flags 0x02 dlen 8
>     L2CAP(d): cid 0x68 len 4 [psm 3]
>       RFCOMM(s): DM: cr 1 dlci 2 pf 1 ilen 0 fcs 0x73
> > HCI Event: Number of Completed Packets(0x13) plen 5
>   01 29 00 01 00
> > ACL data: handle 0x0029 flags 0x02 dlen 12
>     L2CAP(s): Disconn req: dcid 0x0040 scid 0x0068
> < ACL data: handle 0x0029 flags 0x02 dlen 12
>     L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0068
> > HCI Event: Number of Completed Packets(0x13) plen 5
>   01 29 00 01 00
> < HCI Command: Disconnect(0x01|0x0006) plen 3
>   29 00 13
> > HCI Event: Command Status(0x0f) plen 4
>   00 01 06 04
> > HCI Event: Disconn Complete(0x05) plen 4
>   00 29 00 16
> 
> The String I send to the server is 12bytes long, the other String
> 6bytes, but I can't find any messages for these Strings.

and there are no RFCOMM UIH packets that may transport your data. Check
the connection setup itself, because it looks like that on the other
side there is no service running on channel 2.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-08-30 10:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-26 10:48 [Bluez-users] Problems with InputStream and OutputStream Johannes
2004-08-26 11:24 ` Marcel Holtmann
2004-08-30 10:20   ` Johannes
2004-08-30 10:27     ` Marcel Holtmann [this message]
     [not found]       ` <413307E0.6060602@c-lab.de>
2004-08-30 11:09         ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2004-08-30 11:44 Johannes Lintner
2004-08-30 11:59 ` Marcel Holtmann
2004-08-30 12:34   ` john
2004-08-30 12:40     ` Marcel Holtmann
2004-08-31  7:42       ` Johannes
2004-08-31 10:23         ` Marcel Holtmann
2004-08-31 10:55           ` Johannes
2004-08-31 11:05           ` Johannes

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