public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] L2CAP: ECONNRESET
Date: Tue, 12 Dec 2006 18:58:09 +0100	[thread overview]
Message-ID: <1165946289.21138.3.camel@localhost> (raw)
In-Reply-To: <457EE1A3.5030700@siemens.com>

Hi Lukas,

> I have a problem with BlueZ when used with openOBEX. I've implemented 
> application for vCard receiving and every time the vCard is received, 
> the error on L2CAP level is signalled. This error takes place after the 
> vCard is sucessfully received (and no error on OBEX level is signaled to 
> me).
> 
> The error is ECONNRESET and is a result of
> l2cap_chan_del(sk, ECONNRESET) call
> in
> l2cap_disconnect_req
> This is called from l2cap_sig_channel after device sent 
> L2CAP_DISCONN_REQ on 0x001 CID channel.
> 
> My question is why is the l2cap_chan_del(sk, ECONNRESET) is hard-wired 
> in L2CAP_DISCONN_REQ request handling? Where is the problem and how can 
> I get rid of it (on the OBEX level)? Should I never get 
> L2CAP_DISCONN_REQ in normal operation mode?
> I've tried several devices with the same result. My openOBEX is of 1.3, 
> kernel 2.4.31 official one. I run the application on MIPS.

you should start using a 2.6 kernel. The 2.4 series is not really
supported anymore.

And run "hcidump -X -V" to see what actually happens.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2006-12-12 17:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-12 17:06 [Bluez-devel] L2CAP: ECONNRESET Lukas Szemla
2006-12-12 17:58 ` 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=1165946289.21138.3.camel@localhost \
    --to=marcel@holtmann.org \
    --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