Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: "João Santos" <jsantos_pt@hotmail.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] phone+heaset
Date: Thu, 08 Jan 2004 00:44:46 +0100	[thread overview]
Message-ID: <1073519086.9584.0.camel@pegasus> (raw)
In-Reply-To: <Sea2-F4J2ivuV8vTWoq0001672a@hotmail.com>

Hi Joao,

> I want to use the casira as a headset of a 6310i, using a headphone/speaker 
> in the pc.
> 
> i have made a rfcomm connection to the phone using:
> 
> [root@olivia test]# rfcomm connect /dev/rfcomm0 00:60:57:15:8A:A9 12
> Connected /dev/rfcomm0 to 00:60:57:15:8A:A9 on channel 12
> Press CTRL-C for hangup
> 
> and using the test application scotest in the bluez-utils-2.3 i have:
> 
> [root@olivia test]# ./scotest -r  00:60:57:15:8A:A9
> scotest[30657]: Waiting for connection ...
> scotest[30657]: Connect from 00:60:57:15:8A:A9
> 
> then i click in any button an the app pass to the recv mode
> 
> scotest[30657]: Receiving ...recv_mode()
> 
> 
> scotest[30657]: Read failed. Connection reset by peer(104)
> scotest[30657]: Disconnect
> 
> but i don't receve any data in my buffer.
> When i stop pushing the buttons for a while, i recebe -1 in my read() 
> function and the appl disconnect.
> 
> what is the problem!!

check SCO mapping of your Casira.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-01-07 23:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-07 18:59 [Bluez-users] phone+heaset João Santos
2004-01-07 23:44 ` Marcel Holtmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-01-08 13:36 João Santos
2004-01-08 17:31 ` Marcel Holtmann
2004-01-08 18:55 João Santos
2004-01-08 18:59 ` Marcel Holtmann
2004-01-09 11:18 João Santos
2004-01-09 14:13 ` Marcel Holtmann
2004-01-26 16:55 João Santos
2004-01-26 17:04 ` 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=1073519086.9584.0.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=jsantos_pt@hotmail.com \
    /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