Kaa client C SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Enumerations
kaa_platform_common.h File Reference

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_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 }
 Constants used for a meta data extension. More...
 
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
}
 Constants used for a profile extension. More...
 

Macro Definition Documentation

#define KAA_ALIGNMENT   4
#define KAA_EXTENSION_OPTIONS_SIZE   2
#define KAA_EXTENSION_PAYLOAD_LENGTH_SIZE   4
#define KAA_EXTENSION_TYPE_SIZE   2
#define KAA_PLATFORM_PROTOCOL_ID   0x3553c66f
#define KAA_PLATFORM_PROTOCOL_VERSION   1
#define KAA_PROTOCOL_EXTENSIONS_COUNT_SIZE   2
#define KAA_PROTOCOL_ID_SIZE   4
#define KAA_PROTOCOL_MESSAGE_HEADER_SIZE   (KAA_PROTOCOL_ID_SIZE + KAA_PROTOCOL_VERSION_SIZE + KAA_PROTOCOL_EXTENSIONS_COUNT_SIZE)
#define KAA_PROTOCOL_VERSION_SIZE   2
#define KAA_SDK_TOKEN_LENGTH   27

Enumeration Type Documentation

Constants used for a meta data extension.

Enumerator
TIMEOUT_VALUE 
PUBLIC_KEY_HASH_VALUE 
PROFILE_HASH_VALUE 
APP_TOKEN_VALUE 

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