Kaa client C SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
kaa_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 # ifndef KAA_DEFAULTS_H_
18 # define KAA_DEFAULTS_H_
19 
26 # include "kaa_common.h"
27 
28 # ifdef __cplusplus
29 extern "C" {
30 # endif
31 
32 # define KAA_BUILD_VERSION "0.8.0-SNAPSHOT"
33 # define KAA_BUILD_COMMIT_HASH "N/A"
34 
35 # define KAA_SDK_TOKEN "012345678901234567891234567"
36 
37 # define KAA_PROFILE_SCHEMA_VERSION 2
38 
39 # define KAA_SYNC_TIMEOUT 60000L
40 
48 typedef struct {
52 
53 # define KAA_BOOTSTRAP_ACCESS_POINT_COUNT 1
54 
56 {
57  {
58  { 1, 2 },
59  {
60  12345,
61  4,
62  "ABCD"
63  }
64  }
65 };
66 
67 
68 
69 # define KAA_CONFIGURATION_DATA_LENGTH 45
70 
71 static const char KAA_CONFIGURATION_DATA[KAA_CONFIGURATION_DATA_LENGTH] = { 0x34, 0x42, 0x61, 0x73, 0x69, 0x63, 0x20, 0x63, 0x6F, 0x6E, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x73, 0x63, 0x68, 0x65, 0x6D, 0x61, 0x02, 0x20, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F };
72 
73 # ifdef __cplusplus
74 } // extern "C"
75 # endif
76 
77 # endif /* KAA_DEFAULTS_H_ */
78 
kaa_access_point_t access_point
Definition: kaa_defaults.h:50
Identifier used to uniquely represent transport protocol.
Definition: kaa_common.h:71
Common C EP SDK definitions and small utilities.
kaa_transport_protocol_id_t protocol_id
Definition: kaa_defaults.h:49
#define KAA_CONFIGURATION_DATA_LENGTH
Definition: kaa_defaults.h:69
Uses to represent transport-specific connection data to establish connection to Bootstrap servers...
Definition: kaa_defaults.h:48
#define KAA_BOOTSTRAP_ACCESS_POINT_COUNT
Definition: kaa_defaults.h:53
static const kaa_bootstrap_server_connection_data_t KAA_BOOTSTRAP_ACCESS_POINTS[KAA_BOOTSTRAP_ACCESS_POINT_COUNT]
Definition: kaa_defaults.h:55
Connection parameters used by transport channels to establish connection both to Bootstrap and Operat...
Definition: kaa_common.h:85
static const char KAA_CONFIGURATION_DATA[KAA_CONFIGURATION_DATA_LENGTH]
Definition: kaa_defaults.h:71