Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Siemens C65

Help
2005-10-16
2013-05-01
  • Jan Kundrát
    Jan Kundrát
    2005-10-16

    Hi folks,
    I have Siemens C65 with USB cable (pl2303, accessible as /dev/tts/USB0) and I'm trying to access phone content from linux. ObexFTP (patched to utilize 115200 bauds as other tools do) is having some issues with it, though - calling "AT^SIFS" works (ie. phone responds with "OK"), but obexftp doesn't seem to receive any reply to its BFB/whatever messages at all (I have a strace and can attach it).

    I've tried a lot of ways to access this gadget - SiMoCo from windows (works ok), Siemens' original MPM from windows (ok as well) and `slink` (part of siefs) from Linux; they all can retrieve full phonebook contents. I can suply straces/serial logs from portmon if wanted, again.

    It seems that those tools are accessing file "telecom/pb.vcf". My experiments with `slink` suggest that it's possible to retrieve stuff under "telecom/pb/", but I'm not sure what should I ask for...

    Anyway, the problem with ObexFTP is that it uses another initialisation sequence than the other tools and fails to communicate...

    Any ideas?

     
    • Jan Kundrát
      Jan Kundrát
      2005-10-16

      Short part of the log of MPM, hex format at first:

      386  0.00000000  PHONES~2.EXE  IRP_MJ_WRITE  Serial5  Length 11: 41 54 5E 53 51 57 45 3D 33 0D 0A
      386  0.00055929  SUCCESS
      387  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      387  0.00000587  SUCCESS
      388  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      388  0.00000112  SUCCESS
      389  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial5  Length 6
      389  0.00000391  SUCCESS  Length 6: 0D 0A 4F 4B 0D 0A
      390  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      390  0.00000112  SUCCESS
      391  0.00000000  PHONES~2.EXE  IRP_MJ_WRITE  Serial5  Length 19: 80 00 13 10 00 40 06 46 00 0C 49 52 4D 43 2D 53 59 4E 43
      391  0.00105209  SUCCESS
      392  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      392  0.00000196  SUCCESS
      393  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      393  0.00000112  SUCCESS
      394  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      394  0.00000196  SUCCESS
      395  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial5  Length 3
      395  0.00000251  SUCCESS  Length 3: A0 00 18
      396  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      396  0.00000140  SUCCESS
      397  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial5  Length 21
      397  0.00000168  SUCCESS  Length 21: 10 00 04 0B CB 00 00 03 00 4A 00 0C 49 52 4D 43 2D 53 59 4E 43
      398  0.00000000  PHONES~2.EXE  IRP_MJ_WRITE  Serial5  Length 24: 85 00 18 02 00 01 00 13 00 74 00 65 00 6C 00 65 00 63 00 6F 00 6D 00 00
      398  0.00086128  SUCCESS
      399  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      399  0.00000168  SUCCESS
      400  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      400  0.00000140  SUCCESS
      401  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      401  0.00000251  SUCCESS
      402  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial5  Length 3
      402  0.00000251  SUCCESS  Length 3: A0 00 03
      403  0.00000000  PHONES~2.EXE  IRP_MJ_WRITE  Serial5  Length 30: 83 00 1E 01 00 1B 00 64 00 65 00 76 00 69 00 6E 00 66 00 6F 00 2E 00 74 00 78 00 74 00 00
      403  0.00104594  SUCCESS
      404  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      404  0.00000168  SUCCESS
      405  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      405  0.00000112  SUCCESS
      406  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      406  0.00000168  SUCCESS
      407  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial5  Length 3
      407  0.00000223  SUCCESS  Length 3: A0 01 35
      408  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial5
      408  0.00000140  SUCCESS
      409  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial5  Length 306
      409  0.00000196  SUCCESS  Length 272: 49 01 32 4D 41 4E 55 3A 53 49 45 4D 45 4E 53 0D 0A 4D 4F 44 3A 43 36 35 0D 0A 53 57 2D 56 45 52 53 49 4F 4E 3A 32 35 0
      D

      and now +/- the same in ASCII:

      383  0.00000000  PHONES~2.EXE  IRP_MJ_WRITE  Serial2  Length 11: AT^SQWE=3..
      383  0.00066293  SUCCESS
      384  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      384  0.00000559  SUCCESS
      385  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      385  0.00000112  SUCCESS
      386  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial2  Length 6
      386  0.00000419  SUCCESS  Length 6: ..OK..
      387  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      387  0.00000112  SUCCESS
      388  0.00000000  PHONES~2.EXE  IRP_MJ_WRITE  Serial2  Length 19: .....@.F..IRMC-SYNC
      388  0.00024640  SUCCESS
      389  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      389  0.00000168  SUCCESS
      390  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      390  0.00000112  SUCCESS
      391  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      391  0.00000196  SUCCESS
      392  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial2  Length 3
      392  0.00000196  SUCCESS  Length 3: ...
      393  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      393  0.00000112  SUCCESS
      394  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial2  Length 21
      394  0.00000168  SUCCESS  Length 21: .........J..IRMC-SYNC
      395  0.00000000  PHONES~2.EXE  IRP_MJ_WRITE  Serial2  Length 24: .........t.e.l.e.c.o.m..
      395  0.00099901  SUCCESS
      396  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      396  0.00000140  SUCCESS
      397  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      397  0.00000112  SUCCESS
      398  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      398  0.00000196  SUCCESS
      399  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial2  Length 3
      399  0.00000223  SUCCESS  Length 3: ...
      400  0.00000000  PHONES~2.EXE  IRP_MJ_WRITE  Serial2  Length 30: .......d.e.v.i.n.f.o...t.x.t..
      400  0.00018159  SUCCESS
      401  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      401  0.00000168  SUCCESS
      402  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      402  0.00000112  SUCCESS
      403  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      403  0.00000223  SUCCESS
      404  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial2  Length 3
      404  0.00000223  SUCCESS  Length 3: ..5
      405  0.00000000  PHONES~2.EXE  IOCTL_SERIAL_GET_COMMSTATUS  Serial2
      405  0.00000140  SUCCESS
      406  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial2  Length 306
      406  0.00000196  SUCCESS  Length 273: I.2MANU:SIEMENS..MOD:C65..SW-VERSION:25..IRMC-VERSION:1.1..SN: 353663008390278..PB-TYPE-TX:VCARD2.1..PB-TYPE-RX:VCARD2
      .1..CAL-TYPE-TX:VCAL1.0..CAL-TYPE-RX:VCAL1.0..MSG-TYPE-TX:NONE..MSG-TYPE-RX:NONE..NOTE-TYPE-TX:VNOTE1.1..NOTE-TYPE-RX:VNOTE1.1..INBOX:SINGLE..MSG-SENT-BOX:
      407  0.00000000  PHONES~2.EXE  IRP_MJ_READ  Serial2  Length 33