blob: 6caa40aa933615a9713a0e75a0ef489fc81e59d3 [file] [log] [blame]
yu.dongc33b3072024-08-21 23:14:49 -07001/*****************************************************************************
2* Copyright Statement:
3* --------------------
4* This software is protected by Copyright and the information contained
5* herein is confidential. The software may not be copied and the information
6* contained herein may not be used or disclosed except with the written
7* permission of MediaTek Inc. (C) 2016
8*
9* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
10* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
11* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
12* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
13* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
14* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
15* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
16* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
17* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
18* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
19* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
20* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
21*
22* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
23* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
24* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
25* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
26* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
27*
28* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
29* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
30* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
31* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
32* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
33*
34*****************************************************************************/
35
36/*****************************************************************************
37
38 FILE NAME: lec_msgid.h
39
40 DESCRIPTION:
41
42 This file contains the defenitions of all the LEC msg id's.
43
44*****************************************************************************/
45/*----------------------------------------------------------------------------
46Include Files
47----------------------------------------------------------------------------*/
48#ifndef _LEC_MSGID_H_
49#define _LEC_MSGID_H_
50
51#include "module_msg_range.h"
52
53
54#undef MSGID_SET
55#undef MSGID_NEXT
56
57MODULE_MSG_BEGIN( MSG_ID_LEC_CODE_BEGIN )
58 /* from PSW */
59 MSG_ID_LEC_GPS_DEVICE_POWER_ON_REQ_MSG = MSG_ID_LEC_CODE_BEGIN+0, /* Turn on the GPS Device */
60 MSG_ID_LEC_PSEUDORANGE_MSMT_REQ_MSG,
61 MSG_ID_LEC_SESSION_END_REQ_MSG,
62 MSG_ID_LEC_36BIT_NWK_CDMA_TIME_MSG, /* LEC requested System time and PSW response */
63 MSG_ID_LEC_SENSITIVITY_ASSIST_MSG, /* Not used with GNS7560 */
64 MSG_ID_LEC_PSW_GPS_EPH_MSG, /*MS-Based MSG*/
65 MSG_ID_LEC_PSW_GPS_ALM_MSG,
66 MSG_ID_LEC_PSW_LOC_RESP_MSG,
67
68 /*MS-Based from ETS*/
69 MSG_ID_LEC_GPS_MS_BASED_MSG,
70 MSG_ID_LEC_GPS_MS_BASED_GETASSIST_MSG,
71
72 /* from L1D */
73 MSG_ID_LEC_GPS_INIT_GPS_ACK_MSG,
74 MSG_ID_LEC_GPS_END_GPS_ACK_MSG,
75 MSG_ID_LEC_GPS_CONT_GPS_MSG, /* Not used */
76 MSG_ID_LEC_GPS_HW_ENABLE_MSG, /* Not used */
77 MSG_ID_LEC_GPS_REF_FREQ_ADJ_MSG, /* To Set or adjust Clock Frequecny */
78
79 /* from IOP */
80 MSG_ID_LEC_GPS_RX_DATA_MSG,
81
82 /* from DBM */
83 MSG_ID_LEC_DBM_READ_BLK_RSP_MSG,
84 MSG_ID_LEC_DBM_WRITE_BLK_RSP_MSG,
85
86 /* from VAL */
87 MSG_ID_LEC_GPS_RESET_ASSIST_MSG, /* PLTS /Field Test Purpose */
88#if 0
89/* under construction !*/
90/* under construction !*/
91/* under construction !*/
92/* under construction !*/
93/* under construction !*/
94/* under construction !*/
95/* under construction !*/
96/* under construction !*/
97/* under construction !*/
98/* under construction !*/
99/* under construction !*/
100/* under construction !*/
101/* under construction !*/
102/* under construction !*/
103/* under construction !*/
104/* under construction !*/
105/* under construction !*/
106/* under construction !*/
107/* under construction !*/
108/* under construction !*/
109/* under construction !*/
110/* under construction !*/
111/* under construction !*/
112/* under construction !*/
113/* under construction !*/
114/* under construction !*/
115/* under construction !*/
116/* under construction !*/
117/* under construction !*/
118/* under construction !*/
119/* under construction !*/
120#endif
121 MSG_ID_LEC_CALL_BACK_MSG,
122 MSG_ID_LEC_APMODE_MSG,
123 MSG_ID_LEC_TESTMODE_MSG,
124 MSG_ID_LEC_USERMODE_MSG,
125 MSG_ID_LEC_NMEA_CFG_SET_ETS,
126 MSG_ID_LEC_NMEA_CFG_GET_ETS,
127 MSG_ID_LEC_PSW_RESTART_MSG,
128 MSG_ID_LEC_GET_RF_BAND_MSG,
129 MSG_ID_LEC_PSW_CDMA_SYSTEM_RSP_MSG,
130 MSG_ID_LEC_VAL_FACTORY_GET_RF_CNO_MSG,
131 MSG_ID_LEC_VAL_FACTORY_STOP_RF_CNO_MSG,
132 MSG_ID_LEC_LTE_TRN_MSG,
133#if 0
134/* under construction !*/
135/* under construction !*/
136/* under construction !*/
137/* under construction !*/
138/* under construction !*/
139/* under construction !*/
140#endif
141 MSG_ID_LEC_SLEEP_TIME_MSG,
142
143 MSG_ID_LEC_GPS_PGPS_ON_OFF_MSG,
144#if 0
145/* under construction !*/
146/* under construction !*/
147/* under construction !*/
148/* under construction !*/
149/* under construction !*/
150#endif
151 MSG_ID_LEC_PSW_CELL_INFOMATION_MSG,
152#if 0
153/* under construction !*/
154/* under construction !*/
155/* under construction !*/
156/* under construction !*/
157/* under construction !*/
158/* under construction !*/
159/* under construction !*/
160/* under construction !*/
161#endif
162 MSG_ID_LEC_AP_GPS_LOC_RESP_MSG,
163 MSG_ID_LEC_FIX_TIME_MSG,
164 MSG_ID_LEC_AP_GPS_AA_ASSIST_REQ_MSG,
165 MSG_ID_LEC_AP_GPS_QOS_REQ_MSG,
166
167 MSG_ID_LEC_VAL_AP_GPS_START_ACK,
168 MSG_ID_LEC_APF_READY_MSG,
169
170 MSG_ID_LEC_AP_GPS_PRECISE_TIME_AIDING_REQ_MSG,
171 MSG_ID_LEC_AP_GPS_FREQUENCY_AIDING_REQ_MSG,
172 MSG_ID_LEC_AP_GPS_PSEUDORANGE_MSMT_RSP_MSG,
173 MSG_ID_LEC_AP_GPS_REFERENCE_LOCATION_AIDING_REQ_MSG,
174 MSG_ID_LEC_VAL_CP_GPS_STOP_ACK,
175#if 0
176/* under construction !*/
177/* under construction !*/
178/* under construction !*/
179/* under construction !*/
180/* under construction !*/
181/* under construction !*/
182/* under construction !*/
183/* under construction !*/
184/* under construction !*/
185/* under construction !*/
186/* under construction !*/
187/* under construction !*/
188/* under construction !*/
189/* under construction !*/
190/* under construction !*/
191/* under construction !*/
192/* under construction !*/
193/* under construction !*/
194/* under construction !*/
195/* under construction !*/
196/* under construction !*/
197/* under construction !*/
198/* under construction !*/
199#endif
200 MSG_ID_LEC_GPS_READY_MSG,
201#if 0
202/* under construction !*/
203/* under construction !*/
204/* under construction !*/
205/* under construction !*/
206/* under construction !*/
207#endif
208 MSG_ID_LEC_PSW_READY_MSG,
209#if 0
210/* under construction !*/
211/* under construction !*/
212/* under construction !*/
213/* under construction !*/
214/* under construction !*/
215/* under construction !*/
216/* under construction !*/
217/* under construction !*/
218/* under construction !*/
219#endif
220 MSG_ID_LEC_AP_GPS_ASSIST_FINISH_MSG,
221 MSG_ID_LEC_AP_GPS_STOP_ACK_MSG,
222 MSG_ID_LEC_CUSTOMER_SETTING_MSG,
223#if 0
224/* under construction !*/
225#endif
226#ifdef MTK_GPS_SYNC_DEV
227 MSG_ID_LEC_AP_GPS_PERIOD_SYNC_REQ,
228 MSG_ID_LEC_AP_GPS_PERIOD_SYNC_STOP_REQ,
229 MSG_ID_LEC_L1D_GPS_TIME_IND,
230 MSG_ID_LEC_AP_DELETE_ASSIT_DATA_CNF,
231#endif
232 MSG_ID_LEC_STARTUP_SIGNAL,
233 // MSG_ID_LEC_RUN_GPS_LIBRARY_SIGNAL,
234 //MSG_ID_LEC_RUN_PATCH_SIGNAL,
235 MSG_ID_LEC_AP_GPS_SV_VALID_REQ,
236 MSG_ID_LEC_NUM_MSGS_ID,
237
238MODULE_MSG_END(MSG_ID_LEC_CODE_TAIL)
239
240/*****************************************************************************
241 * End of File
242*****************************************************************************/
243#endif