client-c  0.8.1
kaa_defaults.h
Go to the documentation of this file.
1 
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 
Identifier used to uniquely represent transport protocol.
Definition: kaa_common.h:70
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:84
static const char KAA_CONFIGURATION_DATA[KAA_CONFIGURATION_DATA_LENGTH]
Definition: kaa_defaults.h:71