Linux bluetooth development
 help / color / mirror / Atom feed
From: Mauro Tortonesi <mtortonesi@ing.unife.it>
To: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] l2cap xfer fails
Date: Wed, 28 Jan 2004 12:00:07 +0100	[thread overview]
Message-ID: <200401281200.07012.mtortonesi@ing.unife.it> (raw)
In-Reply-To: <200401281135.58062.mtortonesi@ing.unife.it>

On Wednesday 28 January 2004 11:35, Mauro Tortonesi wrote:
> i've been testing bluetooth support for nc6. unfortunately, i couldn't
> transfer data. both kernels are 2.4.25-pre7.

sorry, my kmail client sucks. it keeps crashing and sending unfinished emai=
ls=20
instead of postponining them. good old pine was not so bad :-(

what i wanted to say is that i can transfer (over L2CAP) data from console,=
=20
but transfer of files redirected to stdin always fails. perhaps i am doing=
=20
something wrong? such as calling write(2) over L2CAP sockets with buffers=20
larger that 762 bytes?

> 1st test - client side:
>
> [mauro@daneel nc6]$ ./src/nc6 -b 00:0D:88:8E:CA:07 10
> erneuwenoun
> ervimn=F2orinw=F2trin=F2ri
> rtbon=F2reonb=F2obre=F2eorinrt
> weinbrt=F2oint=F2io1re
> trbon=F2beone=F2otrn=F2rtietr
> rin=F2eroinrt=F2inr=F2int
> rbn=F2on=F2rtibit
> rinr=F2tboinrt=F2inrirbtmrkimfr
> rebmrtmre=F2ireireo=F2
>
> 1st test - server side:
>
> [mauro@giskard nc6]$ ./src/nc6 -vvv -b -l -p 10 > dump.bin
> nc6: listening on (null) psm 10 ...
> nc6: connect to (null) psm 10 from 00:0D:88:8E:CA:07 psm 10
> nc6: using seqpacket socket
> nc6: using buffer size of 8192
> nc6: read eof from remote
> nc6: closed local for write
> nc6: remote hold timed out
> nc6: closed local for read
> nc6: closed remote for write
> nc6: connection closed (sent 0, rcvd 182)
>
>
> 2nd test - client side:
>
> [mauro@daneel nc6]$ cat src/main.c | ./src/nc6 -vvv -b 00:0D:88:8E:CA:07 =
10
> nc6: using buffer size of 8192
> nc6: error writing to remote: Invalid argument
> nc6: connessione terminata (inviati 0, ricevuti 0)
> nc6: closed local
> nc6: closed remote
>
> 2nd test - server side:
>
> [mauro@giskard nc6]$ ./src/nc6 -vvv -b -l -p 10 > dump.bin
> nc6: listening on (null) psm 10 ...
> nc6: connect to (null) psm 10 from 00:0D:88:8E:CA:07 psm 10
> nc6: using seqpacket socket
> nc6: using buffer size of 8192
> nc6: read eof from remote
> nc6: closed local for write
> nc6: remote hold timed out
> nc6: closed local for read
> nc6: closed remote for write
> nc6: connection closed (sent 0, rcvd 0)

=2D-=20
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi                 mtortonesi@ing.unife.it
                                mauro@deepspace6.net
                                mauro@ferrara.linux.it
Deep Space 6 - IPv6 with Linux  http://www.deepspace6.net
=46errara Linux User Group        http://www.ferrara.linux.it





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2004-01-28 11:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-28 10:35 [Bluez-devel] l2cap xfer fails Mauro Tortonesi
2004-01-28 11:00 ` Mauro Tortonesi [this message]
2004-01-28 11:17   ` Mauro Tortonesi
2004-01-28 11:22   ` Marcel Holtmann
2004-01-28 11:36     ` Mauro Tortonesi

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=200401281200.07012.mtortonesi@ing.unife.it \
    --to=mtortonesi@ing.unife.it \
    --cc=bluez-devel@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