FreeCalypso > hg > fc-tourmaline
comparison src/g23m-aci/aci/psa.h @ 1:fa8dc04885d8
src/g23m-*: import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:25:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:4e78acac3d88 | 1:fa8dc04885d8 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : GSM-PS (6147) | |
4 | Modul : PSA | |
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 : Definitions for the protocol stack adapter | |
18 +----------------------------------------------------------------------------- | |
19 */ | |
20 | |
21 #ifndef PSA_H | |
22 #define PSA_H | |
23 | |
24 /*==== CONSTANTS ==================================================*/ | |
25 | |
26 #define OWN_ATI 1 | |
27 typedef enum /* owner id's */ | |
28 { | |
29 OWN_SRC_INV = CMD_SRC_MAX, /* not a valid owner */ | |
30 OWN_SRC_SAT, /* SIM application toolkit */ | |
31 OWN_SRC_MAX /* maximum owners */ | |
32 } T_OWN; | |
33 | |
34 /*==== TYPES ======================================================*/ | |
35 typedef struct | |
36 { | |
37 CHAR num[MAX_DIAL_LEN]; /* party number/dial string */ | |
38 UBYTE ton; /* type of number */ | |
39 UBYTE npi; /* numbering plan */ | |
40 CHAR sub[MAX_SUBADDR_LEN]; /* party subaddress */ | |
41 UBYTE tos; /* type of subaddress */ | |
42 UBYTE oe; /* odd/even indicator */ | |
43 } T_CLPTY_PRM; | |
44 | |
45 #ifdef GPRS | |
46 /* | |
47 * !!! ATTENTION !!! | |
48 * This struct will be writed in one block to the FFS. | |
49 * So the position of the variables can not be changed! | |
50 */ | |
51 typedef struct | |
52 { /* default values */ | |
53 UBYTE max_cid; /* 2 */ | |
54 UBYTE auto_attach; /* manual mode */ | |
55 UBYTE auto_detach; /* mode off */ | |
56 UBYTE default_mobile_class; /* BG */ | |
57 UBYTE accm ; /* 0 (async control character map) */ | |
58 UBYTE restart_timer; /* 3 */ | |
59 UBYTE max_configure; /* 10 */ | |
60 UBYTE max_terminate; /* 2 */ | |
61 UBYTE max_failure; /* 5 */ | |
62 | |
63 } T_FFS_GPRS_ACI; | |
64 #endif /* GPRS */ | |
65 | |
66 /*==== PROTOTYPES =================================================*/ | |
67 EXTERN BOOL psa_IsVldOwnId ( T_OWN ownId ); | |
68 EXTERN UBYTE psa_timeout ( USHORT handle ); | |
69 | |
70 #ifdef GPRS | |
71 EXTERN void psa_GPRSInit ( void ); | |
72 #endif /* GPRS */ | |
73 | |
74 /*==== EXPORT =====================================================*/ | |
75 | |
76 #endif /* PSA_H */ | |
77 | |
78 /*==== EOF ========================================================*/ | |
79 |