⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cus_aci.h

📁 GSM手机设计软件代码
💻 H
📖 第 1 页 / 共 3 页
字号:
/* 
+----------------------------------------------------------------------------- 
|  Project :  GSM-F&D (8411)
|  Modul   :  CUS_ACI
+----------------------------------------------------------------------------- 
|  Copyright 2002 Texas Instruments Berlin, AG 
|                 All rights reserved. 
| 
|                 This file is confidential and a trade secret of Texas 
|                 Instruments Berlin, AG 
|                 The receipt of or possession of this file does not convey 
|                 any rights to reproduce or disclose its contents or to 
|                 manufacture, use, or sell anything it may describe, in 
|                 whole, or in part, without the specific written consent of 
|                 Texas Instruments Berlin, AG. 
+----------------------------------------------------------------------------- 
|  Purpose :  Custom dependent definitions for AT Command Interpreter
|             Use this header for definitions to integrate the
|             ACI in your target system !
+----------------------------------------------------------------------------- 
*/ 

#ifndef CUS_ACI_H
#define CUS_ACI_H

/*==== CONSTANTS ==================================================*/
/*
 * TIMER_VALUES
 *
 * Description :  The constants define the timer values
 *                for the MMI timer TXXX depending on the various
 *                channel types and service access point identifiers.
 *                If your target system uses other units please
 *                change the values.
 */

/*
 * all values in milliseconds
 */
#define TICS_PER_DECIHOURS     (20*60*6*50)
#define TDTE_INACTIV_VALUE     500
#define TRING_VALUE            3000
#define TMPTY_VALUE            10000        /* 10s (5 to 30 seconds) */
#define TECT_VALUE             13500  /* 13,5s (5 to 15 seconds GSM 04.91 and 04.80) */
#define TDTMF_VALUE            3000         /*  3s wait time GSM 02.07 */

/* MAX_ACI_TIMER
 * Description :  The constant defines the number of
 *                timeouts which can be stored. */
#if defined FF_EOTD //&& defined _SIMULATION_
#define MAX_ACI_TIMER 28
#else
#define MAX_ACI_TIMER 23
#endif
/*
 * VERSION
 *
 * Description :  The constants define the type and the value
 *                of a version identification. The version
 *                is part of the monitor struct.
 */

#ifndef SMI
#define T_VERSION   CHAR
#define VERSION_ACI  "ACI 1.0"
#endif

#ifdef SMI
#define T_VERSION   CHAR
#define VERSION_SMI  "SMI 1.0"
#endif

/*
 * VSI_CALLER
 *
 * Description :  For multithread applications the constant VSI_CALLER
 *                must be defined to identify the calling thread of the
 *                VSI-Interface. This must be done correponding to the
 *                type of T_VSI_CALLER in VSI.H. The comma symbol is
 *                neccessary because the vsi-functions are called
 *                like this vsi_xxx (VSI_CALLER par2, par3 ...)
 */

EXTERN T_HANDLE aci_handle;

#define VSI_CALLER aci_handle,
#define VSI_CALLER_SINGLE aci_handle

/*
 * Network operator list
 *
 * Description :  this is the list of all known network operators.
 *                There are five entries for each operator. A long
 *                name (max.16 chars), a short name (max.8 chars),
 *                the mobile country code, the mobile network code
 *                and a language reference. It is important to leave
 *                the EOL indicator at the end of the list to terminate
 *                the list.
 */
typedef struct operNtry
{
    const char * longName;
    const char * shrtName;
    SHORT  mcc;
    SHORT  mnc;
    UBYTE 	 pnn;  /* PLMN Network Name Source (for EONS) */
    UBYTE 	dcs;  /* PLMN Network Name Data Coding Scheme (for EONS) */
} T_OPER_NTRY;

#ifdef CMH_MMF_C

const T_OPER_NTRY operList[] =
{
    {"Test Network",              "TestNet",          0x001,0x01F   },
    {"Test Net 222",              "Test222",          0x222,0x22F   },
    {"one",                       "one",              0x232,0x05F   },
    {"A1",                        "A1",               0x232,0x01F   },
    {"A max.",                    "max.",             0x232,0x03F   },
    {"A tele.ring",               "telering",         0x232,0x07F   },
    {"SETAR GSM",                 "SETARGSM",         0x363,0x01F   },
    {"AF AWCC",                   "AWCC",             0x412,0x01F   },
    {"UNITEL",                    "UNITEL",           0x631,0x02F   },
    {"AMC - AL",                  "A M C",            0x276,0x01F   },
    {"VODAFONE",                  "VAL",              0x276,0x02F   },
#if !(defined(BT_ADAPTER) && defined(_SIMULATION_))
    {"ALGERIAN MOBILE NETWORK",   "AMN",              0x603,0x01F   },
    {"Djezzy",                    "Djezzy",           0x603,0x02F   },
    {"APUA PCS ANTIGUA",          "APUA-PCS",         0x344,0x30F   },
    {"STA-MOBILAND",              "M-AND",            0x213,0x03F   },
    {"ANT CURACAO TELECOM GSM",   "CT GSM",           0x362,0x69F   },
    {"UTS Wireless Curacao N.V.", "UTS",              0x362,0x91F   },
    {"Telcell GSM",               "Telcell",          0x362,0x51F   },
    {"AR PERSONAL",               "AR TP",            0x722,0x34F   },
    {"PORT-HABLE",                "P-HABLE",          0x722,0x35F   },
    {"UNIFON",                    "UNIFON",           0x722,0x07F   },
    {"Blue Sky AS",               "AST",              0x544,0x11F   },
    {"Hutchison",                 "H3GA",             0x505,0x06F   },
    {"YES OPTUS AUS",             "Optus",            0x505,0x02F   },
    {"Telstra MobileNet",         "Telstra",          0x505,0x01F   },
    {"VODAFONE AUS",              "VFONE",            0x505,0x03F   },
    {"SETAR GSM",                 "SETARGSM",         0x363,0x01F   },
    {"AZE - AZERCELL GSM",        "ACELL",            0x400,0x01F   },
    {"BAKCELL GSM 2000",          "BKCELL",           0x400,0x02F   },
    {"B mobistar",                "mobi*",            0x206,0x10F   },
    {"BA-ERONET",                 "ERONET",           0x218,0x03F   },
    {"MOBI'S",                    "MOBI'S",           0x218,0x05F   },
    {"BIH GSMBIH",                "GSMBIH",           0x218,0x90F   },
    {"BD ShebaWorld",             "SHEBA",            0x470,0x03F   },
    {"TELECOM BDA",               "TELE BDA",         0x510,0x01F   },
    {"BASE",                      "BASE ",            0x206,0x20F   },
    {"BEL PROXIMUS",              "PROXI",            0x206,0x01F   },
    {"TELECEL BENIN",             "TLCL-BEN",         0x616,0x02F   },
    {"BF CELTEL",                 "CELTEL",           0x613,0x02F   },
    {"BG GLOBUL",                 "GLOBUL",           0x284,0x05F   },
    {"M-TEL GSM BG",              "M-TEL",            0x284,0x01F   },
    {"BGD-GP",                    "GP",               0x470,0x01F   },
    {"BGD AKTEL",                 "AKTEL",            0x470,0x02F   },
    {"BATELCO",                   "BATELCO",          0x426,0x01F   },
    {"Spacetel BI",               "SPACETEL",         0x642,0x01F   },
    {"BJ BENINCELL",              "BENCELL",          0x616,0x03F   },
    {"BOMOV",                     "EMOVIL",           0x736,0x02F   },
    {"VIVA",                      "NUEVATEL",         0x736,0x01F   },
    {"TIM BRASIL",                "TIM",              0x724,0x02F   },
    {"Oi",                        "Oi",               0x724,0x31F   },
    {"BRU-DSTCom",                "DSTCom",           0x528,0x11F   },
    {"BUSAFA",                    "SAFARIS",          0x642,0x02F   },
    {"BW MASCOM",                 "MASCOM",           0x652,0x01F   },
    {"BW VISTA",                  "VISTA",            0x652,0x02F   },
    {"BY VELCOM",                 "VELCOM",           0x257,0x01F   },
    {"CAN37",                     "MCELL",            0x302,0x37F   },
    {"CAN Rogers Wireless Inc.",  "ROGER",            0x302,0x72F   },
    {"CELTEL CD",                 "CELTEL",           0x630,0x02F   },
    {"CD OASIS",                  "OASIS",            0x630,0x89F   },
/*    {"TELECEL CENTRAFRIQUE",      "TELECE",         0x623,??      },*/
    {"orange CH",                 "orange",           0x228,0x03F   },
    {"SWISS GSM",                 "SWISS",            0x228,0x01F   },
    {"sunrise",                   "sunrise",          0x228,0x02F   },
    {"CHINA MOBILE",              "CMCC ",            0x460,0x00F   },
    {"CHN-CUGSM",                 "CU-GSM",           0x460,0x01F   },
    {"CI CORA",                   "CORA ",            0x612,0x01F   },
    {"TELECEL-CI",                "TELCEL",           0x612,0x05F   },
    {"Orange CI",                 "Orange",           0x612,0x03F   },
    {"CL ENTEL PCS",              "ENTEL",            0x730,0x10F   },
    {"CL ENTEL PCS",              "ENTEL",            0x730,0x01F   },
    {"MTN",                       "CAM 62401",        0x624,0x01F   },
    {"Mobilis",                   "CAM 02",           0x624,0x02F   },
    {"COG LIBERTIS",              "LIBERTIS",         0x629,0x10F   },
    {"CPV MOVEL",                 "CMOVEL",           0x625,0x01F   },
    {"I.C.E.",                    "I.C.E.",           0x712,0x01F   },
    {"CU/C_COM",                  "C_COM",            0x368,0x01F   },
    {"CY CYTAGSM",                "CY-GSM",           0x280,0x01F   },
    {"OSKAR",                     "OSKAR",            0x230,0x03F   },
    {"EUROTEL - CZ",              "ET - CZ",          0x230,0x02F   },
    {"T-Mobile CZ",               "TMO CZ",           0x230,0x01F   },
    {"E-Plus",                    "E-Plus",           0x262,0x03F   },
    {"Quam",                      "Quam ",            0x262,0x14F   },

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -