FreeCalypso > hg > fc-magnetite
annotate src/g23m-aci/ati_ext/ati_ext_mech.h @ 547:c3f2f79dc5b8
l1_rf12.c compiled-in default RF band tables: a round of cleanup
* Uncalibrated default g_magic values changed from old Clara RF numbers
(yes, Clara, not even Leonardo) to the approximately correct value
for our current hw;
* Uncalibrated default Rx and Tx channel calibration tables providing
neutral correction values: fixed bogus ARFCNs from blind copy-n-paste
between different bands;
* Restored #if (ORDER2_TX_TEMP_CAL==1) in the Tx temperature compensation
tables;
* Fully rewrote the big comment before these rf_XXX structures to reflect
the current situation.
This change is part of the larger transition in FreeCalypso from reverse
to forward engineering, from reconstruction of lost original bits to
ongoing forward development and maintenance.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 17 Nov 2018 19:57:34 +0000 |
parents | 2948924c8299 |
children |
rev | line source |
---|---|
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 */ |