FreeCalypso > hg > fc-magnetite
comparison src/gpf3/inc/pco_pdi.h @ 2:c41a534f33c6
src/gpf3: preened GPF goo from TCS3.2
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 25 Sep 2016 23:52:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:864b8cc0cf63 | 2:c41a534f33c6 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : PCO2 | |
4 | Modul : PCO_PDI | |
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 : This header provides functions to read and store data for | |
18 | usage with the pdi-module (Primitive Decoding Information). | |
19 | Furthermore filter functions are included. (filtering by opc, | |
20 | up/downlink and air message id) | |
21 +----------------------------------------------------------------------------- | |
22 */ | |
23 | |
24 | |
25 #ifndef _PCO_PDI_H_ | |
26 #define _PCO_PDI_H_ | |
27 | |
28 /*==== INCLUDES ==================================================*/ | |
29 #include "ccdapi.h" | |
30 extern "C" { | |
31 #include "pdi.h" | |
32 } | |
33 | |
34 /*==== GLOABAL FUNCTION DECLARATIONS =============================*/ | |
35 | |
36 /* | |
37 +---------------------------------------------------------------------+ | |
38 | PROJECT : PCO2 MODULE : PCO_PDI | | |
39 | STATE : code ROUTINE : pco_pdi_init | | |
40 +---------------------------------------------------------------------+ | |
41 | |
42 PURPOSE : initalized pdi data for pco | |
43 | |
44 PARAMS: fname .. name of file with pdi data | |
45 | |
46 RETURNS: 0 .. sucess | |
47 -1 .. otherwise | |
48 | |
49 */ | |
50 int pco_pdi_init(const char* fname); | |
51 | |
52 int pco_pdi_exit(); | |
53 | |
54 | |
55 T_PDI_CONTEXT* pco_pdi_context(); | |
56 | |
57 | |
58 #endif /*_PCO_PDI_H_*/ |