Re: [Bluez-users] sdp problem

Ka Kin Cheung
2005-02-26T13:22:51Z

[-- Attachment #1: Type: text/plain, Size: 1676 bytes --]

Hi all!
I've waited for the reply on my question in these few days, but I can't see any reply about it. But today I found something about SDP, and hope that it may be help for my project.
The good news is as follows: I can connect my T610 to my home's Windows PC by adding "Handsfree device" and then connect it. But the connection period is very short, with about 3-5 seconds as I don't have any other operation for T610. So, I wish to know how can I do so that the connection period will be longer and disconnect by myself?
But the bad news is: I can't find HF (Handsfree) service in my home's Linux PC. The configuration of BlueZ in my Linux PC is the most updated version. The list follow is the libaries and tools that I've installed:
bluez-utils-2.15
bluez-libs-2.15
bluez-pan-1.1-1.i386.rpm
bluez-sdp-1.5-1.i386.rpm
bluez-hcidump-1.18
bluez-firmware-1.0
Let's see if the above installations are correct. If so, why can't I find the HF service in "sdptool --help" in my home's PC, but can in my Lab's PC?
By the way, I've my thought about SDP and socket programming in my main program. I think that in order to accept connection from T610 and then iPAQ to Linux PC, the sequence should be follows: add_service()-->bind()-->listen()-->accept()-->the parts that I've done before. Am I right? Please give evaluation here. It is noted that it is not only the programming question, but also a question for Bluetooth connection from outside devices to Linux PC as the reference books stated about sdp and socket programming are not so clear together.
Thank you very much.
Michael

---------------------------------
Yahoo! 工具列 - 內置防止彈出視窗工能！

[-- Attachment #2: Type: text/html, Size: 1945 bytes --]