2 * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef POSITIONING_CLIENT_INCLUDE_DEADRECKONING_DBGLOGSIM_H_
18 #define POSITIONING_CLIENT_INCLUDE_DEADRECKONING_DBGLOGSIM_H_
20 /*******************************************************************************
21 FILE : DeadReckoning_DbgLogSim.h
22 SYSTEM : _CWORD64_ platform development
23 SUBSYSTEM : Log Simulator for Debugging
24 PROGRAM : PastModel002*1 log read
26 --------------------------------------------------------------------------------
28 *******************************************************************************/
30 #include "Dead_Reckoning_API.h"
32 #define DR_DBG_LOG_PACKET_HEAD_SIZE (4) /* DR_LOG_PACKET_HEAD_SIZE */
33 #define DR_DBG_LOG_SIM_BUFF_SIZE (0x200)
35 #define DR_DBG_LOG_SIM_DATA_NONE (-1)
36 #define DR_DBG_LOG_SIM_DATA_GPS (1)
37 #define DR_DBG_LOG_SIM_DATA_SENSOR (2)
44 void DeadReckoningDbgLogSimInit(void);
45 void DeadReckoningDbgLogSimDispose(void);
47 BOOL DeadReckoningDbgLogSimIsDbgLogSimMode(void);
48 int DeadReckoningDbgLogSimReadPacket(u_int8 *, size_t, int16 *);
50 #endif // POSITIONING_CLIENT_INCLUDE_DEADRECKONING_DBGLOGSIM_H_