All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Stefan Mischke <survivor@uni-paderborn.de>
Cc: "BlueZ Mailing List" <bluez-devel@lists.sourceforge.net>,
	"Bernd Eßmann" <psycho@uni-paderborn.de>
Subject: Re: [Bluez-devel] L2CAP: One failing connection hurts others?
Date: Wed, 15 Sep 2004 23:09:02 +0200	[thread overview]
Message-ID: <1095282542.19426.9.camel@pegasus> (raw)
In-Reply-To: <41484B1B.2000000@uni-paderborn.de>

Hi Stefan,

> Hmmm, these timeouts are really difficult. I've written a script 
> "l2client.sh" (see below) using bluez-utils' l2test to make sure the 
> problem is not inside of my code. I also included the output of a 
> testrun. Take a look at it!
> 
> #### BEGIN SCRIPT l2client.sh ####
> 
> #!/bin/bash
> 
> ROUNDS=10
> SLEEP=`which sleep`
> TSLEEP=5
> SERVER1="00:02:72:B1:1D:6C"
> SERVER2="00:02:72:B1:1D:62"
> 
> for i in `seq 1 $ROUNDS`;
> do
>         printf "Round $i of $ROUNDS\n"
> 
>         printf "Connecting to Server $SERVER1...\n"
>         l2test -s -N 1 $SERVER1
>         printf "\n"
> 
>         printf "Connecting to Server $SERVER2...\n"
>         l2test -s -N 1 $SERVER2 &
>         printf "Waiting for $TSLEEP seconds...\n"
>         $SLEEP ${TSLEEP}s
>         printf "\n"
> done
> 
> printf "l2client.sh terminating.\n"
> 
> #### END SCRIPT l2client.sh ####

use the linger support of the L2CAP socket and put a "sleep 2" between
the first and the second l2test call.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2004-09-15 21:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-14 15:20 [Bluez-devel] L2CAP: One failing connection hurts others? Stefan Mischke
2004-09-14 18:34 ` Marcel Holtmann
2004-09-14 19:11   ` Stefan Mischke
2004-09-14 19:24     ` Marcel Holtmann
2004-09-14 19:37       ` Stefan Mischke
2004-09-14 19:49         ` Marcel Holtmann
2004-09-14 20:10           ` Stefan Mischke
2004-09-14 21:12             ` Marcel Holtmann
2004-09-14 23:37               ` Stefan Mischke
2004-09-15  7:46                 ` Marcel Holtmann
2004-09-15 14:00                   ` Stefan Mischke
2004-09-15 21:09                     ` Marcel Holtmann [this message]
2004-09-15 22:26                       ` Stefan Mischke
2004-09-16 10:30                       ` Stefan Mischke
2004-09-16 10:34                         ` Marcel Holtmann
2004-09-16 10:39                           ` Stefan Mischke
2004-09-16 11:00                             ` Marcel Holtmann
2004-09-16 11:10                               ` Stefan Mischke
2004-09-16 16:41                               ` Stefan Mischke
2004-09-15 20:37                   ` Stefan Mischke
2004-09-15 21:06                     ` Marcel Holtmann
2004-09-15 22:13                       ` Stefan Mischke

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=1095282542.19426.9.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=psycho@uni-paderborn.de \
    --cc=survivor@uni-paderborn.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.