OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: gab74 on January 26, 2006, 10:40:19 am

Title: Sending Files Via Bluetooth
Post by: gab74 on January 26, 2006, 10:40:19 am
I'm using Cako 1.23 on My C3100... how can i send files via bluetooth to other devices ?
Title: Sending Files Via Bluetooth
Post by: bam on January 27, 2006, 03:29:23 am
good question, I am using a kubuntu laptop and my z they see each other and I load the opush but connection refused is what I get
Title: Sending Files Via Bluetooth
Post by: gab74 on January 31, 2006, 11:50:40 am
on Cako 1.23 there is obextool for sending file and opd to receive....
For me all works well !!!
Title: Sending Files Via Bluetooth
Post by: bam on January 31, 2006, 08:09:55 pm
actually all I did was plug in the card(with cacko) then use my laptop to send files via obpush(KDE), as for send, havent diddled with that yet. What i do need to find out is how to get my bt network running so i can sync my *.ics file for korganizer/kopi
Title: Sending Files Via Bluetooth
Post by: tombraider on February 23, 2006, 10:52:43 am
Dumb question...where is the "obextool" on Cacko?  I can send files from my PC TO the Zaurus but can't figure out how to SEND a file from the Zaurus to the PC.  I don't see any Obex software anywhere.
?????

Quote
on Cako 1.23 there is obextool for sending file and opd to receive....
For me all works well !!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=113130\"][{POST_SNAPBACK}][/a][/div]
Title: Sending Files Via Bluetooth
Post by: Meanie on February 23, 2006, 12:22:37 pm
Quote
Dumb question...where is the "obextool" on Cacko?  I can send files from my PC TO the Zaurus but can't figure out how to SEND a file from the Zaurus to the PC.  I don't see any Obex software anywhere.
?????

Quote
on Cako 1.23 there is obextool for sending file and opd to receive....
For me all works well !!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=113130\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115874\"][{POST_SNAPBACK}][/a][/div]

obextool is a command line tool. unfortunately, there aren't many gui tools out there yet. i found one called Tech-EDV which is a GUI obextool, actually, its a GUI implementing obexftp and is also called ObexTool to confuse the matter  This tool uses X so might be more useful for pdaXrom than Sharp/Cacko.

there are also a few nifty java/midp tools out there for obex file browsing and transfer but the limited java support on the Zaurus is a pain  i might try to backport some of them if i have time, but then it might not be worth the effort so i have instead written a qshdlg script to do something simple. for those who don't know, qshdlg is similar to opie-sh but more advanced.

i have build a bluetooth package which has the bluez stack and obex as well as the script for for a bluetooth gui. it has borrowed many files from cacko and is intended to provide bluetooth support for the stock Sharp ROM on the C3x00/C1000.
Title: Sending Files Via Bluetooth
Post by: gab74 on February 27, 2006, 02:20:50 pm
Any news about the bluetooth GUI ??? is it possible download ???
Title: Sending Files Via Bluetooth
Post by: Meanie on March 01, 2006, 12:55:34 am
Quote
Any news about the bluetooth GUI ??? is it possible download ???
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=116263\")

here's the stripped version for cacko. it only contains the scripts and supporting icons. you will need to install qshdlg [a href=\"http://zaurus.daemons.gr/menaie/build/qshdlg_0.6.2-1_arm.ipk]http://zaurus.daemons.gr/menaie/build/qshdlg_0.6.2-1_arm.ipk[/url] too.
Title: Sending Files Via Bluetooth
Post by: gab74 on March 07, 2006, 02:46:41 pm
Quote
Quote
Any news about the bluetooth GUI ??? is it possible download ???
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=116263\")

here's the stripped version for cacko. it only contains the scripts and supporting icons. you will need to install qshdlg [a href=\"http://zaurus.daemons.gr/menaie/build/qshdlg_0.6.2-1_arm.ipk]http://zaurus.daemons.gr/menaie/build/qshdlg_0.6.2-1_arm.ipk[/url] too.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116475\"][{POST_SNAPBACK}][/a][/div]

I try your GUI on my C3100 running cacko 1.23
All works well except the sending files with obex push...
the gui say " file sending success" but no file is received...
if i use the command line all works well, so i think there is some problem in the GUI......
Title: Sending Files Via Bluetooth
Post by: bluedevils on March 07, 2006, 04:59:07 pm
I just sent a vcard via obextool push (my phone doesn't support ftp) to my phone

Code: [Select]
obextool -i hci0 push addressbook.vcf
I got the bt address and channel from sdptool browse.  This shows the target's (phone) bluetooth infromation.  hci0 is the interface of the zaurus's (at least for me) bluetooth card.
Title: Sending Files Via Bluetooth
Post by: gab74 on March 08, 2006, 03:17:44 pm
Quote
I just sent a vcard via obextool push (my phone doesn't support ftp) to my phone

Code: [Select]
obextool -i hci0 push addressbook.vcf
I got the bt address and channel from sdptool browse.  This shows the target's (phone) bluetooth infromation.  hci0 is the interface of the zaurus's (at least for me) bluetooth card.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=117464\"][{POST_SNAPBACK}][/a][/div]

infact from command line it works....
from the GUI no !
Title: Sending Files Via Bluetooth
Post by: Meanie on March 08, 2006, 09:39:39 pm
yeah, I was lazy and hardcoded my mobile phone's obex push channel instead of dynamically determing the channel number using sdptool. I will fix it eventually when I have some time. Too busy with pdaXrom atm...
Title: Sending Files Via Bluetooth
Post by: Jon_J on May 11, 2006, 02:52:16 pm
Quote
yeah, I was lazy and hardcoded my mobile phone's obex push channel instead of dynamically determing the channel number using sdptool. I will fix it eventually when I have some time. Too busy with pdaXrom atm...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=117670\"][{POST_SNAPBACK}][/a][/div]
Any updates on this yet?
I haven't had much luck with my 2 BT Kensington dongles..
Title: Sending Files Via Bluetooth
Post by: Jon_J on May 27, 2006, 07:11:40 am
Any updates on this?
I just got a Socket CF Bluetooth card.
When using OBEX Push, I just get an empty list?
How can I browse files and send them with this?
I cannot type into the window either.
Title: Sending Files Via Bluetooth
Post by: Jon_J on May 27, 2006, 08:18:46 am
I changed these 3 applications to "Run as root",
but that didn't resolve the issue with OBEX push not finding any files.
Is there a particular directory, that the files should be located in, for OBEX push to "find" them?
Title: Sending Files Via Bluetooth
Post by: bam on May 27, 2006, 01:31:52 pm
there s/b an outbox in your documents directory.
Title: Sending Files Via Bluetooth
Post by: Jon_J on May 27, 2006, 11:48:54 pm
It seems to only detect certain types of files. I have a word document in /hdd3/Documents/OBEX_Outbox
and a text document in /hdd3/Documents/OBEX_Inbox
These don't show up, I'll try a picture file next.
Is this good for pictures only?
I tried it again after I placed a *.jpg file in OBEX_Outbox, and It found  the file.
I want to be able to transfer all filetypes, not just pictures.
I tried sending it, and the OBEX push GUI said it was sent, but it never got to my windows desktop.
I was hoping after spending $134.00 on a new Socket bluetooth card, that I could have better capability with file transfer.
I think bluetooth should have a filemanager that allows you to view both your connected device, (in this case a desktop PC and it's entire filesystem), and the entire filesystem on the Zaurus.
Title: Sending Files Via Bluetooth
Post by: penguinsam on June 04, 2006, 05:22:19 am
Quote
Quote
Quote
Any news about the bluetooth GUI ??? is it possible download ???
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=116263\")

here's the stripped version for cacko. it only contains the scripts and supporting icons. you will need to install qshdlg [a href=\"http://zaurus.daemons.gr/menaie/build/qshdlg_0.6.2-1_arm.ipk]http://zaurus.daemons.gr/menaie/build/qshdlg_0.6.2-1_arm.ipk[/url] too.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116475\"][{POST_SNAPBACK}][/a][/div]

I try your GUI on my C3100 running cacko 1.23
All works well except the sending files with obex push...
the gui say " file sending success" but no file is received...
if i use the command line all works well, so i think there is some problem in the GUI......
[div align=\"right\"][a href=\"index.php?act=findpost&pid=117441\"][{POST_SNAPBACK}][/a][/div]

Same here, there is a message "File sent!" on the GUI but actually no file is sent...
Title: Sending Files Via Bluetooth
Post by: albertr on June 05, 2006, 09:28:00 pm
Quote
I just sent a vcard via obextool push (my phone doesn't support ftp) to my phone

Code: [Select]
obextool -i hci0 push addressbook.vcf
I got the bt address and channel from sdptool browse.  This shows the target's (phone) bluetooth infromation.  hci0 is the interface of the zaurus's (at least for me) bluetooth card.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=117464\"][{POST_SNAPBACK}][/a][/div]


Does anyone have a copy of source code of command-line obextool? I seem to have  trouble trying to locate it...
-albertr
Title: Sending Files Via Bluetooth
Post by: Jon_J on June 05, 2006, 10:26:04 pm
Quote
Quote
I just sent a vcard via obextool push (my phone doesn't support ftp) to my phone

Code: [Select]
obextool -i hci0 push addressbook.vcf
I got the bt address and channel from sdptool browse.  This shows the target's (phone) bluetooth infromation.  hci0 is the interface of the zaurus's (at least for me) bluetooth card.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=117464\"][{POST_SNAPBACK}][/a][/div]


Does anyone have a copy of source code of command-line obextool? I seem to have  trouble trying to locate it...
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129971\"][{POST_SNAPBACK}][/a][/div]
I have Cacko installed, I think obextool is embedded in the cramfs of Cacko.
I extracted this from Meanie's "bluetooth-support_1.23-1_arm.zip"
it is located in /opt/QtPalmtop/bin
I had to zip it up to post it here.
Title: Sending Files Via Bluetooth
Post by: albertr on June 06, 2006, 07:50:33 am
Jon_J, thanks. I'm looking for source code, not pre-compiled binaries.
-albertr
Title: Sending Files Via Bluetooth
Post by: Meanie on June 09, 2006, 07:00:17 am
Quote
Jon_J, thanks. I'm looking for source code, not pre-compiled binaries.
-albertr
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=130045\")

plenty of source code available on the pdaxrom site
 
[a href=\"http://mail.pdaxrom.org/download/1.1.0beta4/src/openobex-1.0.1.tar.gz]http://mail.pdaxrom.org/download/1.1.0beta...ex-1.0.1.tar.gz[/url]
Title: Sending Files Via Bluetooth
Post by: albertr on June 09, 2006, 07:55:20 am
Actually, I was looking for source code of obextool. It used to be on unrooted.net, but no longer. I found a copy at:

http://org.csail.mit.edu/misc/obextool.tar.gz (http://org.csail.mit.edu/misc/obextool.tar.gz)

-albertr
Title: Sending Files Via Bluetooth
Post by: moi on July 31, 2006, 02:25:44 pm
hi!

any news about sending files via bluetooth?

Meanie's scrip doesn't let me send files ("file sent!" but no-go), and a nice filemanager as Jon_J says would be nice.

thanks.
Title: Sending Files Via Bluetooth
Post by: bam on July 31, 2006, 03:13:37 pm
you could prolly add to fileexplorer plus send to if you know what device address and channel you are sending to.
Title: Sending Files Via Bluetooth
Post by: moi on July 31, 2006, 03:22:03 pm
Quote
you could prolly add to fileexplorer plus send to if you know what device address and channel you are sending to.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137083\"][{POST_SNAPBACK}][/a][/div]

yes, but nobody has succeeded on this, or at least, nobody has published any results yet
Title: Sending Files Via Bluetooth
Post by: penguinsam on August 02, 2006, 01:28:19 pm
ya, i am still finding ways to send files via bluetooth...
Title: Sending Files Via Bluetooth
Post by: stupkid on August 14, 2006, 02:40:39 am
Here is what I'm doing and it works wonderfully.  You can send files to your phone from the TreeExplorer interface.

Install TreeExplorer Plus from the Cacko feed or download it:

http://hpcgi2.nifty.com/taku2001/zau/texpl...qt_p/top_en.cgi (http://hpcgi2.nifty.com/taku2001/zau/texplorerqt_p/top_en.cgi)

To get the "Send To" function working you will need to register the software.

Assuming that your phone is already paired with your Zaurus.  Here is how to set up the "Send To" option for your phone:

1.  Launch TreeExplorer
2.  Click on Edit->Options->Send To
3.  Click on "Add Command"
4.  In the "Title:" dialog I put "T610 Phone"
5.  In the "Linux command:" dialog put "obextool -i hci0 push %1 <phone_address> <channel>"
For my phone this looked something like this:

"obextool -i hci0 push %1 00:11:22:33:44:55 7"

6.  Click OK
7.  Click OK

You should now be able to browse to a file and Hold tap->Send To->Phone and the file will send to your phone.

To determine the address of your phone open a console and:

1.  Turn on bluetooth on your phone make sure that it is "visible".
2.  Run "hcitool scan" from the command line.  The address of your phone should be display after it has finished executing.
3.  Next run "sdptool browse <phone_address>" using the address you just discovered.
4.  In the output look for "Service Name: OBEX File Transfer" stanza this should have the Channel for OBEX file transfers.  Mine looked like this:

Service Name:  OBEX File Transfer
Service Rec Handle: 0x1000f
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel:  7
  "OBEX" (0x0008)
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version:  0x0100

Hope this helps!
Title: Sending Files Via Bluetooth
Post by: moi on August 14, 2006, 10:14:31 am
Thanks for describing the whole process stupkid. This must be pinned somewhere.

again, THANKS!
Title: Sending Files Via Bluetooth
Post by: Jon_J on August 14, 2006, 10:57:43 am
Quote
Here is what I'm doing and it works wonderfully.  You can send files to your phone from the TreeExplorer interface.

Install TreeExplorer Plus from the Cacko feed or download it:
To get the "Send To" function working you will need to register the software.

Hope this helps!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138565\"][{POST_SNAPBACK}][/a][/div]
Any other filemanagers that have this function?
I cannot register TreeExplorer because I don't have a credit card, and they won't accept money orders sent thru regular post office mail.
Are there any actual stores that sell TreeExplorer, (like best buy, staples, circuit city, etc), where I can purchase full TreeExplorer?
Thanks, sorry for off topic
Title: Sending Files Via Bluetooth
Post by: stupkid on August 14, 2006, 11:39:12 am
Quote
Any other filemanagers that have this function?
I cannot register TreeExplorer because I don't have a credit card, and they won't accept money orders sent thru regular post office mail.
Are there any actual stores that sell TreeExplorer, (like best buy, staples, circuit city, etc), where I can purchase full TreeExplorer?
Thanks, sorry for off topic[div align=\"right\"][a href=\"index.php?act=findpost&pid=138599\"][{POST_SNAPBACK}][/a][/div]
Not that I am aware of.  Tree Explorer is the nicest file manager that I have found for the Sharp based ROMs.  It would be nice if there were some other free file managers that had this functionality, but I have not found one yet.  If you find one please let us know.  

Oh, and as far as I know Tree Explorer is published by a single person.  So, I would doubt that you could find a copy in a store.