From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 9 20:02:12 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 5D82516A420 for ; Thu, 9 Mar 2006 20:02:12 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from ismybrain.com (ismybrain.com [64.246.42.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id A453B43D45 for ; Thu, 9 Mar 2006 20:02:11 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [10.254.186.111] (localhost.localdomain [127.0.0.1]) by ismybrain.com (8.11.6/8.11.6) with ESMTP id k29K2AM03858; Thu, 9 Mar 2006 15:02:10 -0500 Message-ID: <441089C0.9030300@savvis.net> Date: Thu, 09 Mar 2006 12:02:08 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: lopisaur@gmail.com References: <1141924605.54238.4.camel@hellion.clcw> In-Reply-To: <1141924605.54238.4.camel@hellion.clcw> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit 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 List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 20:02:12 -0000 Christian Lopez de Castilla Wagner wrote: > Oops, something went seriously wrong. Again, without attachments: > > Hi list, > > I'm trying to get data into/out of my Siemens S56 via BT. > > Inquiry: > Inquiry result #0 [...] looks good > OK, now: > > hellion# sdpcontrol -a CLCWS56 browse > [...] looks good > This is as far as I got. The OBEX man pages aren't helpful at all. I was > wondering what the options are to get my phonebook out of the phone and > to send files into the phone. to put file you can use obexapp(1) from ports and obex push profile, i.e. % obexapp -c -a CLCWS56 -C opush -n put file_name to get files you could run obexapp(1) in server mode and push files from the phone to the pc, i.e. 1) make sure hcsecd(8) is running, "/etc/rc.d/hcsecd status" if not start it "/etc/rc.d/hcsecd start" 2) make sure sdpd(8) is running, "/etc/rc.d/sdpd status" if not start it "/etc/rc.d/sdpd start" 3) start obexapp(1) in server mode (as root) # obexapp -s -S -C 1 -u your_user_name now you should be able to push data from your phone to pc. all received files will be in your home directory > Some examples would be greatly appreciated, if someone has any. > My /etc/bluetooth file has: > > ff:ff:ff:00:00:00 localhost local # Magic sdpd address > 00:01:e3:15:c1:64 CLCWS56 S56 Mobile # 20051109: Siemens S56 looks fine > hcsecd.conf: > > device { > bdaddr 00:00:00:00:00:00; > name "Default entry"; > key nokey; > pin nopin; > } > > device { > bdaddr 00:01:e3:15:c1:64; > name "CLCWS56"; > key nokey; > pin nopin; > } i'm pretty sure you want to specify pin code for the phone. when phone asks for it - just enter the same pin code (i.e. pair). make sure hcsecd(8) and sdpd(8) are running at all times, i.e. add hcsecd_enable="YES" sdpd_enable="YES" to your /etc/rc.conf file to start them on boot. thanks, max