FreeCalypso > hg > freecalypso-citrine
comparison g23m-aci/aci/psa.h @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 09 Jun 2016 00:02:41 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:75a11d740a02 |
---|---|
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_NONE = -1, /* make gcc treat this enum as signed */ | |
30 OWN_SRC_INV = CMD_SRC_MAX, /* not a valid owner */ | |
31 OWN_SRC_SAT, /* SIM application toolkit */ | |
32 OWN_SRC_MAX /* maximum owners */ | |
33 } T_OWN; | |
34 | |
35 /*==== TYPES ======================================================*/ | |
36 typedef struct | |
37 { | |
38 CHAR num[MAX_DIAL_LEN]; /* party number/dial string */ | |
39 UBYTE ton; /* type of number */ | |
40 UBYTE npi; /* numbering plan */ | |
41 CHAR sub[MAX_SUBADDR_LEN]; /* party subaddress */ | |
42 UBYTE tos; /* type of subaddress */ | |
43 UBYTE oe; /* odd/even indicator */ | |
44 } T_CLPTY_PRM; | |
45 | |
46 #ifdef GPRS | |
47 /* | |
48 * !!! ATTENTION !!! | |
49 * This struct will be writed in one block to the FFS. | |
50 * So the position of the variables can not be changed! | |
51 */ | |
52 typedef struct | |
53 { /* default values */ | |
54 UBYTE max_cid; /* 2 */ | |
55 UBYTE auto_attach; /* manual mode */ | |
56 UBYTE auto_detach; /* mode off */ | |
57 UBYTE default_mobile_class; /* BG */ | |
58 UBYTE accm ; /* 0 (async control character map) */ | |
59 UBYTE restart_timer; /* 3 */ | |
60 UBYTE max_configure; /* 10 */ | |
61 UBYTE max_terminate; /* 2 */ | |
62 UBYTE max_failure; /* 5 */ | |
63 | |
64 } T_FFS_GPRS_ACI; | |
65 #endif /* GPRS */ | |
66 | |
67 /*==== PROTOTYPES =================================================*/ | |
68 EXTERN BOOL psa_IsVldOwnId ( T_OWN ownId ); | |
69 EXTERN UBYTE psa_timeout ( USHORT handle ); | |
70 | |
71 #ifdef GPRS | |
72 EXTERN void psa_GPRSInit ( void ); | |
73 #endif /* GPRS */ | |
74 | |
75 /*==== EXPORT =====================================================*/ | |
76 | |
77 #endif /* PSA_H */ | |
78 | |
79 /*==== EOF ========================================================*/ | |
80 |