From owner-freebsd-bluetooth@FreeBSD.ORG Fri Mar 10 01:07:18 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org 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 6047B16A420 for ; Fri, 10 Mar 2006 01:07:18 +0000 (GMT) (envelope-from lopisaur@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE1D843D45 for ; Fri, 10 Mar 2006 01:07:17 +0000 (GMT) (envelope-from lopisaur@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so391992wxc for ; Thu, 09 Mar 2006 17:07:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:reply-to:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=uGZC/zxrVRGUZxlslfhKlbcLkbXCQ1hE5vjKnY7WD/2cF7Tk3gWsHKk10lAn0iZOvP5CCGD0jd5P2KFwab6R5h59ooKtmq/hp0bL42wh0uD8OE2fZgqCRyV0FJi4NPq8gtvxrwW/cC3UFnHy2UEFkDnadjgQKx5hc/vT8P8B9V4= Received: by 10.70.23.18 with SMTP id 18mr2824724wxw; Thu, 09 Mar 2006 17:07:16 -0800 (PST) Received: from hellion.clcw ( [200.105.221.232]) by mx.gmail.com with ESMTP id i13sm570199wxd.2006.03.09.17.07.15; Thu, 09 Mar 2006 17:07:16 -0800 (PST) From: Christian Lopez de Castilla Wagner To: Maksim Yevmenkin In-Reply-To: <441089C0.9030300@savvis.net> References: <1141924605.54238.4.camel@hellion.clcw> <441089C0.9030300@savvis.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Gz1Cl0tBmO6FyAuo8TOA" Date: Thu, 09 Mar 2006 21:09:22 -0400 Message-Id: <1141952962.30556.9.camel@hellion.clcw> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Cc: freebsd-bluetooth@freebsd.org Subject: Re: Siemens S55/56 synchronization options X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lopisaur@gmail.com List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 01:07:18 -0000 --=-Gz1Cl0tBmO6FyAuo8TOA Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks a lot, you really helped me with that. The push is working as expected. What I'm having trouble with right now is the OBEX server mode. I read the man page for obexapp and just noticed you actually wrote it. Entering hellion# obexapp -s -S -C 1 just exits, as well as using the -d or -D (from what I reckon, -d should keep the session on the terminal and -D should do about the same). The server never actually starts. Is this due to the fact that I'm not using PIN codes and/or because I'm not using the -u user_name option? I have been trying to run the whole process as root and want to put the files in /root, that's why I'm not using -u. Anyway, I really appreciate the help. Thank you. On Thu, 2006-03-09 at 12:02 -0800, Maksim Yevmenkin wrote: > Christian Lopez de Castilla Wagner wrote: > > Oops, something went seriously wrong. Again, without attachments: > >=20 > > Hi list, > > using > > I'm trying to get data into/out of my Siemens S56 via BT. > >=20 > > Inquiry: > > Inquiry result #0 >=20 > [...] >=20 > looks good >=20 > > OK, now: > >=20 > > hellion# sdpcontrol -a CLCWS56 browse > >=20 > [...] >=20 > looks good >=20 > > This is as far as I got. The OBEX man pages aren't helpful at all. I wa= s > > wondering what the options are to get my phonebook out of the phone and > > to send files into the phone. >=20 > to put file you can use obexapp(1) from ports and obex push profile, i.e. >=20 > % obexapp -c -a CLCWS56 -C opush -n put file_name >=20 > to get files you could run obexapp(1) in server mode and push files from=20 > the phone to the pc, i.e. >=20 > 1) make sure hcsecd(8) is running, "/etc/rc.d/hcsecd status" if not=20 > start it "/etc/rc.d/hcsecd start" >=20 > 2) make sure sdpd(8) is running, "/etc/rc.d/sdpd status" if not start it=20 > "/etc/rc.d/sdpd start" >=20 > 3) start obexapp(1) in server mode (as root) >=20 > # obexapp -s -S -C 1 -u your_user_name >=20 > now you should be able to push data from your phone to pc. all received=20 > files will be in your home directory >=20 > > Some examples would be greatly appreciated, if someone has any. > > My /etc/bluetooth file has: > >=20 > > ff:ff:ff:00:00:00 localhost local # Magic sdpd address > > 00:01:e3:15:c1:64 CLCWS56 S56 Mobile # 20051109: Siemens S56 >=20 > looks fine >=20 > > hcsecd.conf: > >=20 > > device { > > bdaddr 00:00:00:00:00:00; > > name "Default entry"; > > key nokey; > > pin nopin; > > } > >=20 > > device { > > bdaddr 00:01:e3:15:c1:64; > > name "CLCWS56"; > > key nokey; > > pin nopin; > > } >=20 > i'm pretty sure you want to specify pin code for the phone. when phone=20 > asks for it - just enter the same pin code (i.e. pair). make sure=20 > hcsecd(8) and sdpd(8) are running at all times, i.e. add >=20 > hcsecd_enable=3D"YES" > sdpd_enable=3D"YES" >=20 > to your /etc/rc.conf >=20 > file to start them on boot. >=20 > thanks, > max --=20 Christian Lopez de Castilla Wagner lopisaur@gmail.com lopisaur@acelerate.com (+591-705)98290 --=-Gz1Cl0tBmO6FyAuo8TOA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iD8DBQBEENHCBfwpMEg+qbYRAvUtAJoC/zfalRRLcKu46hX+e88tyQZvVgCfXiF8 rXfH9dyfhLCqJ0CMOVlFUUs= =lJEb -----END PGP SIGNATURE----- --=-Gz1Cl0tBmO6FyAuo8TOA--