Unable to upload file to any Motorola device

Help
Max Gilead
2008-02-26
2013-05-01
  • Max Gilead

    Max Gilead - 2008-02-26

    Hi!

    I can't see to be able to upload JAR files to any Motorola devices (tried V3, L6, L7, K1). This looks strange since it works fine for all other brands (SE, Nokia, Siemens, LG etc). I suppose it's got something to do with two-stage authentication Motorola devices perform. Ok, here's description of what happens:

    (btw, adding -c / option doesn't help, -v doesn't give any more output):
    - obexftp -b MAC -p FILE
    Browsing MAC ...
    Channel: 9
    Connecting...
    - on device a window appears: OBEX file transfer: Requested by LAPTOP. I click 'Grant'
    Connecting...done
    Sending "FILE"...\failed: FILE
    Disconnecting...done

    That's it. Curiously, gnome-obex-send works fine, here's how it looks:
    - gnome-obex-send -d MAC FILE
    - on device a window appears: OBEX file transfer: Requested by <computerID>. I click 'Grant'
    - on device a window appears: 'Connected to LAPTOP', then another window: 'Incoming transfer: FILE From: LAPTOP', I click 'Accept', file gets transferred correctly:
    Browsing 00:17:E3:18:2C:7A ...
    Service Name: OBEX Object Push
    Service Description: OBEX Object Push
    Service Provider: /a/mobile/system/cl.gif
    Service RecHandle: 0x10008
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 8
      "OBEX" (0x0008)
    Service Class ID List:
      "OBEX Object Push" (0x1105)
    ** Message: device 00:17:E3:18:2C:7A (OBEX Object Push) port 8

    What can I do to make obexftp correctly work with Motorola devices?

    Thanks in advance,
    Max

    Some additional info:

    $ sdptool browse 00:17:E3:18:2C:7A
    Browsing 00:17:E3:18:2C:7A ...
    Service RecHandle: 0x0
    Service Class ID List:
      "SDP Server" (0x1000)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "SDP" (0x0001)
    Profile Descriptor List:
      "SDP Server" (0x1000)
        Version: 0x0100

    Service Name: Dial-up Networking Gateway
    Service Description: Dial-up Networking Gateway
    Service Provider: /a/mobile/system/cl.gif
    Service RecHandle: 0x10001
    Service Class ID List:
      "Dialup Networking" (0x1103)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 1
    Language Base Attr List:
      code_ISO639: 0x656e
      encoding:    0x6a
      base_offset: 0x100
      code_ISO639: 0x6875
      encoding:    0x6a
      base_offset: 0xc800
      code_ISO639: 0x706c
      encoding:    0x6a
      base_offset: 0xc803
      code_ISO639: 0x6373
      encoding:    0x6a
      base_offset: 0xc806
      code_ISO639: 0x736b
      encoding:    0x6a
      base_offset: 0xc809
      code_ISO639: 0x736c
      encoding:    0x6a
      base_offset: 0xc80c
      code_ISO639: 0x6872
      encoding:    0x6a
      base_offset: 0xc80f
    Profile Descriptor List:
      "Dialup Networking" (0x1103)
        Version: 0x0100

    Service Name: Voice Gateway
    Service Description: Headset Audio Gateway
    Service Provider: /a/mobile/system/cl.gif
    Service RecHandle: 0x10003
    Service Class ID List:
      "Headset Audio Gateway" (0x1112)
      "Generic Audio" (0x1203)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 3
    Language Base Attr List:
      code_ISO639: 0x656e
      encoding:    0x6a
      base_offset: 0x100
      code_ISO639: 0x6875
      encoding:    0x6a
      base_offset: 0xc800
      code_ISO639: 0x706c
      encoding:    0x6a
      base_offset: 0xc803
      code_ISO639: 0x6373
      encoding:    0x6a
      base_offset: 0xc806
      code_ISO639: 0x736b
      encoding:    0x6a
      base_offset: 0xc809
      code_ISO639: 0x736c
      encoding:    0x6a
      base_offset: 0xc80c
      code_ISO639: 0x6872
      encoding:    0x6a
      base_offset: 0xc80f
    Profile Descriptor List:
      "Headset" (0x1108)
        Version: 0x0100

    Service Name: Handsfree Voice Gateway
    Service Description: Handsfree Voice Gateway
    Service Provider: /a/mobile/system/cl.gif
    Service RecHandle: 0x10007
    Service Class ID List:
      "Handfree Audio Gateway" (0x111f)
      "Generic Audio" (0x1203)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 7
    Language Base Attr List:
      code_ISO639: 0x656e
      encoding:    0x6a
      base_offset: 0x100
      code_ISO639: 0x6875
      encoding:    0x6a
      base_offset: 0xc800
      code_ISO639: 0x706c
      encoding:    0x6a
      base_offset: 0xc803
      code_ISO639: 0x6373
      encoding:    0x6a
      base_offset: 0xc806
      code_ISO639: 0x736b
      encoding:    0x6a
      base_offset: 0xc809
      code_ISO639: 0x736c
      encoding:    0x6a
      base_offset: 0xc80c
      code_ISO639: 0x6872
      encoding:    0x6a
      base_offset: 0xc80f
    Profile Descriptor List:
      "Handsfree" (0x111e)
        Version: 0x0105

    Service Name: OBEX Object Push
    Service Description: OBEX Object Push
    Service Provider: /a/mobile/system/cl.gif
    Service RecHandle: 0x10008
    Service Class ID List:
      "OBEX Object Push" (0x1105)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 8
      "OBEX" (0x0008)
    Language Base Attr List:
      code_ISO639: 0x656e
      encoding:    0x6a
      base_offset: 0x100
      code_ISO639: 0x6875
      encoding:    0x6a
      base_offset: 0xc800
      code_ISO639: 0x706c
      encoding:    0x6a
      base_offset: 0xc803
      code_ISO639: 0x6373
      encoding:    0x6a
      base_offset: 0xc806
      code_ISO639: 0x736b
      encoding:    0x6a
      base_offset: 0xc809
      code_ISO639: 0x736c
      encoding:    0x6a
      base_offset: 0xc80c
      code_ISO639: 0x6872
      encoding:    0x6a
      base_offset: 0xc80f
    Profile Descriptor List:
      "OBEX Object Push" (0x1105)
        Version: 0x0100

    Service Name: OBEX file transfer
    Service Description: OBEX file transfer
    Service Provider: /a/mobile/system/cl.gif
    Service RecHandle: 0x10009
    Service Class ID List:
      "OBEX File Transfer" (0x1106)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 9
      "OBEX" (0x0008)
    Language Base Attr List:
      code_ISO639: 0x656e
      encoding:    0x6a
      base_offset: 0x100
      code_ISO639: 0x6875
      encoding:    0x6a
      base_offset: 0xc800
      code_ISO639: 0x706c
      encoding:    0x6a
      base_offset: 0xc803
      code_ISO639: 0x6373
      encoding:    0x6a
      base_offset: 0xc806
      code_ISO639: 0x736b
      encoding:    0x6a
      base_offset: 0xc809
      code_ISO639: 0x736c
      encoding:    0x6a
      base_offset: 0xc80c
      code_ISO639: 0x6872
      encoding:    0x6a
      base_offset: 0xc80f
    Profile Descriptor List:
      "OBEX File Transfer" (0x1106)
        Version: 0x0100

    Service Name: Image Push
    Service Description: Image Push
    Service Provider: /a/mobile/system/cl.gif
    Service RecHandle: 0x1000a
    Service Class ID List:
      "Imaging Responder" (0x111b)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 10
      "OBEX" (0x0008)
    Language Base Attr List:
      code_ISO639: 0x656e
      encoding:    0x6a
      base_offset: 0x100
      code_ISO639: 0x6875
      encoding:    0x6a
      base_offset: 0xc800
      code_ISO639: 0x706c
      encoding:    0x6a
      base_offset: 0xc803
      code_ISO639: 0x6373
      encoding:    0x6a
      base_offset: 0xc806
      code_ISO639: 0x736b
      encoding:    0x6a
      base_offset: 0xc809
      code_ISO639: 0x736c
      encoding:    0x6a
      base_offset: 0xc80c
      code_ISO639: 0x6872
      encoding:    0x6a
      base_offset: 0xc80f
    Profile Descriptor List:
      "Imaging" (0x111a)
        Version: 0x0100

    Service Name: Audio Source
    Service Description: Audio Source
    Service Provider: /a/mobile/system/cl.gif
    Service RecHandle: 0x1000d
    Service Class ID List:
      "Audio Source" (0x110a)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
        PSM: 25
      "AVDTP" (0x0019)
        uint16: 0x100
    Language Base Attr List:
      code_ISO639: 0x656e
      encoding:    0x6a
      base_offset: 0x100
      code_ISO639: 0x6875
      encoding:    0x6a
      base_offset: 0xc800
      code_ISO639: 0x706c
      encoding:    0x6a
      base_offset: 0xc803
      code_ISO639: 0x6373
      encoding:    0x6a
      base_offset: 0xc806
      code_ISO639: 0x736b
      encoding:    0x6a
      base_offset: 0xc809
      code_ISO639: 0x736c
      encoding:    0x6a
      base_offset: 0xc80c
      code_ISO639: 0x6872
      encoding:    0x6a
      base_offset: 0xc80f
    Profile Descriptor List:
      "Advanced Audio" (0x110d)
        Version: 0x0100

    Service Name: Audio Video Remote Control Target
    Service Description: Audio Video Remote Control Target
    Service Provider: /a/mobile/system/cl.gif
    Service RecHandle: 0x1000e
    Service Class ID List:
      "AV Remote Target" (0x110c)
    Protocol Descriptor List:
      "L2CAP" (0x0100)
        PSM: 23
      "AVCTP" (0x0017)
        uint16: 0x100
    Language Base Attr List:
      code_ISO639: 0x656e
      encoding:    0x6a
      base_offset: 0x100
      code_ISO639: 0x6875
      encoding:    0x6a
      base_offset: 0xc800
      code_ISO639: 0x706c
      encoding:    0x6a
      base_offset: 0xc803
      code_ISO639: 0x6373
      encoding:    0x6a
      base_offset: 0xc806
      code_ISO639: 0x736b
      encoding:    0x6a
      base_offset: 0xc809
      code_ISO639: 0x736c
      encoding:    0x6a
      base_offset: 0xc80c
      code_ISO639: 0x6872
      encoding:    0x6a
      base_offset: 0xc80f
    Profile Descriptor List:
      "AV Remote Target" (0x110c)
        Version: 0x0100

    Service Name: SyncML Data Synchronisation
    Service Description: SyncML Data Synchronisation
    Service Provider: /a/mobile/system/cl.gif
    Service RecHandle: 0x10010
    Service Class ID List:
      UUID 128: 00000002-0000-1000-8000-0002ee000002
    Protocol Descriptor List:
      "L2CAP" (0x0100)
      "RFCOMM" (0x0003)
        Channel: 12
      "OBEX" (0x0008)
    Language Base Attr List:
      code_ISO639: 0x656e
      encoding:    0x6a
      base_offset: 0x100
      code_ISO639: 0x6875
      encoding:    0x6a
      base_offset: 0xc800
      code_ISO639: 0x706c
      encoding:    0x6a
      base_offset: 0xc803
      code_ISO639: 0x6373
      encoding:    0x6a
      base_offset: 0xc806
      code_ISO639: 0x736b
      encoding:    0x6a
      base_offset: 0xc809
      code_ISO639: 0x736c
      encoding:    0x6a
      base_offset: 0xc80c
      code_ISO639: 0x6872
      encoding:    0x6a
      base_offset: 0xc80f

     
    • Max Gilead

      Max Gilead - 2008-02-26

      I tried to specify which channel to use (obexftp uses channel 9, gnome-obex-send uses channel 8) so I did this:

      $ obexftp -b MAC -B 8 -p FILE
      Browsing 00:17:E3:18:2C:7A ...
      Channel: 9
      Connecting...failed: FBS UUID
      Still trying to connect
      Connecting...failed: FBS UUID
      Still trying to connect
      Connecting...failed: FBS UUID
      Still trying to connect

      Tried different ordering of arguments, tried with --channel option instead, results are the same. So, not only does it still try to use channel 9 (or is only saying so?) but now this command doesn't work at all (there's no activity on the device).

      Any help?
      Max

       

Log in to post a comment.