comparison src/gpf/inc/pco_pdi.h @ 5:1ea54a97e831

src/gpf: import of Magnetite src/gpf3
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 08:11:07 +0000
parents
children
comparison
equal deleted inserted replaced
4:6e457872f745 5:1ea54a97e831
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_*/