Linux bluetooth development
 help / color / mirror / Atom feed
From: "João Santos" <jsantos_pt@hotmail.com>
To: marcel@holtmann.org
Cc: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] phone+heaset
Date: Thu, 08 Jan 2004 18:55:40 +0000	[thread overview]
Message-ID: <SEA2-F33wlVZmSox9fS00030187@hotmail.com> (raw)

hi marcel,


>do you read the headset profile specification? You have to answer the AT
>commands on the RFCOMM channel. Look at hstest.c for an example.
I already had read the hset profile specification and i had change the 
program hstest.c to send at+ckpd=200 instead of ring (used if i want to make 
a sco link between the pc and a bluetooth headset), and nothing, i dont 
receve any sco data.

I also try make a rfcomm connection using
[root@olivia /]# 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

Sending next the at command at+ckpd=200 whit the minicom app, i receve ok.
and then execute the scotest app.
The scotest  create a sco link and stay waiting in the function accept(), 
till any button in the phone is press.
Then the app waits in the read() function waiting for sco data from the 
phone.

thanks

regards
João Santos

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

             reply	other threads:[~2004-01-08 18:55 UTC|newest]

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