www.beck-ipc.com

GMLib - Helping types


Helping type

The enums contain possible values for different parameters in gmlib functions.

  • gmTerminalCharacterSet
  • gmPPPAuthentication
  • gmPPPSetGateway
  • gmDCDConnection
  • gmStorageDestination
  • gmGpsVoltage

  • gmTerminalCharacterSet

    enum gmTerminalCharacterSet 
    {
        GM_CHARSET_ASCII,
        GM_CHARSET_GSM,
        GM_CHARSET_UCS2,
        GM_CHARSET_UTF8,
        GM_CHARSET_8859_1,
        GM_CHARSET_PCCP437,
    };
    
    gmTerminalCharacterSet

    Members

    GM_CHARSET_ASCII
    0 : ASCII (0x00 - 0x7F.) For example, "AB" equals two 8-bit characters with decimal values 65, 66. *default on GM02/GM04*
    GM_CHARSET_GSM
    1 : GSM default alphabet (GSM 03.38 subclause 6.2.1) HEX representation.
    GM_CHARSET_UCS2
    2 : Unicode (ISO/IEC 10646 [32]) HEX representation.
    GM_CHARSET_UTF8
    3 : GM01/GM03 only: 8-bit Unicode (ISO 10646 transformation format) HEX representation.
    GM_CHARSET_8859_1
    4 : GM01/GM03/GM05/GM06/GMLGA01/GMLGA02 only: LATIN (ISO 8859-1) *default on GM01/GM03/GM05/GM06/GMLGA01/GMLGA02*
    GM_CHARSET_PCCP437
    5 : GM05/GM06/GMLGA01/GMLGA02 only: PC character set Code Page 437

    gmPPPAuthentication

    enum gmPPPAuthentication 
    {
        GM_PPPAUTH_NO,
        GM_PPPAUTH_PAP,
        GM_PPPAUTH_CHAP,
        GM_PPPAUTH_PAPPEER,
        GM_PPPAUTH_CHAPPEER,
    };
    
    gmPPPAuthentication

    Members

    GM_PPPAUTH_NO
    0 : no authentication.
    GM_PPPAUTH_PAP
    1 : PAP Client must send user name and password for PAP authentication to the peer.
    GM_PPPAUTH_CHAP
    2 : CHAP Client must send user name and password for CHAP authentication to the peer.
    GM_PPPAUTH_PAPPEER
    3 : PAP Client expects PAP user name and passwordfrom the peer.
    GM_PPPAUTH_CHAPPEER
    4 : CHAP Client expects CHAP user name and password from the peer.

    gmPPPSetGateway

    enum gmPPPSetGateway 
    {
        GM_PPP_SETGATEWAY_NO,
        GM_PPP_SETGATEWAY_YES,
    };
    
    gmPPPSetGateway

    Members

    GM_PPP_SETGATEWAY_NO
    0 : do not set peer as gateway
    GM_PPP_SETGATEWAY_YES
    1 : set peer as gateway

    gmDCDConnection

    enum gmDCDConnection 
    {
        GM_DCD_NOTCONNECTED,
        GM_DCD_CONNECTED,
    };
    
    gmDCDConnection

    Members

    GM_DCD_NOTCONNECTED
    0 : no connection
    GM_DCD_CONNECTED
    1 : connected

    gmStorageDestination

    enum gmStorageDestination 
    {
        GM_STORAGE_GM01,
        GM_STORAGE_SIM,
        GM_STORAGE_BOTH,
    };
    
    gmStorageDestination

    Members

    GM_STORAGE_GM01
    1 : storage on GM0x
    GM_STORAGE_SIM
    2 : storage on SIM
    GM_STORAGE_BOTH
    3 : storage both on GM0x and SIM

    gmGpsVoltage

    enum gmGpsVoltage 
    {
        GM_GPS_VOLTAGE_150,
        GM_GPS_VOLTAGE_155,
        GM_GPS_VOLTAGE_160,
        GM_GPS_VOLTAGE_165,
        GM_GPS_VOLTAGE_170,
        GM_GPS_VOLTAGE_175,
        GM_GPS_VOLTAGE_180,
        GM_GPS_VOLTAGE_185,
        GM_GPS_VOLTAGE_190,
        GM_GPS_VOLTAGE_195,
        GM_GPS_VOLTAGE_200,
        GM_GPS_VOLTAGE_205,
        GM_GPS_VOLTAGE_210,
        GM_GPS_VOLTAGE_215,
        GM_GPS_VOLTAGE_220,
        GM_GPS_VOLTAGE_225,
        GM_GPS_VOLTAGE_230,
        GM_GPS_VOLTAGE_235,
        GM_GPS_VOLTAGE_240,
        GM_GPS_VOLTAGE_245,
        GM_GPS_VOLTAGE_250,
        GM_GPS_VOLTAGE_255,
        GM_GPS_VOLTAGE_260,
        GM_GPS_VOLTAGE_265,
        GM_GPS_VOLTAGE_270,
        GM_GPS_VOLTAGE_275,
        GM_GPS_VOLTAGE_280,
        GM_GPS_VOLTAGE_285,
        GM_GPS_VOLTAGE_290,
        GM_GPS_VOLTAGE_295,
        GM_GPS_VOLTAGE_300,
        GM_GPS_VOLTAGE_305,
    };
    
    gmGpsVoltage

    Members

    GM_GPS_VOLTAGE_150
    0 : 1.5 V
    GM_GPS_VOLTAGE_155
    1 : 1.55 V
    GM_GPS_VOLTAGE_160
    2 : 1.6 V
    GM_GPS_VOLTAGE_165
    3 : 1.65 V
    GM_GPS_VOLTAGE_170
    4 : 1.7 V
    GM_GPS_VOLTAGE_175
    5 : 1.75 V
    GM_GPS_VOLTAGE_180
    6 : 1.8 V
    GM_GPS_VOLTAGE_185
    7 : 1.85 V
    GM_GPS_VOLTAGE_190
    8 : 1.9 V
    GM_GPS_VOLTAGE_195
    9 : 1.95 V
    GM_GPS_VOLTAGE_200
    10 : 2 V
    GM_GPS_VOLTAGE_205
    11 : 2.05 V
    GM_GPS_VOLTAGE_210
    12 : 2.1 V
    GM_GPS_VOLTAGE_215
    13 : 2.15 V
    GM_GPS_VOLTAGE_220
    14 : 2.2 V
    GM_GPS_VOLTAGE_225
    15 : 2.25 V
    GM_GPS_VOLTAGE_230
    16 : 2.3 V
    GM_GPS_VOLTAGE_235
    17 : 2.35 V
    GM_GPS_VOLTAGE_240
    18 : 2.4 V
    GM_GPS_VOLTAGE_245
    19 : 2.45 V
    GM_GPS_VOLTAGE_250
    20 : 2.5 V
    GM_GPS_VOLTAGE_255
    21 : 2.55 V
    GM_GPS_VOLTAGE_260
    22 : 2.6 V
    GM_GPS_VOLTAGE_265
    23 : 2.65 V
    GM_GPS_VOLTAGE_270
    24 : 2.7 V
    GM_GPS_VOLTAGE_275
    25 : 2.75 V
    GM_GPS_VOLTAGE_280
    26 : 2.8 V
    GM_GPS_VOLTAGE_285
    27 : 2.85 V
    GM_GPS_VOLTAGE_290
    28 : 2.9 V
    GM_GPS_VOLTAGE_295
    29 : 2.95 V
    GM_GPS_VOLTAGE_300
    30 : 3 V
    GM_GPS_VOLTAGE_305
    31 : 3.05 V



    End of document