linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: ermal mino <ermalmino1004@yahoo.it>
To: bluez <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] Help, Connection Reset by peer.
Date: Sat, 4 Feb 2006 18:26:32 +0100 (CET)	[thread overview]
Message-ID: <20060204172632.37736.qmail@web53104.mail.yahoo.com> (raw)

Hi,
I know bluez supports max 7 rfcomm connections at one
time, and so it works.
I implemented obex push profile(a part of it) and i
use it to send files to cellphones over rfcomm.
The strange thing is that sometimes when more than one
connection are working at the same time without any
particular apparent reason fail and some of the
connections or both of them stay open.

i close these connections using "hcitool dc"

when i try to browse the services it gives me:
Failed to connect SDP server: Connection reset by peer

i also stop my application
i restart hcid,sdpd
but still the same error,
then i have to reboot to make it work again.

any idea about what can it be the reason?
it happens rarely,randomly without any particular
condition except of the fact that there are two open
connections working, and i use kernel 2.4.27 or 2.4.29

is there any way to reset the device without needing
to reboot the system?

I must say that the only thing my application does is,

while true
1-search for devices,
2-for every device 
     find the service channel
     start a new thread with the sendfile function
goto while

so i don't think my application is the problem.

Thanks in advance.


	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2006-02-04 17:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-04 17:26 ermal mino [this message]
2006-02-07 11:07 ` [Bluez-devel] Help, Connection Reset by peer 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=20060204172632.37736.qmail@web53104.mail.yahoo.com \
    --to=ermalmino1004@yahoo.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;
as well as URLs for NNTP newsgroup(s).