From owner-freebsd-bluetooth@FreeBSD.ORG Tue Apr 10 20:31:24 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 D125116A400 for ; Tue, 10 Apr 2007 20:31:24 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 894A613C4C5 for ; Tue, 10 Apr 2007 20:31:24 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so2154424ana for ; Tue, 10 Apr 2007 13:31:23 -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=kPocZx1B43YL+Q1UqmB/Mkxsmno3BTuJ+qFedA9VDZsqJUrah7UKiIWh7Jg1F0kHyY52Wq3pvvZ3FKsRjBXZgjNmbM4z5cMNNZSK99GRiS54+JpyaT18kJEANlCRb8z6+2lWT8Y296/efp9cXIgQKP5KsHuvtFLQzJjDfx6Ghv4= 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=MaXCTJn3tdJfqaicM6VYa0Kmh7g6Qkohn+Mtiz+p6X8dCR5HCA0FL02zHv9LYzMkuXCng7zYhdP3o4MnZ+ULe1FQEmY5kQBsdZDtdCpszcONiIB6msP6K4YQNSHuLEGpQq+A1ADhf6BNZ0zTH2jJxi7ycwaYZJrgX282j2/CZAI= Received: by 10.100.124.5 with SMTP id w5mr5264195anc.1176237083552; Tue, 10 Apr 2007 13:31:23 -0700 (PDT) Received: by 10.100.111.18 with HTTP; Tue, 10 Apr 2007 13:31:23 -0700 (PDT) Message-ID: Date: Tue, 10 Apr 2007 13:31:23 -0700 From: "Maksim Yevmenkin" To: "Vittorio De Martino" In-Reply-To: <1176235090.016851.473.nullmailer@galant.ukfsn.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200704102004.34814.vittorio@de-martino.it> <461BD6BF.1030505@freebsd.org> <1176235090.016851.473.nullmailer@galant.ukfsn.org> 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: Tue, 10 Apr 2007 20:31:24 -0000 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 tomtom 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