Troubles with SE T610 and P900

2004-05-03
2013-05-01
  • Hi!
    I am trying to get any files via bluetooth from these mobiles, but there is an error.
    This services from my T610:

    # sdptool browse 00:AA:DD:99:BB:DD
    Browsing 00:AA:DD:99:BB:DD ...
    Service Name: Dial-up Networking
    Service RecHandle: 0x10000
    Service Class ID List:
      "Dialup Networking" (0x1103)
      "Generic Networking" (0x1201)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 1
    Profile Descriptor List:
      "Dialup Networking" (0x1103)
        Version: 0x0100

    Service Name: Voice gateway
    Service RecHandle: 0x10002
    Service Class ID List:
      "Headset Audio Gateway" (0x1112)
      "Generic Audio" (0x1203)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 3
    Profile Descriptor List:
      "Headset" (0x1108)
        Version: 0x0100

    Service Name: Serial Port 1
    Service RecHandle: 0x10003
    Service Class ID List:
      "Serial Port" (0x1101)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 4

    Service Name: Serial Port 2
    Service RecHandle: 0x10004
    Service Class ID List:
      "Serial Port" (0x1101)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 5

    Service Name: OBEX Object Push
    Service RecHandle: 0x10005
    Service Class ID List:
      "OBEX Object Push" (0x1105)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 10
      "OBEX" (0x0008)
    Profile Descriptor List:
      "OBEX Object Push" (0x1105)
        Version: 0x0100

    Service Name: IrMC Synchronization
    Service RecHandle: 0x10006
    Service Class ID List:
      "IrMCSync" (0x1104)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 11
      "OBEX" (0x0008)
    Profile Descriptor List:
      "IrMCSync" (0x1104)
        Version: 0x0100

    Service Name: HF Voice gateway
    Service RecHandle: 0x10007
    Service Class ID List:
      "" (0x111f)
      "Generic Audio" (0x1203)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 6
    Profile Descriptor List:
      "" (0x111e)
        Version: 0x0100

    Service Name: OBEX Basic Imaging
    Service RecHandle: 0x1000b
    Service Class ID List:
      "" (0x111b)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 15
      "OBEX" (0x0008)
    Profile Descriptor List:
      "" (0x111a)
        Version: 0x0100

    Service Name: OBEX File Transfer
    Service RecHandle: 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

    So, I need to use chanel 7. Next step is:

    # obexftp -b 00:AA:DD:99:BB:DD -B 7 -l /
    No custom transport
    Connecting...bt: 1
    done
    Receiving /... <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd">
    <!--
    Generated by XML Coder.
    xml_coder.c (Jun 27 2003 18:50:16)
    (C) 2001 Sony Ericsson Mobile Communications AB, Lund, Sweden
    -->
    <folder-listing version="1.0"><folder name="Pictures"/>
    <folder name="Sounds"/>
    <folder name="Themes"/>
    </folder-listing>
    done
    Disconnecting...done

    Perhaps, there is all ok:

    # obexftp -b 00:AA:DD:99:BB:DD -B 7 -l Pictures
    No custom transport
    Connecting...bt: 1
    done
    Receiving Pictures...-<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd">
    <!--
    Generated by XML Coder.
    xml_coder.c (Jun 27 2003 18:50:16)
    (C) 2001 Sony Ericsson Mobile Communications AB, Lund, Sweden
    -->
    <folder-listing version="1.0"><parent-folder/>
    <file name="Flower.gif" size="427"/>
    <file name="Screensaver.gif" size="14908"/>
    <file name="Candle.gif" size="649"/>
    <file name="Coffeecup.gif" size="399"/>
    <file name="Dinner.gif" size="396"/>
    <file name="Love.gif" size="625"/>
    <file name="Money.gif" size="549"/>
    <file name="Party.gif" size="488"/>
    <file name="Umbrella.gif" size="439"/>
    <file name="Bandit.wbmp" size="134"/>
    <file name="Cool.wbmp" size="134"/>
    <file name="Friend.wbmp" size="134"/>
    <file name="Funny.wbmp" size="134"/>
    <file name="Geek.wbmp" size="134"/>
    <file name="Idiot.wbmp" size="134"/>
    <file name="Joker.wbmp" size="134"/>
    <file name="Rose.wbmp" size="134"/>
    <file name="Beer.wbmp" size="134"/>
    <file name="Cake.wbmp" size="134"/>
    <file name="Cup.wbmp" size="134"/>
    <file name="Hot.wbmp" size="134"/>
    <file name="Meal.wbmp" size="134"/>
    <file name="Rain.wbmp" size="134"/>
    <file name="Sunglasses.wbmp" size="134"/>
    </folder-listing>
    done
    Disconnecting...done

    And next:
    # obexftp -b 00:0A:D9:96:BF:D2 -B 7 -c Pictures -g Rain.wbmp
    No custom transport
    Connecting...bt: 1
    done
    Sending Pictures... Sending Pictures... failed: Pictures
    Receiving Rain.wbmp... failed: Rain.wbmp
    Disconnecting...done

    I also tried to change directory after command create by option -C

    obexftp -b 00:AA:DD:99:BB:DD -B 7 -C Pictures -g Rain.wbmp
    No custom transport
    Connecting...bt: 1
    done
    Sending Pictures... Sending Pictures... failed: Pictures
    Receiving Rain.wbmp... failed: Rain.wbmp
    Disconnecting...done

    And directly, by writing full path
    #  obexftp -b 00:AA:DD:99:BB:DD -B 7 -g Pictures/Rain.wbmp
    No custom transport
    Connecting...bt: 1
    done
    Receiving Pictures/Rain.wbmp... failed: Pictures/Rain.wbmp
    Disconnecting...done

    When I am trying to set transoirt as ericsson, obexftp can't connect:
      obexftp -b 00:AA:DD:99:BB:DD -B 7 -t ericsson -C Pictures -g Rain.wbmp
    Custom transport set to 'Siemens/Ericsson'
    Connecting...bt: -1
    failed: connect
    Still trying to connect
    Connecting...bt: -1
    failed: connect
    Still trying to connect
    Connecting...bt: -1
    failed: connect
    Still trying to connect
    Custom transport set to 'Siemens/Ericsson'
    Connecting...bt: -1
    failed: connect
    Still trying to connect
    Connecting...bt: -1
    failed: connect
    Still trying to connect
    Connecting...bt: -1
    failed: connect
    Still trying to connect

    I have compiled both versions obexftp 0.10.4-rc3 with and without patch for T610, and 0.10.4-rc4.
    And I can't also connect to my P900.
    Where is problem? What can I do for solve these problems?
    Thank you!

     
    • Pavel Franc
      Pavel Franc
      2004-05-05

      I have the same problem with T610, irda and obexftp 0.10.4-rc4 (Mandrake 9.2).

      I can get directory listing (btw, I own T610 with Czech localization and file system folders are named in Czech language, including ISO 8859-2 characters - but there's no trouble with that) and I see all the files (pictues, sounds, themes). But trying to get a file crashes.

      I have compiled obexftp with debug flags to get some more information. Here's an example of listing sound folder (successfull) and getting the sound file Vertigo (in Czech the folder is named "Zvuky"):

      [pfranc@home apps]$ ./obexftp -l Zvuky
      No custom transport
      obexftp_cli_open()
      obexftp_cli_connect()
      Connecting...obexftp_cli_connect() IR 1
      obexftp_cli_connect() TC 1
      cli_sync_request()
      obexftp_sync()
      client_done()
      client_done() Found connection number: 4
      client_done() Sender identified
      obexftp_sync() OBEX_HandleInput = 31
      obexftp_sync() Done success=1
      done
      Receiving Zvuky... obexftp_list() Listing Zvuky -> (null)
      cli_sync_request()
      obexftp_sync()
      obexftp_sync() OBEX_HandleInput = 252
      obexftp_sync() OBEX_HandleInput = 504
      \obexftp_sync() OBEX_HandleInput = 507
      obexftp_sync() OBEX_HandleInput = 252
      obexftp_sync() OBEX_HandleInput = 504
      |obexftp_sync() OBEX_HandleInput = 507
      obexftp_sync() OBEX_HandleInput = 252
      client_done()
      client_done() Found connection number: 4
      client_done() Found connection number: 4
      client_done() Found connection number: 4
      client_done() Found body (length: 1301)
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd">
      <!--
      Generated by XML Coder.
      xml_coder.c (Sep 24 2003 11:24:33)
      (C) 2001 Sony Ericsson Mobile Communications AB, Lund, Sweden
      -->
      <folder-listing version="1.0"><parent-folder/>
      <file name="Digirain.mid" size="27748"/>
      <file name="Greeting.mid" size="4463"/>
      <file name="Old Phone.mid" size="5726"/>
      <file name="Vertigo.mid" size="6562"/>
      (...cut...)
      </folder-listing>
      client_done() Done body
      client_done() Body not written
      obexftp_sync() OBEX_HandleInput = 320
      obexftp_sync() Done success=1
      done
      obexftp_cli_disconnect()
      Disconnecting...cli_sync_request()
      obexftp_sync()
      client_done()
      obexftp_sync() OBEX_HandleInput = 3
      obexftp_sync() Done success=1
      done
      obexftp_cli_close()

      [pfranc@home apps]$ ./obexftp -c Zvuky -g Vertigo.mid
      No custom transport
      obexftp_cli_open()
      obexftp_cli_connect()
      Connecting...obexftp_cli_connect() IR 1
      obexftp_cli_connect() TC 1
      cli_sync_request()
      obexftp_sync()
      client_done()
      client_done() Found connection number: 5
      client_done() Sender identified
      obexftp_sync() OBEX_HandleInput = 31
      obexftp_sync() Done success=1
      done
      Sending Zvuky... obexftp_setpath() Changing to Zvuky
      Sending Zvuky... cli_sync_request()
      obexftp_sync()
      cli_obex_event() OBEX_EV_REQDONE: obex_rsp=41
      client_done()
      obexftp_sync() OBEX_HandleInput = 3
      obexftp_sync() Done success=0
      failed: Zvuky
      Receiving Vertigo.mid... obexftp_get() Getting Vertigo.mid -> Vertigo.mid
      cli_sync_request()
      obexftp_sync()
      cli_obex_event() OBEX_EV_REQDONE: obex_rsp=44
      client_done()
      obexftp_sync() OBEX_HandleInput = 3
      obexftp_sync() Done success=0
      failed: Vertigo.mid
      obexftp_cli_disconnect()
      Disconnecting...cli_sync_request()
      obexftp_sync()
      client_done()
      obexftp_sync() OBEX_HandleInput = 3
      obexftp_sync() Done success=1
      done
      obexftp_cli_close()

      Of course, I get the same results trying to download any file in any directory.

      Thank you for any help!
      Pavel Franc

       
    • Olivier Berger
      Olivier Berger
      2005-01-09

      I think I found a way to solve this, applying a patch.

      See : http://sourceforge.net/tracker/index.php?func=detail&aid=1099008&group_id=8960&atid=308960

      Hope this helps