common_library: gettid is multiple declaration in cl_error
[staging/basesystem.git] / video_in_hal / positioning_hal / inc / Common / MDev_Gps_API.h
1 /*
2  * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 /**
17 * @file MDev_Gps_API.h
18 */
19
20 #ifndef INC_COMMON_MDEV_GPS_API_H_
21 #define INC_COMMON_MDEV_GPS_API_H_
22
23 /*---------------------------------------------------------------------------*/
24 // Include files
25
26 #include "gps_hal.h"
27 #include "positioning_def.h"
28
29 /*---------------------------------------------------------------------------*/
30 // Prototype
31
32 RET_API SendNmeaGps(const MDEV_GPS_NMEA* p_nmea_data);
33 RET_API SendCustomGps(const SENSOR_MSG_GPSTIME* p_gps_time,
34                       const SENSORLOCATION_LONLATINFO_DAT* p_lonlat,
35                       const SENSORLOCATION_ALTITUDEINFO_DAT* p_altitude,
36                       const SENSORMOTION_HEADINGINFO_DAT* p_heading,
37                       const NAVIINFO_DIAG_GPS* p_diag_data);
38 RET_API SendSpeedGps(const SENSORMOTION_SPEEDINFO_DAT* p_seed, u_int16 us_peed);
39 RET_API SendTimeGps(const MDEV_GPS_RTC* p_rtc);
40 RET_API SendClockDriftGps(int32_t drift);
41 RET_API SendClockFrequencyGps(uint32_t freq);
42 RET_API DevGpsSndWknRollover(const SensorWknRollOverHal* p_week_rollover);
43 int32   DevGpsRstAnsSend(PNO u_pno, RID uc_rid, u_int32 ul_rst_sts);
44 int32   DevGpsTimesetAnsSend(PNO u_pno, RID uc_rid, u_int32 ul_rst_sts);
45 RET_API DevSendGpsConnectError(BOOL);
46 RET_API SndGpsTimeRaw(const SENSOR_GPSTIME_RAW* pst_gpstime_raw);
47 /*---------------------------------------------------------------------------*/
48 #endif  // INC_COMMON_MDEV_GPS_API_H_
49
50 /*---------------------------------------------------------------------------*/
51 /*EOF*/