Skip to contentSkip to conversation

phone+heaset

Bluez-users Jo�o Santos 2 participants 2 messages Jan 8, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

hi marcel,

Quoted 2 lines

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

maintainer
#1 lore raw

Hi Joao,

Quoted 4 lines

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.

read it again, because if I am not wrong only the headset can send +ckpd=200. And you also have to answer any command from the headset with ok or error.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users