public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* bluez 4.x, SCO socket - connection reset by peer
@ 2009-05-20 20:49 Rafael Seste
  2009-05-20 20:59 ` Marcel Holtmann
  2009-05-21 11:46 ` Hugo Mildenberger
  0 siblings, 2 replies; 9+ messages in thread
From: Rafael Seste @ 2009-05-20 20:49 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

I trying to use asterisk (with chan_mobile) to connect with my mobile phone.
When there is a incoming/outgoing call, this module creates a
sco_socket to send/receive audio packets.

socket(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO)

when this socket is ready...it can write data once, after that when it
tries to read an error is returned:

sco_read() error 104

104 means - connection reset by peer

after this i got error 107 - not connect.

Some one knows why is the reason of this error 104???

kernel 2.6.22.18
bluez 4.32

tks
-- 
Rafael S. Seste

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-05-27 16:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-20 20:49 bluez 4.x, SCO socket - connection reset by peer Rafael Seste
2009-05-20 20:59 ` Marcel Holtmann
2009-05-21 14:10   ` Rafael Seste
2009-05-22 17:14     ` Hugo Mildenberger
2009-05-22 18:39       ` Rafael Seste
2009-05-26 19:03         ` Rafael Seste
2009-05-27 16:57           ` Rafael Seste
2009-05-21 11:46 ` Hugo Mildenberger
2009-05-21 13:22   ` Rafael Seste

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox