From owner-freebsd-bluetooth@FreeBSD.ORG Mon Dec 6 17:56:01 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33C3516A4CE for ; Mon, 6 Dec 2004 17:56:01 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEF8D43D55 for ; Mon, 6 Dec 2004 17:56:00 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iB6HtlLU023224; Mon, 6 Dec 2004 11:55:47 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Dec 2004 11:55:15 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Dec 2004 11:54:29 -0600 Message-ID: <41B49CF8.8030405@savvis.net> Date: Mon, 06 Dec 2004 09:55:04 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc at Beach House References: <200412060301.iB631KIe081539@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200412060301.iB631KIe081539@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Dec 2004 17:54:29.0683 (UTC) FILETIME=[A251F030:01C4DBBC] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 17:56:01 -0000 Tuc at Beach House wrote: >>yes, that is the code from linux-bluez that i ported long time ago. it >>should have both sdpd and spdtool. these are similar to sdpd(8) and >>sdpcontrol(8). >> > Seems to be. :) >>how about add LAN, OPUSH etc. i.e. more services? stacks generally do >>not use 'browse' command, but rather looking for a specific service. btw >>did you try to use 'sdptool' (from sdp-1.5 package) command against >>treo? did it work? > > Now Winderz sees it. Maybe it was a bit SLOW. But against the > Treo is nothing. fine. well, at this point i'm starting to suspect treo sdp implementation. sdpcontrol(8) and sdptool are two different pieces of code. i'm very interested in hcidump output when you use sdptool to query treo. >>> I do attempt to access it from the Treo, and it seems to trigger >>>sdpd, but I'm not sure what the next step its supposed to do is. >> >>the way it should work is: >> >>1) client (treo) discovers server (laptop) >>2) client makes a sdp request to figure out what services host provides >>3) client gets parameters for the desired service via sdp >>4) client starts using the service. > > I had to configure pppd and rfcomm_pppd and a few other things, and > its been running all day. ah, ok. so, you are saying treo *can* connect to your laptop via bluetooth and you can browse on treo? or you can connect windows box to your laptop via bluetooth and can browse on windows? another thing about sdp-1.5 - its not integrated with other tools (rfcomm_pppd for example) and thus you have to *manually* add sdp records into the database (via 'sdptool register'). you also have to run service daemon (such as rfcomm_pppd) with the parameters you put into the sdp database. for example if you register lan service on rfcomm channel 1 then you *must* run rfcomm_pppd on rfcomm channel 1. in 5.3 and later sdp(8) is integrated with all tools, so all you need to do is to run sdp(8) in background and then all tools will register service automatically as they start. you do not have to add/delete records manually anymore. >>> Am I pushing my luck? >> >>no, it should work >> > And now it does via the FreeBSD, thank you Max! good :) thanks, max