Remove unused directories and files in video_in_hal
[staging/basesystem.git] / service / vehicle / positioning / client / include / CommonDefine.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 #ifndef POSITIONING_CLIENT_INCLUDE_COMMONDEFINE_H_
17 #define POSITIONING_CLIENT_INCLUDE_COMMONDEFINE_H_
18
19 /**
20  * @file CommonDefine.h
21  */
22
23 /** @addtogroup vehicle_service
24  *  @{
25  */
26 /** @addtogroup positioning
27  *  @ingroup vehicle_service
28  *  @{
29  */
30
31 /*---------------------------------------------------------------------------------*
32  * Incluce                                                                         *
33  *---------------------------------------------------------------------------------*/
34 #include <vehicle_service/POS_sensor_API.h>
35 #include <vehicle_service/POS_define.h>
36 #include <vehicle_service/pos_message_header.h>
37
38 /*---------------------------------------------------------------------------------*
39  * Definition                                                                      *
40  *---------------------------------------------------------------------------------*/
41 /* Date and Time Status Definition */
42 #define  NAVIINFO_NAVI_GPS_TD_STS_NOTFIX      (0)
43 //!< \~english time has not been adjusted after GPS receiver reset
44 #define  NAVIINFO_NAVI_GPS_TD_STS_RTCBACKUP   (1)   // !<\~english time output from RTC Backup(have time adjustment)
45 #define  NAVIINFO_NAVI_GPS_TD_STS_FIX         (2)   //!< \~english time adjustment completed
46
47 /* Vehicle sensor data information */
48 #define POS_SNS_CONNECTION      (0x01U)    //!< \~english connected
49 #define POS_SNS_UNCONNECTION    (0x00U)    //!< \~english not connected
50 #define POS_SNS_SHORT           (0x02U)    //!< \~english short
51 #define POS_SNS_UNSPECIFIED     (0x03U)    //!< \~english not specified
52
53 /* NMEA Receive Flag(_CWORD82_) */
54 #define POS_SNS__CWORD82__DRMC        (0x01U)    //!< \~english DRMC sentence
55 #define POS_SNS__CWORD82__GSA         (0x02U)    //!< \~english GSA sentence
56 #define POS_SNS__CWORD82__GSV_1       (0x04U)    //!< \~english GSV_1 sentence
57 #define POS_SNS__CWORD82__GSV_2       (0x08U)    //!< \~english GSV_2 sentence
58 #define POS_SNS__CWORD82__GSV_3       (0x10U)    //!< \~english GSV_3 sentence
59 #define POS_SNS__CWORD82__PJRDC_GP_3  (0x20U)    //!< \~english PJRDC_GP_3 sentence
60
61 /* NMEA Receive Flag */
62 #define POS_SNS_GPS_NMEA_PASCD  (0x01000000U)    //!< \~english pascd sentence
63
64 typedef    u_int16    PNO;      //!< \~english PNo.
65
66 /*---------------------------------------------------------------------------------*
67  * Struct declaration                                                              *
68  *---------------------------------------------------------------------------------*/
69
70 /** @}*/  // end of positioning
71 /** @}*/  // end of vehicle_service
72 #endif  // POSITIONING_CLIENT_INCLUDE_COMMONDEFINE_H_