client-c  0.8.1
kaa_platform_common.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define KAA_PLATFORM_PROTOCOL_VERSION   1
 
#define KAA_PLATFORM_PROTOCOL_ID   0x3553c66f
 
#define KAA_ALIGNMENT   4
 
#define KAA_PROTOCOL_ID_SIZE   4
 
#define KAA_PROTOCOL_VERSION_SIZE   2
 
#define KAA_PROTOCOL_EXTENSIONS_COUNT_SIZE   2
 
#define KAA_PROTOCOL_MESSAGE_HEADER_SIZE   (KAA_PROTOCOL_ID_SIZE + KAA_PROTOCOL_VERSION_SIZE + KAA_PROTOCOL_EXTENSIONS_COUNT_SIZE)
 
#define KAA_EXTENSION_TYPE_SIZE   2
 
#define KAA_EXTENSION_OPTIONS_SIZE   2
 
#define KAA_EXTENSION_PAYLOAD_LENGTH_SIZE   4
 
#define KAA_EXTENSION_HEADER_SIZE   (KAA_EXTENSION_TYPE_SIZE + KAA_EXTENSION_OPTIONS_SIZE + KAA_EXTENSION_PAYLOAD_LENGTH_SIZE)
 
#define KAA_BOOTSTRAP_EXTENSION_TYPE   0
 
#define KAA_META_DATA_EXTENSION_TYPE   1
 
#define KAA_PROFILE_EXTENSION_TYPE   2
 
#define KAA_USER_EXTENSION_TYPE   3
 
#define KAA_LOGGING_EXTENSION_TYPE   4
 
#define KAA_CONFIGURATION_EXTENSION_TYPE   5
 
#define KAA_EVENT_EXTENSION_TYPE   7
 
#define KAA_NOTIFICATION_EXTENSION_TYPE   6
 
#define KAA_REDIRECT_EXTENSION_TYPE   8
 
#define KAA_SDK_TOKEN_LENGTH   27
 

Enumerations

enum  kaa_meta_data_extension_options_t { TIMEOUT_VALUE = 0x1, PUBLIC_KEY_HASH_VALUE = 0x2, PROFILE_HASH_VALUE = 0x4, APP_TOKEN_VALUE = 0x8 }
 
enum  kaa_profile_extension_options_t {
  CONFIG_SCHEMA_VERSION_VALUE = 0x0, PROFILE_SCHEMA_VERSION_VALUE = 0x1, SYS_NF_VERSION_VALUE = 0x2, USER_NF_VERSION_VALUE = 0x3,
  LOG_SCHEMA_VERSION_VALUE = 0x4, EVENT_FAMILY_VERSIONS_COUNT_VALUE = 0x5, PUB_KEY_VALUE = 0x6, ACCESS_TOKEN_VALUE = 0x7
}
 

Macro Definition Documentation

#define KAA_ALIGNMENT   4

Definition at line 27 of file kaa_platform_common.h.

#define KAA_BOOTSTRAP_EXTENSION_TYPE   0

Definition at line 45 of file kaa_platform_common.h.

#define KAA_CONFIGURATION_EXTENSION_TYPE   5

Definition at line 50 of file kaa_platform_common.h.

#define KAA_EVENT_EXTENSION_TYPE   7

Definition at line 51 of file kaa_platform_common.h.

Definition at line 40 of file kaa_platform_common.h.

#define KAA_EXTENSION_OPTIONS_SIZE   2

Definition at line 38 of file kaa_platform_common.h.

#define KAA_EXTENSION_PAYLOAD_LENGTH_SIZE   4

Definition at line 39 of file kaa_platform_common.h.

#define KAA_EXTENSION_TYPE_SIZE   2

Definition at line 37 of file kaa_platform_common.h.

#define KAA_LOGGING_EXTENSION_TYPE   4

Definition at line 49 of file kaa_platform_common.h.

#define KAA_META_DATA_EXTENSION_TYPE   1

Definition at line 46 of file kaa_platform_common.h.

#define KAA_NOTIFICATION_EXTENSION_TYPE   6

Definition at line 52 of file kaa_platform_common.h.

#define KAA_PLATFORM_PROTOCOL_ID   0x3553c66f

Definition at line 25 of file kaa_platform_common.h.

#define KAA_PLATFORM_PROTOCOL_VERSION   1

Copyright 2014-2016 CyberVision, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 24 of file kaa_platform_common.h.

#define KAA_PROFILE_EXTENSION_TYPE   2

Definition at line 47 of file kaa_platform_common.h.

#define KAA_PROTOCOL_EXTENSIONS_COUNT_SIZE   2

Definition at line 34 of file kaa_platform_common.h.

#define KAA_PROTOCOL_ID_SIZE   4

Definition at line 32 of file kaa_platform_common.h.

#define KAA_PROTOCOL_MESSAGE_HEADER_SIZE   (KAA_PROTOCOL_ID_SIZE + KAA_PROTOCOL_VERSION_SIZE + KAA_PROTOCOL_EXTENSIONS_COUNT_SIZE)

Definition at line 35 of file kaa_platform_common.h.

#define KAA_PROTOCOL_VERSION_SIZE   2

Definition at line 33 of file kaa_platform_common.h.

#define KAA_REDIRECT_EXTENSION_TYPE   8

Definition at line 56 of file kaa_platform_common.h.

#define KAA_SDK_TOKEN_LENGTH   27

Definition at line 59 of file kaa_platform_common.h.

#define KAA_USER_EXTENSION_TYPE   3

Definition at line 48 of file kaa_platform_common.h.

Enumeration Type Documentation

Constants used for a meta data extension.

Enumerator
TIMEOUT_VALUE 
PUBLIC_KEY_HASH_VALUE 
PROFILE_HASH_VALUE 
APP_TOKEN_VALUE 

Definition at line 64 of file kaa_platform_common.h.

Constants used for a profile extension.

Enumerator
CONFIG_SCHEMA_VERSION_VALUE 
PROFILE_SCHEMA_VERSION_VALUE 
SYS_NF_VERSION_VALUE 
USER_NF_VERSION_VALUE 
LOG_SCHEMA_VERSION_VALUE 
EVENT_FAMILY_VERSIONS_COUNT_VALUE 
PUB_KEY_VALUE 
ACCESS_TOKEN_VALUE 

Definition at line 74 of file kaa_platform_common.h.