Return-Path: Message-ID: <20050226132251.53743.qmail@web60904.mail.yahoo.com> From: Ka Kin Cheung Subject: Re: [Bluez-users] sdp problem To: bluez-users@lists.sourceforge.net In-Reply-To: <421C9D77.7040606@gmx.ch> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1897401739-1109424171=:53255" Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat, 26 Feb 2005 21:22:51 +0800 (CST) --0-1897401739-1109424171=:53255 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit 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! ?u???C - ???m?????u?X?????u???I --0-1897401739-1109424171=:53255 Content-Type: text/html; charset=big5 Content-Transfer-Encoding: 8bit
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! ?u???C - ???m?????u?X?????u???I
--0-1897401739-1109424171=:53255-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users