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

Hi Matthew,

> >> 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.
> >
> Having packets dropped I would expect, but I wouldn't expect the HCI
> connection to be dropped regularly like this. This happens consistently
> using hcitool as well, after 54 seconds a link created with hcitool cc
> is dropped.

the "hcitool cc ..." and "l2ping" are for testing purpose only. Use real
connection on RFCOMM level.

> I've read over the FAQ and howtos on bluez.org and none of them appear
> to address this. Are there any low-level protocol docs which would
> suggest some sort of keep-alive which might be necessary? or is this
> likely to be a problem with my phone?
> 

If the phone decides to drop your connection that is fine. From the
security standpoint I would even encourage this.

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 16: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
2005-11-04 15:56   ` Matthew Johnson
2005-11-04 16:45     ` Marcel Holtmann [this message]

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=1131122744.11673.12.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