comparison src/g23m-gsm/sim/cus_sim.h @ 104:27a4235405c6

src/g23m-gsm: import from LoCosto source
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 04 Oct 2016 18:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
103:76d139c7a25e 104:27a4235405c6
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-PS (6302)
4 | Modul : CUS_SIM
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : Custom dependent definitions for SIM application.
18 |
19 | Use this header for definitions to integrate the
20 | protocol stack entity SS in your target system !
21 +-----------------------------------------------------------------------------
22 */
23
24 #ifndef CUS_SIM_H
25 #define CUS_SIM_H
26
27 /*==== CONSTANTS ==================================================*/
28 /*
29 * VSI_CALLER
30 *
31 * Description : For multithread applications the constant VSI_CALLER
32 * must be defined to identify the calling thread of the
33 * VSI-Interface. This must be done correponding to the
34 * type of T_VSI_CALLER in VSI.H. The comma symbol is
35 * neccessary because the vsi-functions are called
36 * like this vsi_xxx (VSI_CALLER par2, par3 ...)
37 */
38 #ifdef OPTION_MULTITHREAD
39 #define VSI_CALLER sim_handle,
40 #define VSI_CALLER_SINGLE sim_handle
41 #else
42 #define VSI_CALLER
43 #define VSI_CALLER_SINGLE
44 #endif
45
46 /*
47 * TIMER_VALUES
48 *
49 * Description : The constants define the timer values
50 * WIN32 in 50 milliseconds
51 * ARM in TDMA frames
52 */
53
54 /*
55 * all Values in milliseconds
56 */
57 #define T_DETECT_VALUE 10000
58 #define THIRTY_SECONDS 29500
59 #define TIMER_LATENCY 100
60
61 /*
62 * VERSION
63 *
64 * Description : The constants define the type and the value
65 * of a version identification. The version
66 * is part of the monitor struct.
67 */
68
69
70 #define T_VERSION char
71 #define VERSION_SIM "SIM 2.0"
72
73
74
75 #endif