2006-11-28 08:55:55

by VANatFortuna amarnath

[permalink] [raw]
Subject: [Bluez-devel] RFCOMM connection problem

Hi All,
I am new to BlueZ, and i downloaded bluez stack and i am runnig test
programs. I am running 'hstest.c'. It was working properly. It was
successfully opening both rfcomm com & sco connection and audio(wave file)
is redirecting to head set. But the problem is :

AT commands passed by headset are not captured at rfcomm socket.
Means if i press headset button, as of i understood, it should sned
'AT+CKPD=200\r\n'. But it is not caputured at rfcomm socket in the program,
in the same way even volume controls(AT+VGS/M) also. I am not able to get
those AT commands from headset. Can anybody say where i am wrong.


Thanx all, let me know If any details needed.
Amarnath


Attachments:
(No filename) (687.00 B)
(No filename) (768.00 B)
(No filename) (347.00 B)
(No filename) (164.00 B)
Download all attachments

2006-12-03 14:05:28

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] RFCOMM connection problem

Hi,

> I am new to BlueZ, and i downloaded bluez stack and i am runnig
> test programs. I am running 'hstest.c'. It was working properly. It
> was successfully opening both rfcomm com & sco connection and
> audio(wave file) is redirecting to head set. But the problem is :
>
> AT commands passed by headset are not captured at rfcomm
> socket. Means if i press headset button, as of i understood, it should
> sned 'AT+CKPD=200\r\n'. But it is not caputured at rfcomm socket in
> the program, in the same way even volume controls(AT+VGS/M) also. I am
> not able to get those AT commands from headset. Can anybody say where
> i am wrong.

I have no idea on what you are trying to achieve or what's your problem.
So you must be more specific. However remember that hstest.c is a test
and example program and nothing you should use in production.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel