config.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 Kubos 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 
24 #ifndef IPC_CONFIG_H
25 #define IPC_CONFIG_H
26 
28 #ifdef YOTTA_CFG_IPC_READ_TIMEOUT
29 #define IPC_READ_TIMEOUT YOTTA_CFG_IPC_READ_TIMEOUT
30 #else
31 #define IPC_READ_TIMEOUT 50
32 #endif
33 
35 #ifdef YOTTA_CFG_IPC_SEND_TIMEOUT
36 #define IPC_SEND_TIMEOUT YOTTA_CFG_IPC_SEND_TIMEOUT
37 #else
38 #define IPC_SEND_TIMEOUT 1000
39 #endif
40 
42 #ifdef YOTTA_CFG_IPC_SOCKET_PORT
43 #define IPC_SOCKET_PORT YOTTA_CFG_IPC_SOCKET_PORT
44 #else
45 #define IPC_SOCKET_PORT 8888
46 #endif
47 
48 #endif
49 
50 /* @} */