annotate gsm-fw/g23m-aci/ati_ext/ati_ext_mech.h @ 789:beb8e9851a07

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