Author Topic: Bluetooth Recieve  (Read 14660 times)

rmrfchik

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Bluetooth Recieve
« on: August 08, 2005, 10:17:37 am »
How can I recieve files with BT in pdaXrom RC10?
--
pdaXrom, SL-C860, Chronos (Billionton) BT/CF, SE Z600, SD 1Gb, Debian, brain damaged.

netdevil

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
Bluetooth Recieve
« Reply #1 on: August 17, 2005, 03:34:19 am »
Quote
How can I recieve files with BT in pdaXrom RC10?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Download obexserver from here: [a href=\"http://justnews.ru/zaurus/obexserver_1.0_armv5tel.ipk]http://justnews.ru/zaurus/obexserver_1.0_armv5tel.ipk[/url]
and type in command line:
# sdptool add --channel=10 OPUSH
# obexserver

rmrfchik

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Bluetooth Recieve
« Reply #2 on: August 17, 2005, 03:47:54 am »
Quote
Quote
How can I recieve files with BT in pdaXrom RC10?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Download obexserver from here: [a href=\"http://justnews.ru/zaurus/obexserver_1.0_armv5tel.ipk]http://justnews.ru/zaurus/obexserver_1.0_armv5tel.ipk[/url]
and type in command line:
# sdptool add --channel=10 OPUSH
# obexserver
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92113\"][{POST_SNAPBACK}][/a][/div]
This package was made by me
--
pdaXrom, SL-C860, Chronos (Billionton) BT/CF, SE Z600, SD 1Gb, Debian, brain damaged.

netdevil

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
Bluetooth Recieve
« Reply #3 on: August 17, 2005, 04:06:54 am »
Quote
Quote
Quote
How can I recieve files with BT in pdaXrom RC10?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Download obexserver from here: [a href=\"http://justnews.ru/zaurus/obexserver_1.0_armv5tel.ipk]http://justnews.ru/zaurus/obexserver_1.0_armv5tel.ipk[/url]
and type in command line:
# sdptool add --channel=10 OPUSH
# obexserver
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92113\"][{POST_SNAPBACK}][/a][/div]
This package was made by me
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92114\"][{POST_SNAPBACK}][/a][/div]

Thank you for creating this package!
And how to send file via bt ?

rmrfchik

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Bluetooth Recieve
« Reply #4 on: August 17, 2005, 04:29:43 am »
Quote
Thank you for creating this package!
And how to send file via bt ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92115\"][{POST_SNAPBACK}][/a][/div]
Can't do that now
I think, I build full obex tools and check it.
--
pdaXrom, SL-C860, Chronos (Billionton) BT/CF, SE Z600, SD 1Gb, Debian, brain damaged.

netdevil

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
Bluetooth Recieve
« Reply #5 on: August 17, 2005, 04:42:24 am »
Quote
Quote
Thank you for creating this package!
And how to send file via bt ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92115\"][{POST_SNAPBACK}][/a][/div]
Can't do that now
I think, I build full obex tools and check it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92118\"][{POST_SNAPBACK}][/a][/div]

It's a great idea!
Thank you and good luck!

rmrfchik

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Bluetooth Recieve
« Reply #6 on: August 17, 2005, 08:52:42 am »
I updated info on http://justnews.ru/zaurus and upload packages.
Stay tuned!
--
pdaXrom, SL-C860, Chronos (Billionton) BT/CF, SE Z600, SD 1Gb, Debian, brain damaged.

netdevil

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
Bluetooth Recieve
« Reply #7 on: August 17, 2005, 09:01:14 am »
Sending file via BT well done!!!

I got file "obextool" from CackoRom22a (thanks Anton Maslovky).
It attached to this post.
Make a link: ln -s /usr/lib/libopenobex-1.0.so.1.0.0 /usr/lib/libopenobex-1.0.so.0
and wrote a script "send.bt" for sending file via bt:

#!/usr/bin/perl

$file = $ARGV[0] or die "Usage:\n send.bt <filename>\n\n";
while (!$bt){
   @bt = `hcitool scan`;
   print @bt;
   print "\nEnter BT client: ";
   $bt = <STDIN>;
   chomp $bt;
   foreach $str (@bt){
      chomp $str;
      if ($str =~ /^\s+([\d\w:]+)\s+$bt.*$/){
         $mac = $1;
      }
   }
   $bt = "" if !$mac;
}
@res = `sdptool search --bdaddr $mac OPUSH`;
print @res;
foreach $str (@res){
   if ($str =~ /\s*Channel: (\d+).*/){
      $channel = $1;
   }
}
print "Waiting for send file\n";
@res = `obextool push $file $mac $channel`;
print @res;
« Last Edit: August 17, 2005, 09:03:14 am by netdevil »

rmrfchik

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Bluetooth Recieve
« Reply #8 on: August 17, 2005, 09:04:57 am »
Quote
Sending file via BT well done!!!

I got file "obextool" from CackoRom22a (thanks Anton Maslovky).
I upload via bt without any additional scripts and tools.
--
pdaXrom, SL-C860, Chronos (Billionton) BT/CF, SE Z600, SD 1Gb, Debian, brain damaged.

netdevil

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
Bluetooth Recieve
« Reply #9 on: August 17, 2005, 09:09:31 am »
Quote
Quote
Sending file via BT well done!!!

I got file "obextool" from CackoRom22a (thanks Anton Maslovky).
I upload via bt without any additional scripts and tools.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92147\"][{POST_SNAPBACK}][/a][/div]

I use scripts because i am too lazy for write a commands.
It's very easy write: send.bt <filemame>

rmrfchik

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Bluetooth Recieve
« Reply #10 on: August 17, 2005, 09:15:27 am »
Quote
I use scripts because i am too lazy for write a commands.
It's very easy write: send.bt <filemame>
Not too more to write:
obexftp -p -b <filename>
--
pdaXrom, SL-C860, Chronos (Billionton) BT/CF, SE Z600, SD 1Gb, Debian, brain damaged.

netdevil

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
Bluetooth Recieve
« Reply #11 on: August 17, 2005, 09:33:20 am »
Quote
Quote
I use scripts because i am too lazy for write a commands.
It's very easy write: send.bt <filemame>
Not too more to write:
obexftp -p -b <filename>

[div align=\"right\"][a href=\"index.php?act=findpost&pid=92151\"][{POST_SNAPBACK}][/a][/div]

What about BTADDR ?
A you known BTADDR all your BT devices ?
My script seaкche all bt devices and you only choose device which you want to send a file

Darth_Sith

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Bluetooth Recieve
« Reply #12 on: August 30, 2006, 04:11:51 am »
Hi.
I can receive, but can't send files.
The script don't work, and obexftp give me "no custom trasport"...

What I can do?
It's possible get work in rox (send option)?

Thanks for answers.

SL-C1000 + cacko 1.23F + sd4GB + CFBT + CFWiFi
HTC Polaris

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Bluetooth Recieve
« Reply #13 on: September 07, 2006, 08:57:02 am »
Quote
Hi.
I can receive, but can't send files.
The script don't work, and obexftp give me "no custom trasport"...

What I can do?
It's possible get work in rox (send option)?

Thanks for answers.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140154\"][{POST_SNAPBACK}][/a][/div]

maybe some news on this later, i'm struggling with gnome-bluetooth on my Z right now
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Bluetooth Recieve
« Reply #14 on: September 10, 2006, 09:57:06 am »
Quote
I can receive, but can't send files.
The script don't work, and obexftp give me "no custom trasport"...
Can't send either. I'm using the packages from the official feed. When I try to list files on my phone:
Code: [Select]
obexftp --device --listI immediately get:
Code: [Select]
Custom transport set to 'Universal/Siemens'
Connecting...failed: connect
Still trying to connect
Connecting...failed: connect
Still trying to connect
Connecting...failed: connect
Still trying to connect
Actually any of the commands (--info, --put, etc) results in the same error.

My desktop is able to send and receive files from the phone without any problems (using the KDE ioslaves).

Also I'm able to use bluetooth from the Z to connect to the internet through the phone's gprs. But I can't get a simple file transfer to work
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM