📄 cus_aci.h
字号:
/*
+-----------------------------------------------------------------------------
| 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.24 chars), a short name (max.10 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.
* Source : The list depends on the GSM Association Infocentre - SE_13
* document
*
*/
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 }, /* NOT UPDATED, because of test network */
{"Test Net 222", "Test222", 0x222,0x22F }, /* NOT UPDATED, because of test network */
{"A one", "one", 0x232,0x05F }, /* updated ("one","one") */
{"A1", "A1", 0x232,0x01F }, /* updated ("A1","A1") */
{"T-Mobile A", "TMO A", 0x232,0x03F }, /* updated ("A max.","max.") */
{"A tele.ring", "telering", 0x232,0x07F }, /* updated ("A tele.ring","telering") */
{"SETAR GSM", "SETARGSM", 0x363,0x01F }, /* NOT UPDATED, because of doubeled masks in spec */
{"AF AWCC", "AWCC", 0x412,0x01F }, /* updated ("AF AWCC","AWCC") */
{"UNITEL", "UNITEL", 0x631,0x02F }, /* updated ("UNITEL","UNITEL") */
{"AMC - AL", "A M C", 0x276,0x01F }, /* updated ("AMC - AL","A M C") */
{"vodafone AL", "voda AL", 0x276,0x02F }, /* updated ("VODAFONE","VAL") */
#if !(defined(BT_ADAPTER) && defined(_SIMULATION_))
/*
* UPDATED NETWORKS
*/
{"GR COSMOTE", "C-OTE", 0x202,0x01F },
{"vodafone GR", "voda GR", 0x202,0x05F },
{"GR Q-TELECOM", "Q-TELCOM", 0x202,0x09F },
{"GR TELESTET", "TLSTET", 0x202,0x10F },
{"vodafone NL", "voda NL", 0x204,0x04F },
{"NL KPN", "NL KPN", 0x204,0x08F },
{"O2 - NL", "O2 -NL", 0x204,0x12F },
{"T-Mobile NL", "TMO NL", 0x204,0x16F },
{"Orange NL", "Orange", 0x204,0x20F },
{"BEL PROXIMUS", "PROXI", 0x206,0x01F },
{"B mobistar", "mobi*", 0x206,0x10F },
{"BASE", "BASE", 0x206,0x20F },
{"Orange F", "Orange", 0x208,0x01F },
{"F SFR", "SFR", 0x208,0x10F },
{"F - BOUYGUES TELECOM", "BYTEL", 0x208,0x20F },
{"STA-MOBILAND", "M-AND", 0x213,0x03F },
{"vodafone ES", "voda ES", 0x214,0x01F },
{"E AMENA", "AMENA", 0x214,0x03F },
{"XFERA", "XFERA", 0x214,0x04F },
{"MOVISTAR", "MSTAR", 0x214,0x07F },
{"H PANNON GSM", "PANNON", 0x216,0x01F },
{"WESTEL", "WESTEL", 0x216,0x30F },
{"vodafone HU", "voda HU", 0x216,0x70F },
{"BA-ERONET", "ERONET", 0x218,0x03F },
{"MOBI'S", "MOBI'S", 0x218,0x05F },
{"BH GSMBIH", "GSMBIH", 0x218,0x90F },
{"HTmobile HR", "HTmobile", 0x219,0x01F },
{"HR VIP", "VIP", 0x219,0x10F },
{"YU MOBTEL", "MOBTEL", 0x220,0x01F },
{"ProMonte", "ProMonte", 0x220,0x02F },
{"YUG 03", "YU MTS", 0x220,0x03F },
{"MONET", "MONET", 0x220,0x04F },
{"I TIM", "TIM", 0x222,0x01F },
{"vodafone IT", "voda IT", 0x222,0x10F },
{"I WIND", "I WIND", 0x222,0x88F },
{"RO CONNEX", "CONNEX", 0x226,0x01F },
{"RO Cosmorom", "Cosmorom", 0x226,0x03F },
{"RO ORANGE", "ORANGE", 0x226,0x10F },
{"SWISS GSM", "SWISS", 0x228,0x01F },
{"sunrise", "sunrise", 0x228,0x02F },
{"Orange CH", "Orange", 0x228,0x03F },
{"T-Mobile CZ", "TMO CZ", 0x230,0x01F },
{"EUROTEL - CZ", "ET - CZ", 0x230,0x02F },
{"OSKAR", "OSKAR", 0x230,0x03F },
{"Orange SK", "Orange", 0x231,0x01F },
{"EUROTEL-SK", "ET-SK", 0x231,0x02F },
{"O2 - UK", "O2 -UK", 0x234,0x10F },
{"vodafone UK", "voda UK", 0x234,0x15F },
{"3 UK", "3 UK", 0x234,0x20F },
{"T-Mobile UK", "TMO UK", 0x234,0x30F },
{"ORANGE", "ORANGE", 0x234,0x33F },
{"JT GSM", "JT GSM", 0x234,0x50F },
{"Cable & Wireless Guernsey", "C&W", 0x234,0x55F },
{"DK SONOFON", "SONO", 0x238,0x02F },
{"TELIA DK", "TELIA", 0x238,0x20F },
{"Orange", "Orange", 0x238,0x30F },
{"Orange", "Orange", 0x238,0x30F },
{"TELIA S", "TELIA", 0x240,0x01F },
{"S COMVIQ", "IQ", 0x240,0x07F },
{"vodafone SE", "voda SE", 0x240,0x08F },
{"N Telenor", "TELENOR", 0x242,0x01F },
{"N NetCom GSM", "N COM", 0x242,0x02F },
{"FI TELIA", "TELIA", 0x244,0x03F },
{"FI RADIOLINJA", "RL", 0x244,0x05F },
{"FI FINNET", "FINNET", 0x244,0x09F },
{"FI 2G", "2G", 0x244,0x12F },
{"FI AMT", "FI AMT", 0x244,0x14F },
{"FI SONERA", "SONERA", 0x244,0x91F },
{"OMNITEL LT", "OMT", 0x246,0x01F },
{"LT BITE GSM", "BITE", 0x246,0x02F },
{"TELE2", "TELE2", 0x246,0x03F },
{"LV LMT GSM LV LMT", "LMT GSM", 0x247,0x01F },
{"LV TELE2", "TELE2", 0x247,0x02F },
{"EE EMT GSM", "EMT", 0x248,0x01F },
{"248 02/EE 02/RLE/EE RLE/E", "RLE", 0x248,0x02F },
{"TELE2", "TELE2", 0x248,0x03F },
{"MTS-RUS", "MTS", 0x250,0x01F },
{"MegaFon RUS", "MegaFon", 0x250,0x02F },
{"MegaFon RUS", "MegaFon", 0x250,0x02F },
{"MegaFon RUS", "MegaFon", 0x250,0x02F },
{"SIBCHALLENGE RUS", "RUS_SCN", 0x250,0x04F },
{"RUS DTC", "DTC", 0x250,0x10F },
{"ORENSOT", "ORENSOT", 0x250,0x11F },
{"RUS Kuban-GSM", "KUGSM", 0x250,0x13F },
{"RUS16 250 16", "NTC", 0x250,0x16F },
{"RUS 17", "ERMAK", 0x250,0x17F },
{"EXTEL RUS", "EXTEL", 0x250,0x28F },
{"RUS North Caucasian GSM", "NC-GSM", 0x250,0x44F },
{"Primetelefone RUS", "Primtel", 0x250,0x92F },
{"UA UMC", "UMC", 0x255,0x01F },
{"UKR-WellCOM", "WellCOM", 0x255,0x02F },
{"UA-KYIVSTAR", "UA-KS", 0x255,0x03F },
{"UA-GT", "GT", 0x255,0x05F },
{"BY VELCOM", "VELCOM", 0x257,0x01F },
{"MD VOXTEL", "VOXTEL", 0x259,0x01F },
{"MD MOLDCELL", "MDCELL", 0x259,0x02F },
{"Plus GSM", "PLUS", 0x260,0x01F },
{"Era", "Era", 0x260,0x02F },
{"IDEA PL IDEA PL 03", "IDEA", 0x260,0x03F },
{"T-Mobile D", "TMO D", 0x262,0x01F },
{"Vodafone D2", "Voda D2", 0x262,0x02F },
{"E-Plus", "E-Plus", 0x262,0x03F },
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -