Init basesystem source codes.
[staging/basesystem.git] / video_in_hal / stub / communication_subcpu / client / src / CommSubCpu_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 <stub/CommSubCpu_API.h>
24
25 COMMSUBCPU_RET_API CommSubCpu_Init() {
26   /*
27    *  Note.
28    *  This feature needs to be implemented by the vendor.
29    */
30     return COMMSUBCPU_RET_NORMAL;
31 }
32
33 COMMSUBCPU_RET_API CommSubCpu_DeInit() {
34   /*
35    *  Note.
36    *  This feature needs to be implemented by the vendor.
37    */
38     return COMMSUBCPU_RET_NORMAL;
39 }
40
41 COMMSUBCPU_RET_API  CommSubCpu_DeliveryMsgEntry(PCSTR name, uint8_t from, uint8_t to, uint8_t opc,
42                                 uint8_t  callback_id, uint16_t cid) {
43   /*
44    *  Note.
45    *  This feature needs to be implemented by the vendor.
46    */
47     return COMMSUBCPU_RET_NORMAL;
48 }
49
50
51 COMMSUBCPU_RET_API CommSubCpu_Transmission(PCSTR name, T_ICR_CMD *snd_cmd, uint8_t req_id) {
52   /*
53    *  Note.
54    *  This feature needs to be implemented by the vendor.
55    */
56     return COMMSUBCPU_RET_NORMAL;
57 }