From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 12 00:30:16 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84BDB16A402 for ; Thu, 12 Apr 2007 00:30:16 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 46B8613C483 for ; Thu, 12 Apr 2007 00:30:16 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so414673ana for ; Wed, 11 Apr 2007 17:30:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Rk+V+ohAX/2UEYhoFmkgVlfA5tbONUqn/Za/h6SMVxs2DQrW3f9gLRrIKbKhvSck3PFyu3RGJRl+5OLkSJ7e2Gv+6PbmBgMv0QQOXE4/jkBsT9UwZstkVeHKvB+ZmOt+jpqfH/gcrMtvtR/OXnd34peqjm+HOiFsL7j61Eg/nuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=p1dzP+3GVqCKjfKo2pQRGnX7c0zvviMTnnZ1xhINeyg3/u5cLQOHswzYO4hZOdczYXqIbgE3SgwkkYUqHixU38lo1eks4F8ee3i/0wTM2SaJ/TL91Jdh/y1QRkygIdvdyJcRVe4avTLgq1K4EgKmLrpsLlqsYvmBaLJ2kJnDoug= Received: by 10.100.31.2 with SMTP id e2mr916991ane.1176337815233; Wed, 11 Apr 2007 17:30:15 -0700 (PDT) Received: by 10.100.111.18 with HTTP; Wed, 11 Apr 2007 17:30:15 -0700 (PDT) Message-ID: Date: Wed, 11 Apr 2007 17:30:15 -0700 From: "Maksim Yevmenkin" To: "Vittorio De Martino" In-Reply-To: <200704111907.52164.vittorio@de-martino.it> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200704102004.34814.vittorio@de-martino.it> <1176235090.016851.473.nullmailer@galant.ukfsn.org> <200704111907.52164.vittorio@de-martino.it> Cc: freebsd-bluetooth@freebsd.org Subject: Re: tomtom serial connection X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 00:30:16 -0000 On 4/11/07, Vittorio De Martino wrote: > : > Yes, I can smoothly pair the tomtom gps to my nokia cellular phone e61. N= o pin > is required. The connection via umts is required from time to time by the > tomtom site to pdate traffic news . > did you try to pair your tomtom gps with your pc? > I tried the following but SP doesn't seem to exist > > victor$ sudo l2ping -a tomtom > 44 bytes from tomtom seq_no=3D0 time=3D246.214 ms result=3D0 > 44 bytes from tomtom seq_no=3D1 time=3D28.889 ms result=3D0 > 44 bytes from tomtom seq_no=3D2 time=3D31.084 ms result=3D0 ??? l2ping has nothing to do with sp, just tells you that remote side answers l2cap, but we already know this, because sdpcontrol returns stuff. > victor$ sudo sdpcontrol -a tomtom search sp > victor$ ok, stupid question, is your tomtom a complete unit with screen and buttons, etc. or just a standalone bluetooth gps receiver with no user interface at all? could you please provide model number for your tomtom device? can you force your tomtom gps into pairing mode and then try 'sdpcontrol -a tomtom search sp'? thanks, max > victor$ sudo rfcomm_sppd -a tomtom -t /dev/ttyp6 -c 1 > rfcomm_sppd: Could not connect socket: Connection refused > victor$ sudo rfcomm_sppd -a tomtom -t /dev/ttyp6 -c 2 > rfcomm_sppd: Could not connect socket: Connection refused > victor$ sudo rfcomm_sppd -a tomtom -t /dev/ttyp6 -c 3 > rfcomm_sppd: Could not connect socket: Connection refused > > Ciao > Vittorio > > Alle 20:31, marted=EC 10 aprile 2007, Maksim Yevmenkin ha scritto: > > On 4/10/07, Iain Hibbert wrote: > > > On Tue, 10 Apr 2007, Eric Anderson wrote: > > > > On 04/10/07 15:04, Vittorio De Martino wrote: > > > > > How can I make it? > > > > > > > > I don't see RFCOMM in the list above. > > > > > > yeah, Vittorio should try > > > sdpcontrol -a tomtom search sp > > > > > > to see if the 'Serial Port' service is available.. > > > > > > > Record Handle: 0x00090001 > > > > Service Class ID List: > > > > Serial Port (0x1101) > > > > Protocol Descriptor List: > > > > L2CAP (0x0100) > > > > RFCOMM (0x0003) > > > > Protocol specific parameter #1: u/int8/bool 1 > > > > > > in the above example, you can connect to channel 1 directly since you > > > know that the Serial Port service is there.. > > > > > > rfcomm_sppd -a xxx -t /dev/ttyp6 -c 1 > > > > > > perhaps if Vittorio can't find any serial port, try connecting to all= the > > > channels between 1 and 30 to see if he can find the one that the tomt= om > > > is listening on. > > > > well, it might or might not work. was tomtom gps previously paired > > with another bluetooth device? > > > > some devices are quite paranoid and will not accept any incoming > > connection unless it comes from "known/trusted" device. if fact, some > > devices wont even advertise service once they were paired. the > > assumption here is that "known/trusted" device saved all required > > information (such as rfcomm channel number, link key or pin code) > > locally and will use it next time to connect. > > > > so, if your tomtom gps supports "pairing" mode you need to put it into > > this mode first time you try to connect "new" device to tomtom gps. > > > > also, as others already pointed out, it is better to use > > > > % sdpcontrol -a xxxx search sp > > > > instead of 'browse'. many devices do not bother to put advertised > > services into public browse group, so 'browse' will not find them. > > > > thanks, > > max > _______________________________________________ > freebsd-bluetooth@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth > To unsubscribe, send any mail to "freebsd-bluetooth-unsubscribe@freebsd.o= rg" >