Kaa client C SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
defaults.h
Go to the documentation of this file.
1 /*
2  * Copyright 2014-2016 CyberVision, Inc.
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 #ifndef CC32XX_DEFAULTS_H_
19 #define CC32XX_DEFAULTS_H_
20 
21 #define KAA_TCP_CHANNEL_IN_BUFFER_SIZE 2048
22 #define KAA_TCP_CHANNEL_OUT_BUFFER_SIZE 8192
23 
24 #define KAA_TCP_CHANNEL_MAX_TIMEOUT 200u
25 #define KAA_TCP_CHANNEL_PING_TIMEOUT (KAA_TCP_CHANNEL_MAX_TIMEOUT / 2)
26 
27 #define KAATCP_PARSER_MAX_MESSAGE_LENGTH 1024
28 #define KAA_MAX_LOG_MESSAGE_LENGTH 512
29 
30 #endif /* CC32XX_DEFAULTS_H_ */