comparison src/g23m-aci/aci/gaci_cmd.h @ 1:d393cd9bb723

src/g23m-*: initial import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 04:40:46 +0000
parents
children
comparison
equal deleted inserted replaced
0:b6a5e36de839 1:d393cd9bb723
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul :
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 : GPRS Command handler interface definitions.
18 +-----------------------------------------------------------------------------
19 */
20
21 /* needs: aci_cmd.h */
22
23 #ifndef GACI_CMD_H
24 #define GACI_CMD_H
25
26 /* sub structure concerning AT+CGREG and
27 AT%CGREG command in ATI */
28
29 typedef struct
30 {
31 T_ATI_REG_MOD_LAC_CID mod_lac_cid;
32 T_CGREG_STAT last_presented_state;
33 } T_ATI_CGREG;
34
35 typedef struct
36 {
37 T_ATI_REG_MOD_LAC_CID mod_lac_cid;
38 T_P_CGREG_STAT last_presented_state;
39 } T_ATI_P_CGREG;
40
41 typedef struct
42 {
43 T_ATI_CGREG plus_cgreg;
44 T_ATI_P_CGREG percent_cgreg;
45
46 } T_ATI_GPRS_USER_OUTPUT_CFG;
47
48
49 EXTERN void gaci_ati_cmd_init_each_source( UBYTE srcId );
50
51
52 #ifdef ACI_CMD_C
53 /* next variable is aimed at containing the user defined configuration
54 for the output format through AT interpreter for GPRS */
55 GLOBAL T_ATI_GPRS_USER_OUTPUT_CFG ati_gprs_user_output_cfg[CMD_SRC_MAX];
56
57 #else /* ACI_CMD_C */
58
59 EXTERN T_ATI_GPRS_USER_OUTPUT_CFG ati_gprs_user_output_cfg[CMD_SRC_MAX];
60 #endif /* ACI_CMD_C */
61
62
63 #endif /* GACI_CMD_H */
64 /*==== EOF ========================================================*/
65