2 * @copyright Copyright (c) 2019-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 #include "MM_DREC_API.h"
19 RET_DREC_API DREC_ChangeRecording(E_DREC_REC state) {
22 * This feature needs to be implemented by the vendor.
24 return RET_DREC_NORMAL;
27 RET_DREC_API DREC_AccOffOn(E_DREC_ACC state) {
30 * This feature needs to be implemented by the vendor.
32 return RET_DREC_NORMAL;
35 RET_DREC_API DREC_WriteTrcPwr(T_DREC_TRCPWR* data, u_int32_t num) {
38 * This feature needs to be implemented by the vendor.
40 return RET_DREC_NORMAL;
43 RET_DREC_API DREC_WriteTrcPwr_Tick(T_DREC_TRCPWR_WITHSYSTIME* data, u_int32_t num, u_int32_t tick) {
46 * This feature needs to be implemented by the vendor.
48 return RET_DREC_NORMAL;
51 RET_DREC_API DREC_WriteTrcMode(T_DREC_TRCMODE* data, u_int32_t num) {
54 * This feature needs to be implemented by the vendor.
56 return RET_DREC_NORMAL;
59 RET_DREC_API DREC_WriteTrcVehicleSignal(T_DREC_TRCVEHICLESIGNAL* data, u_int32_t num) {
62 * This feature needs to be implemented by the vendor.
64 return RET_DREC_NORMAL;
67 RET_DREC_API DREC_WriteTrcKey(T_DREC_TRCKEY* data, u_int32_t num) {
70 * This feature needs to be implemented by the vendor.
72 return RET_DREC_NORMAL;
75 RET_DREC_API DREC_WriteTrcKey_Exp(T_DREC_TRCKEY_EXP* data, u_int32_t num) {
78 * This feature needs to be implemented by the vendor.
80 return RET_DREC_NORMAL;
83 RET_DREC_API DREC_WriteTrcKey_Voice(T_DREC_TRCKEY_VOICE* data, u_int32_t num) {
86 * This feature needs to be implemented by the vendor.
88 return RET_DREC_NORMAL;
91 RET_DREC_API DREC_WriteTrcErr(T_DREC_TRCERR* data, u_int32_t num) {
94 * This feature needs to be implemented by the vendor.
96 return RET_DREC_NORMAL;
99 RET_DREC_API DREC_WriteTrcCan(T_DREC_TRCCAN* data, u_int32_t num, u_int32_t tick) {
102 * This feature needs to be implemented by the vendor.
104 return RET_DREC_NORMAL;
107 RET_DREC_API DREC_WriteTrcOwnCarPosition(T_DREC_TRCAWDATA* data) {
110 * This feature needs to be implemented by the vendor.
112 return RET_DREC_NORMAL;
115 RET_DREC_API DREC_WriteTrcDeliveryPFWatchLog(T_DREC_TRCAWDATA* data) {
118 * This feature needs to be implemented by the vendor.
120 return RET_DREC_NORMAL;
123 RET_DREC_API DREC_WriteTrcDeliveryPFUseLog(T_DREC_TRCAWDATA* data) {
126 * This feature needs to be implemented by the vendor.
128 return RET_DREC_NORMAL;
131 RET_DREC_API DREC_WriteTrcBT(T_DREC_TRCBT* data, u_int32_t num) {
134 * This feature needs to be implemented by the vendor.
136 return RET_DREC_NORMAL;
139 RET_DREC_API DREC_WriteTrcBTInternal(u_int8_t* data, u_int32_t size) {
142 * This feature needs to be implemented by the vendor.
144 return RET_DREC_NORMAL;
147 RET_DREC_API DREC_WriteTrcWiFiInternal(u_int8_t* data, u_int32_t size) {
150 * This feature needs to be implemented by the vendor.
152 return RET_DREC_NORMAL;
155 RET_DREC_API DREC_WriteTrcWiFi(T_DREC_TRCWIFI* data, u_int32_t num) {
158 * This feature needs to be implemented by the vendor.
160 return RET_DREC_NORMAL;
163 RET_DREC_API DREC_WriteTrcCenter(u_int8_t* data, u_int32_t size) {
166 * This feature needs to be implemented by the vendor.
168 return RET_DREC_NORMAL;
171 RET_DREC_API DREC_WriteTrcVersion(T_DREC_TRCVERSION* data, u_int32_t num) {
174 * This feature needs to be implemented by the vendor.
176 return RET_DREC_NORMAL;
179 RET_DREC_API DREC_WriteTrcDCM(u_int8_t* data, u_int32_t size) {
182 * This feature needs to be implemented by the vendor.
184 return RET_DREC_NORMAL;
187 RET_DREC_API DREC_WriteTrcDSRC(T_DREC_TRCAWDATA* data) {
190 * This feature needs to be implemented by the vendor.
192 return RET_DREC_NORMAL;
195 RET_DREC_API DREC_WriteTrc_CWORD17_(T_DREC_TRCCAN* data, u_int32_t num, u_int32_t tick) {
198 * This feature needs to be implemented by the vendor.
200 return RET_DREC_NORMAL;
203 RET_DREC_API DREC_WriteTrcWave(T_DREC_TRCWAVE* data, u_int32_t num) {
206 * This feature needs to be implemented by the vendor.
208 return RET_DREC_NORMAL;
211 RET_DREC_API DREC_WriteTrcUSB(u_int8_t* data, u_int32_t size) {
214 * This feature needs to be implemented by the vendor.
216 return RET_DREC_NORMAL;
219 RET_DREC_API DREC_GetRecordSize(E_PFDREC_CATEGORY_TYPE type, u_int32_t *num) {
222 * This feature needs to be implemented by the vendor.
224 return RET_DREC_NORMAL;
227 RET_DREC_API DREC_GetRecordData(E_PFDREC_CATEGORY_TYPE type, u_int32_t num,
228 u_int32_t record_ptr, u_int8_t *data, u_int32_t *out_num) {
231 * This feature needs to be implemented by the vendor.
233 return RET_DREC_NORMAL;
236 RET_DREC_API DREC_GetRecordState(E_DREC_REC* state) {
239 * This feature needs to be implemented by the vendor.
241 return RET_DREC_NORMAL;
244 RET_DREC_API DREC_SetSysemTimeDifference(u_int32_t data) {
247 * This feature needs to be implemented by the vendor.
249 return RET_DREC_NORMAL;
252 RET_DREC_API DREC_WriteTrcGPS(T_DREC_TRCGPS* data) {
255 * This feature needs to be implemented by the vendor.
257 return RET_DREC_NORMAL;
261 RET_DREC_API DREC_WriteTrcUSBETC(T_DREC_TRCAWDATA* data)
265 * This feature needs to be implemented by the vendor.
267 return RET_DREC_NORMAL;
270 RET_DREC_API DREC_WriteTrcUplink(T_DREC_TRCAWDATA* data)
274 * This feature needs to be implemented by the vendor.
276 return RET_DREC_NORMAL;
279 RET_DREC_API DREC_WriteTrcETCWatch(T_DREC_TRCETCWATCH* data, u_int32_t num)
283 * This feature needs to be implemented by the vendor.
285 return RET_DREC_NORMAL;
288 RET_DREC_API DREC_WriteTrcRoB(T_DREC_TRCROB* data, u_int32_t num)
292 * This feature needs to be implemented by the vendor.
294 return RET_DREC_NORMAL;
297 RET_DREC_API DREC_WriteTrcEvaluation(u_int8_t* data, u_int32_t size)
301 * This feature needs to be implemented by the vendor.
303 return RET_DREC_NORMAL;
306 RET_DREC_API DREC_DeleteTrcDeliveryPFUseLog(void)
310 * This feature needs to be implemented by the vendor.
312 return RET_DREC_NORMAL;
315 RET_DREC_API DREC_DeleteTrcDeliveryPFUseLog_inSession(HANDLE hThread)
319 * This feature needs to be implemented by the vendor.
321 return RET_DREC_NORMAL;
324 RET_DREC_API DREC_WriteTrcOptBeaconDownLink(T_DREC_TRCOPTBEACON_DOWN_LINK* data, u_int32_t num)
328 * This feature needs to be implemented by the vendor.
330 return RET_DREC_NORMAL;
333 RET_DREC_API DREC_WriteTrcOptBeaconUpLink(T_DREC_TRCOPTBEACON_UP_LINK* data, u_int32_t num)
337 * This feature needs to be implemented by the vendor.
339 return RET_DREC_NORMAL;
342 RET_DREC_API DREC_MakerTrace_DeliveryEntry(HANDLE hApp,
347 * This feature needs to be implemented by the vendor.
349 return RET_DREC_NORMAL;
352 RET_DREC_API DREC_MakerTrace_SizeRequest(HANDLE hApp,
357 * This feature needs to be implemented by the vendor.
359 return RET_DREC_NORMAL;
362 RET_DREC_API DREC_MakerTrace_SizeResponce(HANDLE hApp,
368 * This feature needs to be implemented by the vendor.
370 return RET_DREC_NORMAL;
373 RET_DREC_API DREC_MakerTrace_OutputRequest(HANDLE hApp,
376 DREC_OUTPUT_STATE state)
380 * This feature needs to be implemented by the vendor.
382 return RET_DREC_NORMAL;
385 RET_DREC_API DREC_MakerTrace_OutputResponce(HANDLE hApp,
388 DREC_OUTPUT_RESULT state)
392 * This feature needs to be implemented by the vendor.
394 return RET_DREC_NORMAL;
397 RET_DREC_API DREC_MakerTrace_DeleteRequest(HANDLE hApp,
402 * This feature needs to be implemented by the vendor.
404 return RET_DREC_NORMAL;
407 RET_DREC_API DREC_MakerTrace_DeleteResponce(HANDLE hApp,
409 DREC_OUTPUT_RESULT state)
413 * This feature needs to be implemented by the vendor.
415 return RET_DREC_NORMAL;
418 RET_DREC_API DREC_MakerTrace_FuncStatusRequest(HANDLE hApp,
420 DREC_OUTPUT_FUNC func)
424 * This feature needs to be implemented by the vendor.
426 return RET_DREC_NORMAL;
429 RET_DREC_API DREC_MakerTrace_FuncStatusResponce(HANDLE hApp,
431 DREC_OUTPUT_RESULT state)
435 * This feature needs to be implemented by the vendor.
437 return RET_DREC_NORMAL;
440 RET_DREC_API DREC_MakerTrace_NotifyRestrict(HANDLE hApp,
442 DREC_NOTIFY_RESTRICT notifyRestrict)
446 * This feature needs to be implemented by the vendor.
448 return RET_DREC_NORMAL;