Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 865ca54792a9d555e42fa2820aee2878 > files > 147

gammu-1.34.0-1.mga5.i586.rpm

MTK AT Commands
===============

VCard access
------------

Read vcard, first 1 is READ command, second 1 is memory position::

    AT+EVCARD=1,1 
    +EVCARD: "0043003a005c00520065006300650069007600650064005c007e00760063006100720064005f0072002e007600630066"
    OK

HEX UCS2 temporary file name which we must read for VCARD

Filesystem access
-----------------

Change operation mode to obtain access to filesystem operations::

    AT+ESUO=3
    OK

Change directory to root folder::

    AT+EFSF=3
    OK

Read file with name from +EVCARD reply::

    AT+EFSR="0043003a005c00520065006300650069007600650064005c007e00760063006100720064005f0072002e007600630066"
    +EFSR: 1, 1, 168,
    "424547494E3A56434152440D0A56455253494F4E3A322E310D0A4E3B434841525345543D5554462D383B454E434F44494E473D51554F5445442D5052494E5441424C453A3D44303D39383D44313D38303D44303D42383D44303D42443D44303D42300D0A54454C3B43454C4C3A2B37787878787878787878780D0A54454C3B484F4D453A2B37787878787878787878780D0A54454C3B574F524B3A2B37787878787878787878780D0A454E443A56434152440D0A"
    OK

(1, 1, 168) = (<MEM POSITION>, <EOF FLAG>, <HEXLIFIED VCARD LEN>)

Change operation mode to compatible::

    AT+ESUO=4
    OK