public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Paolino paperino <vonzoltan@yahoo.it>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] problems with bytestream
Date: Tue, 12 Oct 2004 18:29:57 +0200 (CEST)	[thread overview]
Message-ID: <20041012162957.12307.qmail@web40614.mail.yahoo.com> (raw)

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

Hi, i'm writing a library to get a L2CAP stream in
Java, this library is Java Native Library that uses
L2CAP sockets of Bluez.
I've the following problem: when i send 4 bytes over
the socket, on the other side of the connection i get
5 valid read operation. Well at this point i started
to investigate and i founded very usefull the l2test
program tool. On one machine i've lauched l2test with
l2test -d -b 1 (for packets of 1 byte) and on the
client side l2test -s -b 1 -N 10 <my_srv_addr>....the
client seems to work correctly, but the server doesn't
receive any data.

[client screen dump]
[zande@ZANDEGIA andrea]$ ./l2test -s  -b 1 -N 10
00:0B:0D:40:64:D5
l2test[8186]: Connected [imtu 672, omtu 672, flush_to
65535]
l2test[8186]: Sending ...
l2test[8186]: Closing channel ...
l2test[8186]: Done
l2test[8186]: Exit

[server screen dump]
[andrea@tsunami tests]$ ./l2test -d
l2test[4907]: Waiting for connection on psm 10 ...
l2test[4908]: Connect from 00:10:C6:4D:38:AC [imtu
672, omtu 672, flush_to 65535]
l2test[4908]: Receiving ...
l2test[4908]: Disconnect. Success

No data are received by the server, nothig is printed
on the screen.

Somebody have an explanation for this things or
somebody could test my 2 commands lines on other
machine to test the behaviour.

Thanks to anybody could help me!!!
Best regards 
Andrew







		
___________________________________ 
Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica… Scaricalo ora! 
http://it.messenger.yahoo.it

[-- Attachment #2: Type: message/rfc822, Size: 4600 bytes --]

From: Paolino paperino <vonzoltan@yahoo.it>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] problems with bytestream
Date: Mon, 11 Oct 2004 12:56:26 +0200 (CEST)

Hi, i'm writing a library to get a L2CAP stream in
Java, this library is Java Native Library that uses
L2CAP sockets of Bluez.
I've the following problem: when i send 4 bytes over
the socket, on the other side of the connection i get
5 valid read operation. Well at this point i started
to investigate and i founded very usefull the l2test
program tool. On one machine i've lauched l2test with
l2test -d -b 1 (for packets of 1 byte) and on the
client side l2test -s -b 1 -N 10 <my_srv_addr>....the
client seems to work correctly, but the server doesn't
receive any data.

[client screen dump]
[zande@ZANDEGIA andrea]$ ./l2test -s  -b 1 -N 10
00:0B:0D:40:64:D5
l2test[8186]: Connected [imtu 672, omtu 672, flush_to
65535]
l2test[8186]: Sending ...
l2test[8186]: Closing channel ...
l2test[8186]: Done
l2test[8186]: Exit

[server screen dump]
[andrea@tsunami tests]$ ./l2test -d
l2test[4907]: Waiting for connection on psm 10 ...
l2test[4908]: Connect from 00:10:C6:4D:38:AC [imtu
672, omtu 672, flush_to 65535]
l2test[4908]: Receiving ...
l2test[4908]: Disconnect. Success

No data are received by the server, nothig is printed
on the screen.

Somebody have an explanation for this things or
somebody could test my 2 commands lines on other
machine to test the behaviour.

Thanks to anybody could help me!!!
Best regards 
Andrew




		
___________________________________ 
Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica… Scaricalo ora! 
http://it.messenger.yahoo.it


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2004-10-12 16:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-12 16:29 Paolino paperino [this message]
2004-10-13 13:46 ` [Bluez-devel] Re: [Bluez-users] problems with bytestream Diego Liziero
2004-10-13 14:38   ` [Bluez-devel] Re: [Bluez-users] problems with bytestream + rfcomm socket problems Paolino paperino
2004-10-14  8:26     ` Diego Liziero
2004-10-20 13:49       ` Paolino paperino
2004-10-20 13:49       ` Paolino paperino

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=20041012162957.12307.qmail@web40614.mail.yahoo.com \
    --to=vonzoltan@yahoo.it \
    --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