public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] obexFTP ... does it works?
  2004-08-26 13:51 [Bluez-users] OBEX File-Transfer? Marcel Holtmann
@ 2004-09-25 21:35 ` Massimiliano Cuccia
  2004-09-25 22:03   ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Massimiliano Cuccia @ 2004-09-25 21:35 UTC (permalink / raw)
  To: bluez-users

I installed linux suse 9.1 and some rpm from suse and
now I have a bt support.

I read in the suse help center a command line that can
send files to my cell phones (Nokia 6600)
here it is:
obexftp -b xx:xx:xx:xx:xx:xx -B 10 -p pippo.jpg

(xx:xx:xx:xx:xx:xx is the addr I read using hcitool
scan)
(I don't know what is the -B 10 option)

I already installed obexftp 1.0.1 but it doesn't works
... 
it says failed
anyone can help me to understand why?
others operation works correctly, so I can send a file
(note or image) to my linux (using opd) from my phone.

The same operation works if i use the KDEBluetooth
framework ... but I need a command line tool

In the application BjOD (Bluetooth joke of the day)
the authors are using ussp-push to achieve the same
result, but it does not works too

does anyone knows a way to send a file to a phone
using command line?
thanks

-----
linux suse 9.1 (kernel 2.6)
bluez-libs 2.5
bluez-pan 1.1
bluez-sdp 1.5
bluez-bluefw 1.1
bluez-utils 2.4
openobex 1.0.1
obexftp-0.10.4rc3-28.i586.rpm


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] obexFTP ... does it works?
  2004-09-25 21:35 ` [Bluez-users] obexFTP ... does it works? Massimiliano Cuccia
@ 2004-09-25 22:03   ` Marcel Holtmann
  2004-09-26 11:37     ` Massimiliano Cuccia
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2004-09-25 22:03 UTC (permalink / raw)
  To: Massimiliano Cuccia; +Cc: BlueZ Mailing List

Hi Massimiliano,

> I installed linux suse 9.1 and some rpm from suse and
> now I have a bt support.
> 
> I read in the suse help center a command line that can
> send files to my cell phones (Nokia 6600)
> here it is:
> obexftp -b xx:xx:xx:xx:xx:xx -B 10 -p pippo.jpg
> 
> (xx:xx:xx:xx:xx:xx is the addr I read using hcitool
> scan)
> (I don't know what is the -B 10 option)

have you tried to look this up with "man obexftp"? It is the Bluetooth
RFCOMM channel number of the FTP service.

> I already installed obexftp 1.0.1 but it doesn't works
> ... 
> it says failed
> anyone can help me to understand why?
> others operation works correctly, so I can send a file
> (note or image) to my linux (using opd) from my phone.
> 
> The same operation works if i use the KDEBluetooth
> framework ... but I need a command line tool

There is a tool call btobex in the BlueZ obex CVS repository that might
work.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] obexFTP ... does it works?
  2004-09-25 22:03   ` Marcel Holtmann
@ 2004-09-26 11:37     ` Massimiliano Cuccia
  0 siblings, 0 replies; 5+ messages in thread
From: Massimiliano Cuccia @ 2004-09-26 11:37 UTC (permalink / raw)
  To: bluez-users


Hi Marcel
thanks for your help

> It is the Bluetooth
> RFCOMM channel number of the FTP service.
clear, thanks ... I have to study a bit more.
In the man pages I read that it is the channel number,
but I don't know that 10 is the ftp channel number.

> There is a tool call btobex in the BlueZ obex
> CVS repository that might work.

i downloaded the sources from the cvs repository
(module "alls")
the INSTALL document says to execute ./configure, but
the file is not included.
It says that the file can be generated using autoconf,
my output for "autoconf ./configure.in" is this:

configure.in:8: error: possibly undefined macro:
AM_INIT_AUTOMAKE
      If this token and others are legitimate, please
use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:9: error: possibly undefined macro:
AM_CONFIG_HEADER
configure.in:11: error: possibly undefined macro:
AM_MAINTAINER_MODE
configure.in:13: error: possibly undefined macro:
AC_PREFIX_BLUEZ
configure.in:23: error: possibly undefined macro:
AC_PATH_BLUEZ

a file named configure is created even that error
messages ... so i executed it
this is the output:
./configure: line 1245: syntax error near unexpected
token `bluez-obex,'
./configure: line 1245: `AM_INIT_AUTOMAKE(bluez-obex,
0.1)'


the last tempt was to execute the configure.in file,
the output was:
./configure.in: line 1: dnl
: command not found
./configure.in: line 2: dnl: command not found
./configure.in: line 3: dnl
: command not found
./configure.in: line 4: 
: command not found
./configure.in: line 5: syntax error near unexpected
token `2.50'
./configure.in: line 5: `AC_PREREQ(2.50)
'
but I'm not surprised about this.


then I hed found a kde tool to use configuration
files: kconfigure
but the output was the same ...

How do I install? Where am I wrong?

----
autoconf 2.59
kconfigure 1.1 (kde 3.2.1, Qt 3.3.1)


		
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] obexFTP ... does it works?
       [not found] <41591760.90208@c-s.fr>
@ 2004-09-29 11:29 ` Massimiliano Cuccia
  0 siblings, 0 replies; 5+ messages in thread
From: Massimiliano Cuccia @ 2004-09-29 11:29 UTC (permalink / raw)
  To: Bluez-users

--- GUILLON Gabriel <gabriel.guillon@c-s.fr> wrote:
> I just tried obexftp on friday. I use channel 4.

I want to send the file named pippo.txt
this is what i'm doing
---- first i search for my phone

maxc@linux:~/prj/4/utils> hcitool scan
Scanning ...
        00:60:57:FB:3F:CE       MaxCube6600

---- next try to send the file
maxc@linux:~/prj/4/utils> obexftp -b 00:60:57:FB:3F:CE
-B 10 -p pippo.txt
No custom transport
Connecting...bt: 1
failed: S45 UUID
done
Sending pippo.txt...\failed: pippo.txt
Disconnecting...done
maxc@linux:~/prj/4/utils> 

If I try channel 4 it doesn't write the send line like
above. It writes connecting/failed pair three times.
(sorry I don't have the transcription of my shell)

are these the same steps you do to achieve transfer of
file?
thanks




	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] obexFTP ... does it works?
       [not found] <415AA340.7030202@c-s.fr>
@ 2004-09-29 14:47 ` Massimiliano Cuccia
  0 siblings, 0 replies; 5+ messages in thread
From: Massimiliano Cuccia @ 2004-09-29 14:47 UTC (permalink / raw)
  To: gabriel.guillon, Bluez-users


--- GUILLON Gabriel <gabriel.guillon@c-s.fr> wrote:
> Try sdptool browse to find which channel is used by
> the other peer.
> Service Name: OBEX Object Push
>    "RFCOMM" (0x0003)
>      Channel: 4

In my phone (a N6600) OBEX Object Push is at channel
10 (as say Marcel) and FTP is at channel 9

but they doesn't works ... 


		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-29 14:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <415AA340.7030202@c-s.fr>
2004-09-29 14:47 ` [Bluez-users] obexFTP ... does it works? Massimiliano Cuccia
     [not found] <41591760.90208@c-s.fr>
2004-09-29 11:29 ` Massimiliano Cuccia
2004-08-26 13:51 [Bluez-users] OBEX File-Transfer? Marcel Holtmann
2004-09-25 21:35 ` [Bluez-users] obexFTP ... does it works? Massimiliano Cuccia
2004-09-25 22:03   ` Marcel Holtmann
2004-09-26 11:37     ` Massimiliano Cuccia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox