163
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /*
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 +-----------------------------------------------------------------------------
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 | Project :
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 | Modul : J:\g23m-aci\aci_ext\aci_ext_pers.h
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 +-----------------------------------------------------------------------------
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 | Copyright 2002 Texas Instruments Berlin, AG
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 | All rights reserved.
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 | This file is confidential and a trade secret of Texas
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 | Instruments Berlin, AG
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 | The receipt of or possession of this file does not convey
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 | any rights to reproduce or disclose its contents or to
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 | manufacture, use, or sell anything it may describe, in
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 | whole, or in part, without the specific written consent of
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 | Texas Instruments Berlin, AG.
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 +-----------------------------------------------------------------------------
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 | Purpose : This is the header file of the AT command extension mechanism.
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 +-----------------------------------------------------------------------------
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 */
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 #ifndef ATI_EXT_MECH_H
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 #define ATI_EXT_MECH_H
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 /* ACI extension definitions */
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 /* Globals ------------------------------------------------------------------------------ */
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 typedef enum
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 {
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 ATI_EXT_FAIL = -1, /* execution failed, error occurred */
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 ATI_EXT_CMPL, /* execution completed */
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 ATI_EXT_EXCT, /* execution is in progress */
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 ATI_EXT_BUSY /* execution is rejected due to a busy extension mechanism*/
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 } T_ATI_EXT_RETURN;
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 /* prototypes of functions.-------------------------------------- */
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 EXTERN char *parse (char *b, char *f, ...);
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 EXTERN void ext_OK_v2 ( T_ACI_AT_CMD cmdId );
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 EXTERN T_ATI_EXT_RETURN rEXT_Init ();
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 EXTERN T_ATI_EXT_RETURN rEXT_Execute (UBYTE src_id, CHAR *cmd);
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 EXTERN T_ATI_EXT_RETURN rEXT_Abort (UBYTE src_id);
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 EXTERN T_ATI_EXT_RETURN rEXT_Signal (T_ACI_EXT_IND *aci_ext_ind);
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 #ifdef FF_BAT
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 #include "p_bat.h"
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 EXTERN T_ATI_EXT_RETURN rEXT_Response_BAT (UBYTE src_id, T_BAT_cmd_response *resp);
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 #endif
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51
|
2948924c8299
src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 #endif /* ATI_EXT_MECH_H */
|