Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Mar 2006 12:02:08 -0800
From:      Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
To:        lopisaur@gmail.com
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: Siemens S55/56 synchronization options
Message-ID:  <441089C0.9030300@savvis.net>
In-Reply-To: <1141924605.54238.4.camel@hellion.clcw>
References:  <1141924605.54238.4.camel@hellion.clcw>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?441089C0.9030300>