comparison g23m/condat/ms/src/aci/cmh_lc.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-PS (6147)
4 | Modul : CMH_LC
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 : Definitions for the command handler of the
18 | Location Service
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifndef CMH_LC_H
23 #define CMH_LC_H
24 #endif
25
26 #if defined FF_EOTD
27 /*==== CONSTANTS ==================================================*/
28
29
30 /*==== TYPES ======================================================*/
31 /* T_LC_NVM_DATA */
32 /*
33 * Caution! An identical definition must be contained in the file
34 * ...\lc\lc.h
35 */
36 typedef struct
37 {
38 UBYTE eotd; /* 0: EOTD detection by RR 1: EOTD assumed */
39 UBYTE cps_trace; /* 0: CPS log not started automatically 1: CPS log started */
40 UBYTE periodic; /* 0: periodic SMS by AT commands only 1: periodic SMS restarted */
41 UBYTE sleep; /* 0: no change of sleep mode 1: sleep switched off */
42 } T_LC_NVM_DATA;
43
44 /*==== PROTOTYPES =================================================*/
45
46 EXTERN void cmhLC_posDataReq (char* clientId, USHORT lcCallRefId);
47 EXTERN void cmhSMS_MEASdeliver ( UBYTE *lc_meas_buf);
48 EXTERN UBYTE lc_callref_init (void);
49 T_ACI_RETURN lclist_init (void);
50 /* EXTERN void lclist_deinit (void); */
51
52 /*==== EXPORT =====================================================*/
53
54 #ifdef CMH_LCS_C
55 EXTERN UBYTE v_eotd;
56 GLOBAL T_LOC_SERV_PARA locServPrm; /* list of LC clients */
57 GLOBAL BOOL location_service_flag; /* status of feature location service (E-OTD) */
58 GLOBAL BOOL eotd_periodic_update_flag;/* status of feature Periodic Update (E-OTD) */
59
60 GLOBAL T_LOC_MLC_ADDRESS lc_orig_addr;
61 GLOBAL T_LOC_POS_DATA aci_lc_data;
62 GLOBAL USHORT used_lc_callref = 1;
63
64 #else
65 EXTERN T_LOC_SERV_PARA locServPrm; /* list of LC clients */
66 EXTERN BOOL location_service_flag; /* status of feature location service (E-OTD) */
67 EXTERN BOOL eotd_periodic_update_flag;/* status of feature Periodic Update (E-OTD) */
68 EXTERN T_LOC_MLC_ADDRESS lc_orig_addr;
69 EXTERN T_LOC_POS_DATA aci_lc_data;
70 EXTERN USHORT used_lc_callref;
71
72 #endif
73
74 /*==== EOF =======================================================*/
75 #endif