Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Cc: Matthew Johnson <matt@matthew.ath.cx>
Subject: Re: [Bluez-devel] Disconnecting after 54 seconds
Date: Fri, 04 Nov 2005 16:45:29 +0100	[thread overview]
Message-ID: <1131119129.11673.4.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.63.0511041142190.27685@illythia.matthew.ath.cx>

Hi Matthew,

> I have a nokia 6230 and a USB bluetooth dongle with a CSR chipset which
> I'm using to test an application I'm writing to monitor the connection
> to the phone. The application uses code from hcitool to bring up a
> connection to the phone. I'm finding that every minute or so the
> connection is dropped and I have to reconnect.
> 
> This is reproducible with l2ping. l2ping sends and receives pings fine,
> but then terminates with Connection reset by peer. Using time(1) to
> monitor this repeatedly it seems it happens almost exactly after 54
> seconds in every case (min 53.722, max 54.616, SD under 200ms).
> 
> Is there some sort of timeout happening here? I thought it might need
> activity to keep the link up, but l2ping should do that. Has anyone else
> seen anything similar?

these are L2CAP echo packets and so this doesn't have to be reliable.

> (please reply to me as well, I'm not subscribed)

Then please do so.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2005-11-04 15:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-04 11:49 [Bluez-devel] Disconnecting after 54 seconds Matthew Johnson
2005-11-04 15:45 ` Marcel Holtmann [this message]
2005-11-04 15:56   ` Matthew Johnson
2005-11-04 16:45     ` 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=1131119129.11673.4.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=matt@matthew.ath.cx \
    /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