Init basesystem source codes.
[staging/basesystem.git] / stub / vehicle / client / src / Vehicle_API.cpp
1 /*
2  * @copyright Copyright (c) 2019-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 /*
18  * Information.
19  * This source code is a sample source code .
20  * Implementation of the function must be performed by the vendor.
21  */
22
23 #include "Vehicle_API.h"
24
25 VEHICLE_RET_API Vehicle_DeliveryEntry(HANDLE h_app, PCSTR notify_name,
26                                       uint32_t ul_did, uint8_t uc_ctrl_flg,
27                                       uint8_t uc_delivery_timing) {
28   /*
29    *  Note.
30    *  This feature needs to be implemented by the vendor.
31    */
32   return VEHICLE_RET_NORMAL;
33 }
34
35 int32_t Vehicle_GetVehicleData(HANDLE h_app, uint32_t ul_did, void *p_dest_data,
36                                uint16_t us_dest_size) {
37   /*
38    *  Note.
39    *  This feature needs to be implemented by the vendor.
40    */
41   return 1;
42 }
43