* [Bluez-users] OBEX File-Transfer?
@ 2004-08-26 13:30 Detlef Grittner
2004-08-26 13:51 ` Marcel Holtmann
0 siblings, 1 reply; 11+ messages in thread
From: Detlef Grittner @ 2004-08-26 13:30 UTC (permalink / raw)
To: bluez-users
I found this service on my Nokia 6320 and my HP 5550 Pocket PC.
Both have a separate OBEX push protocoll as well.
Now I can send data from my Linux client to the Nokia and the HP using
Obex Push but not the other way round.
The Pocket PC 2003 doesn't even offer OBEX push as client protocoll but
only OBEX file-transfer. The Nokia and the HP can communicate via OBEX
in both directions.
So maybe, it has something to do with this OBEX file-transfer?
What is it and where can I get it for my Linux box?
Detlef
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bluez-users] OBEX File-Transfer?
2004-08-26 13:30 [Bluez-users] OBEX File-Transfer? Detlef Grittner
@ 2004-08-26 13:51 ` Marcel Holtmann
2004-09-25 21:35 ` [Bluez-users] obexFTP ... does it works? Massimiliano Cuccia
0 siblings, 1 reply; 11+ messages in thread
From: Marcel Holtmann @ 2004-08-26 13:51 UTC (permalink / raw)
To: Detlef Grittner; +Cc: BlueZ Mailing List
Hi Detlef,
> I found this service on my Nokia 6320 and my HP 5550 Pocket PC.
> Both have a separate OBEX push protocoll as well.
>
> Now I can send data from my Linux client to the Nokia and the HP using
> Obex Push but not the other way round.
> The Pocket PC 2003 doesn't even offer OBEX push as client protocoll but
> only OBEX file-transfer. The Nokia and the HP can communicate via OBEX
> in both directions.
>
> So maybe, it has something to do with this OBEX file-transfer?
> What is it and where can I get it for my Linux box?
I started with the btftp application some time ago. It is not finished
right now, but you can take a look at it in the obex CVS repostory. But
maybe you should search for ObexFTP.
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bluez-users] obexFTP ... does it works?
2004-08-26 13:51 ` Marcel Holtmann
@ 2004-09-25 21:35 ` Massimiliano Cuccia
2004-09-25 22:03 ` Marcel Holtmann
0 siblings, 1 reply; 11+ 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] 11+ 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; 11+ 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] 11+ messages in thread
* Re: [Bluez-users] obexFTP ... does it works?
2004-09-25 22:03 ` Marcel Holtmann
@ 2004-09-26 11:37 ` Massimiliano Cuccia
2004-09-27 19:15 ` [Bluez-users] compiling bluez/obex (btobex) Massimiliano Cuccia
0 siblings, 1 reply; 11+ 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] 11+ messages in thread
* [Bluez-users] compiling bluez/obex (btobex)
2004-09-26 11:37 ` Massimiliano Cuccia
@ 2004-09-27 19:15 ` Massimiliano Cuccia
2004-09-28 7:15 ` Marcel Holtmann
0 siblings, 1 reply; 11+ messages in thread
From: Massimiliano Cuccia @ 2004-09-27 19:15 UTC (permalink / raw)
To: Massimiliano Cuccia, bluez-users
> the INSTALL document says to execute ./configure,
> but
> the file is not included.
OK, reading some documentation about autoconf I have
found that is needed to run aclocal before running
autoconf.
So now I have a file named configure obtained without
any error message.
Then I try to run it.
the response is that "install.sh is missing"
I can't find that file in the obex dir
I controlled in the CVS, but the file isn't there.
... In other dirs of bluez I can find several files
named install.sh that seems equals ...
So i copyed the file from the bluefw dir in the obex
dir.
Now I run again the ./configure and it writes several
messages, then stops his execution saying that
"config.h is missing"
... and now?
how can I resolve these stopping points?
PS be patient with me, I am at the first packages
compilation in linux
for jouni: thanks, I will try gnome-obex-send later
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.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] 11+ messages in thread
* Re: [Bluez-users] compiling bluez/obex (btobex)
2004-09-27 19:15 ` [Bluez-users] compiling bluez/obex (btobex) Massimiliano Cuccia
@ 2004-09-28 7:15 ` Marcel Holtmann
2004-09-28 22:55 ` Massimiliano Cuccia
0 siblings, 1 reply; 11+ messages in thread
From: Marcel Holtmann @ 2004-09-28 7:15 UTC (permalink / raw)
To: Massimiliano Cuccia; +Cc: bluez-users
Hi Massimiliano,
> > the INSTALL document says to execute ./configure,
> > but
> > the file is not included.
> OK, reading some documentation about autoconf I have
> found that is needed to run aclocal before running
> autoconf.
simply call ./bootstrap in the CVS repository. It will do the correct
autoconf/automake work for you and after that you can proceed with
calling configure and so on.
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] 11+ messages in thread
* Re: [Bluez-users] compiling bluez/obex (btobex)
2004-09-28 7:15 ` Marcel Holtmann
@ 2004-09-28 22:55 ` Massimiliano Cuccia
2004-09-29 10:29 ` Massimiliano Cuccia
0 siblings, 1 reply; 11+ messages in thread
From: Massimiliano Cuccia @ 2004-09-28 22:55 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: bluez-users
> simply call ./bootstrap in the CVS repository. It
> will do the correct
> autoconf/automake work for you and after that you
> can proceed with
> calling configure and so on.
Really, really thanks Marcel
I'm following this way
but I encountered some problems and I need help again
1 - running bootstrap give an error
"bad interpreter: no such file or directory"
So I proceded running the contents of the file itself
(copy-paste in the command line, excluding
"#!/bin/sh").
doing so I run configure, make and make install for
libs, sdp and hcidump without any error message.
compiling the others packages I encountered problems
2 - for pan and for hciemu, running configure I
obtains
"configure: error: cannot run /bin/sh ./config.sub"
3 - for utils, I need yacc ... so I will report later
4 - for bluefw, doing make I obtain:
"/usr/src/linux/include/linux/usbdevice_fs.h:49
variable or field '__user' declared void"
5 - for obex, during make, the "gcc ... -o btobex ..."
say: "./obex.c: undefined reference to
'OBEX_SetTransportMTU'"
where am I wrong now?
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bluez-users] compiling bluez/obex (btobex)
2004-09-28 22:55 ` Massimiliano Cuccia
@ 2004-09-29 10:29 ` Massimiliano Cuccia
0 siblings, 0 replies; 11+ messages in thread
From: Massimiliano Cuccia @ 2004-09-29 10:29 UTC (permalink / raw)
To: marcel; +Cc: bluez-users
> 3 - for utils, I need yacc ... so I will report
> later
I installed bison from my distribution, so these are
the results of make command:
make all-recursive
make[1]: Entering directory `/home/maxc/prj/4/utils'
Making all in hcid
make[2]: Entering directory
`/home/maxc/prj/4/utils/hcid'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/maxc/prj/4/utils/hcid'
Making all in tools
make[2]: Entering directory
`/home/maxc/prj/4/utils/tools'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include
-I/usr/include -Wall -O2 -c sdptool.c
sdptool.c: In function `add_audio_source':
sdptool.c:1583: error: `AUDIO_SOURCE_SVCLASS_ID'
undeclared (first use in this function)
sdptool.c:1583: error: (Each undeclared identifier is
reported only once
sdptool.c:1583: error: for each function it appears
in.)
sdptool.c:1587: error: `ADVANCED_AUDIO_PROFILE_ID'
undeclared (first use in this function)
sdptool.c:1598: error: `AVDTP_UUID' undeclared (first
use in this function)
sdptool.c: In function `add_audio_sink':
sdptool.c:1642: error: `AUDIO_SINK_SVCLASS_ID'
undeclared (first use in this function)
sdptool.c:1646: error: `ADVANCED_AUDIO_PROFILE_ID'
undeclared (first use in this function)
sdptool.c:1657: error: `AVDTP_UUID' undeclared (first
use in this function)
sdptool.c: At top level:
sdptool.c:1706: error: `AUDIO_SOURCE_SVCLASS_ID'
undeclared here (not in a function)
sdptool.c:1706: error: initializer element is not
constant
sdptool.c:1706: error: (near initialization for
`service[13].class')
sdptool.c:1706: error: initializer element is not
constant
sdptool.c:1706: error: (near initialization for
`service[13]')
sdptool.c:1707: error: `AUDIO_SINK_SVCLASS_ID'
undeclared here (not in a function)
sdptool.c:1707: error: initializer element is not
constant
sdptool.c:1707: error: (near initialization for
`service[14].class')
sdptool.c:1707: error: initializer element is not
constant
sdptool.c:1707: error: (near initialization for
`service[14]')
sdptool.c:1709: error: initializer element is not
constant
sdptool.c:1709: error: (near initialization for
`service[15]')
make[2]: *** [sdptool.o] Error 1
make[2]: Leaving directory
`/home/maxc/prj/4/utils/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/maxc/prj/4/utils'
make: *** [all] Error 2
... where are the problems?
I only compiled libs, sdp and hcidump
the others (pan, utils, obex, bluefw and hciemu) are
giving errors
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
^ permalink raw reply [flat|nested] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ messages in thread
end of thread, other threads:[~2004-09-29 14:47 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-26 13:30 [Bluez-users] OBEX File-Transfer? Detlef Grittner
2004-08-26 13:51 ` 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
2004-09-27 19:15 ` [Bluez-users] compiling bluez/obex (btobex) Massimiliano Cuccia
2004-09-28 7:15 ` Marcel Holtmann
2004-09-28 22:55 ` Massimiliano Cuccia
2004-09-29 10:29 ` Massimiliano Cuccia
[not found] <41591760.90208@c-s.fr>
2004-09-29 11:29 ` [Bluez-users] obexFTP ... does it works? Massimiliano Cuccia
[not found] <415AA340.7030202@c-s.fr>
2004-09-29 14:47 ` Massimiliano Cuccia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox