Snapdragon® Telematics Application Framework (TelAF) Interface Specification
taf_dcs_messages.h File Reference
#include "taf_dcs_common.h"

Go to the source code of this file.

Macros

#define _MAX_MSG_SIZE   IFGEN_TAF_DCS_MSG_SIZE
 
#define _MSGID_taf_dcs_StartSession   0
 
#define _MSGID_taf_dcs_StartSessionAsync   1
 
#define _MSGID_taf_dcs_StopSession   2
 
#define _MSGID_taf_dcs_StopSessionAsync   3
 
#define _MSGID_taf_dcs_GetInterfaceName   4
 
#define _MSGID_taf_dcs_AddSessionStateHandler   5
 
#define _MSGID_taf_dcs_RemoveSessionStateHandler   6
 
#define _MSGID_taf_dcs_AddRoamingStatusHandler   7
 
#define _MSGID_taf_dcs_RemoveRoamingStatusHandler   8
 
#define _MSGID_taf_dcs_GetRoamingStatus   9
 
#define _MSGID_taf_dcs_GetIPv4Address   10
 
#define _MSGID_taf_dcs_GetIPv4GatewayAddress   11
 
#define _MSGID_taf_dcs_GetIPv4DNSAddresses   12
 
#define _MSGID_taf_dcs_GetIPv6Address   13
 
#define _MSGID_taf_dcs_GetIPv6GatewayAddress   14
 
#define _MSGID_taf_dcs_GetIPv6DNSAddresses   15
 
#define _MSGID_taf_dcs_GetSessionState   16
 
#define _MSGID_taf_dcs_IsIPv4   17
 
#define _MSGID_taf_dcs_IsIPv6   18
 
#define _MSGID_taf_dcs_GetDataBearerTechnology   19
 
#define _MSGID_taf_dcs_GetProfileList   20
 
#define _MSGID_taf_dcs_GetProfileListEx   21
 
#define _MSGID_taf_dcs_GetDefaultProfileIndex   22
 
#define _MSGID_taf_dcs_GetDefaultPhoneIdAndProfileId   23
 
#define _MSGID_taf_dcs_SetDefaultProfileIndex   24
 
#define _MSGID_taf_dcs_SetDefaultProfileIndexEx   25
 
#define _MSGID_taf_dcs_GetProfile   26
 
#define _MSGID_taf_dcs_GetProfileEx   27
 
#define _MSGID_taf_dcs_GetProfileIndex   28
 
#define _MSGID_taf_dcs_GetPhoneId   29
 
#define _MSGID_taf_dcs_SetAPN   30
 
#define _MSGID_taf_dcs_GetAPN   31
 
#define _MSGID_taf_dcs_GetApnTypes   32
 
#define _MSGID_taf_dcs_SetPDP   33
 
#define _MSGID_taf_dcs_GetPDP   34
 
#define _MSGID_taf_dcs_SetAuthentication   35
 
#define _MSGID_taf_dcs_GetAuthentication   36
 
#define _MSGID_taf_dcs_GetProfileIdByInterfaceName   37
 
#define _MSGID_taf_dcs_GetPhoneIdByInterfaceName   38
 

Functions

struct __attribute__ ((packed))
 
static bool taf_dcs_PackDataBearerTechnology (uint8_t **bufferPtr, taf_dcs_DataBearerTechnology_t value)
 
static bool taf_dcs_UnpackDataBearerTechnology (uint8_t **bufferPtr, taf_dcs_DataBearerTechnology_t *valuePtr)
 
static bool taf_dcs_PackConState (uint8_t **bufferPtr, taf_dcs_ConState_t value)
 
static bool taf_dcs_UnpackConState (uint8_t **bufferPtr, taf_dcs_ConState_t *valuePtr)
 
static bool taf_dcs_PackPdp (uint8_t **bufferPtr, taf_dcs_Pdp_t value)
 
static bool taf_dcs_UnpackPdp (uint8_t **bufferPtr, taf_dcs_Pdp_t *valuePtr)
 
static bool taf_dcs_PackRoamingType (uint8_t **bufferPtr, taf_dcs_RoamingType_t value)
 
static bool taf_dcs_UnpackRoamingType (uint8_t **bufferPtr, taf_dcs_RoamingType_t *valuePtr)
 
static bool taf_dcs_PackAuth (uint8_t **bufferPtr, taf_dcs_Auth_t value)
 
static bool taf_dcs_UnpackAuth (uint8_t **bufferPtr, taf_dcs_Auth_t *valuePtr)
 
static bool taf_dcs_PackApnType (uint8_t **bufferPtr, taf_dcs_ApnType_t value)
 
static bool taf_dcs_UnpackApnType (uint8_t **bufferPtr, taf_dcs_ApnType_t *valuePtr)
 
static bool taf_dcs_PackTech (uint8_t **bufferPtr, taf_dcs_Tech_t value)
 
static bool taf_dcs_UnpackTech (uint8_t **bufferPtr, taf_dcs_Tech_t *valuePtr)
 
static bool taf_dcs_PackDefaultGatewayAddresses (uint8_t **bufferPtr, const taf_dcs_DefaultGatewayAddresses_t *valuePtr)
 
static bool taf_dcs_UnpackDefaultGatewayAddresses (uint8_t **bufferPtr, taf_dcs_DefaultGatewayAddresses_t *valuePtr)
 
static bool taf_dcs_PackDnsServerAddresses (uint8_t **bufferPtr, const taf_dcs_DnsServerAddresses_t *valuePtr)
 
static bool taf_dcs_UnpackDnsServerAddresses (uint8_t **bufferPtr, taf_dcs_DnsServerAddresses_t *valuePtr)
 
static bool taf_dcs_PackStateInfo (uint8_t **bufferPtr, const taf_dcs_StateInfo_t *valuePtr)
 
static bool taf_dcs_UnpackStateInfo (uint8_t **bufferPtr, taf_dcs_StateInfo_t *valuePtr)
 
static bool taf_dcs_PackRoamingStatusInd (uint8_t **bufferPtr, const taf_dcs_RoamingStatusInd_t *valuePtr)
 
static bool taf_dcs_UnpackRoamingStatusInd (uint8_t **bufferPtr, taf_dcs_RoamingStatusInd_t *valuePtr)
 
static bool taf_dcs_PackProfileInfo (uint8_t **bufferPtr, const taf_dcs_ProfileInfo_t *valuePtr)
 
static bool taf_dcs_UnpackProfileInfo (uint8_t **bufferPtr, taf_dcs_ProfileInfo_t *valuePtr)
 

Variables

 _Message_t
 

Macro Definition Documentation

◆ _MAX_MSG_SIZE

#define _MAX_MSG_SIZE   IFGEN_TAF_DCS_MSG_SIZE

◆ _MSGID_taf_dcs_StartSession

#define _MSGID_taf_dcs_StartSession   0

◆ _MSGID_taf_dcs_StartSessionAsync

#define _MSGID_taf_dcs_StartSessionAsync   1

◆ _MSGID_taf_dcs_StopSession

#define _MSGID_taf_dcs_StopSession   2

◆ _MSGID_taf_dcs_StopSessionAsync

#define _MSGID_taf_dcs_StopSessionAsync   3

◆ _MSGID_taf_dcs_GetInterfaceName

#define _MSGID_taf_dcs_GetInterfaceName   4

◆ _MSGID_taf_dcs_AddSessionStateHandler

#define _MSGID_taf_dcs_AddSessionStateHandler   5

◆ _MSGID_taf_dcs_RemoveSessionStateHandler

#define _MSGID_taf_dcs_RemoveSessionStateHandler   6

◆ _MSGID_taf_dcs_AddRoamingStatusHandler

#define _MSGID_taf_dcs_AddRoamingStatusHandler   7

◆ _MSGID_taf_dcs_RemoveRoamingStatusHandler

#define _MSGID_taf_dcs_RemoveRoamingStatusHandler   8

◆ _MSGID_taf_dcs_GetRoamingStatus

#define _MSGID_taf_dcs_GetRoamingStatus   9

◆ _MSGID_taf_dcs_GetIPv4Address

#define _MSGID_taf_dcs_GetIPv4Address   10

◆ _MSGID_taf_dcs_GetIPv4GatewayAddress

#define _MSGID_taf_dcs_GetIPv4GatewayAddress   11

◆ _MSGID_taf_dcs_GetIPv4DNSAddresses

#define _MSGID_taf_dcs_GetIPv4DNSAddresses   12

◆ _MSGID_taf_dcs_GetIPv6Address

#define _MSGID_taf_dcs_GetIPv6Address   13

◆ _MSGID_taf_dcs_GetIPv6GatewayAddress

#define _MSGID_taf_dcs_GetIPv6GatewayAddress   14

◆ _MSGID_taf_dcs_GetIPv6DNSAddresses

#define _MSGID_taf_dcs_GetIPv6DNSAddresses   15

◆ _MSGID_taf_dcs_GetSessionState

#define _MSGID_taf_dcs_GetSessionState   16

◆ _MSGID_taf_dcs_IsIPv4

#define _MSGID_taf_dcs_IsIPv4   17

◆ _MSGID_taf_dcs_IsIPv6

#define _MSGID_taf_dcs_IsIPv6   18

◆ _MSGID_taf_dcs_GetDataBearerTechnology

#define _MSGID_taf_dcs_GetDataBearerTechnology   19

◆ _MSGID_taf_dcs_GetProfileList

#define _MSGID_taf_dcs_GetProfileList   20

◆ _MSGID_taf_dcs_GetProfileListEx

#define _MSGID_taf_dcs_GetProfileListEx   21

◆ _MSGID_taf_dcs_GetDefaultProfileIndex

#define _MSGID_taf_dcs_GetDefaultProfileIndex   22

◆ _MSGID_taf_dcs_GetDefaultPhoneIdAndProfileId

#define _MSGID_taf_dcs_GetDefaultPhoneIdAndProfileId   23

◆ _MSGID_taf_dcs_SetDefaultProfileIndex

#define _MSGID_taf_dcs_SetDefaultProfileIndex   24

◆ _MSGID_taf_dcs_SetDefaultProfileIndexEx

#define _MSGID_taf_dcs_SetDefaultProfileIndexEx   25

◆ _MSGID_taf_dcs_GetProfile

#define _MSGID_taf_dcs_GetProfile   26

◆ _MSGID_taf_dcs_GetProfileEx

#define _MSGID_taf_dcs_GetProfileEx   27

◆ _MSGID_taf_dcs_GetProfileIndex

#define _MSGID_taf_dcs_GetProfileIndex   28

◆ _MSGID_taf_dcs_GetPhoneId

#define _MSGID_taf_dcs_GetPhoneId   29

◆ _MSGID_taf_dcs_SetAPN

#define _MSGID_taf_dcs_SetAPN   30

◆ _MSGID_taf_dcs_GetAPN

#define _MSGID_taf_dcs_GetAPN   31

◆ _MSGID_taf_dcs_GetApnTypes

#define _MSGID_taf_dcs_GetApnTypes   32

◆ _MSGID_taf_dcs_SetPDP

#define _MSGID_taf_dcs_SetPDP   33

◆ _MSGID_taf_dcs_GetPDP

#define _MSGID_taf_dcs_GetPDP   34

◆ _MSGID_taf_dcs_SetAuthentication

#define _MSGID_taf_dcs_SetAuthentication   35

◆ _MSGID_taf_dcs_GetAuthentication

#define _MSGID_taf_dcs_GetAuthentication   36

◆ _MSGID_taf_dcs_GetProfileIdByInterfaceName

#define _MSGID_taf_dcs_GetProfileIdByInterfaceName   37

◆ _MSGID_taf_dcs_GetPhoneIdByInterfaceName

#define _MSGID_taf_dcs_GetPhoneIdByInterfaceName   38

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed)  )

◆ taf_dcs_PackDataBearerTechnology()

static bool taf_dcs_PackDataBearerTechnology ( uint8_t **  bufferPtr,
taf_dcs_DataBearerTechnology_t  value 
)
inlinestatic

◆ taf_dcs_UnpackDataBearerTechnology()

static bool taf_dcs_UnpackDataBearerTechnology ( uint8_t **  bufferPtr,
taf_dcs_DataBearerTechnology_t valuePtr 
)
inlinestatic

◆ taf_dcs_PackConState()

static bool taf_dcs_PackConState ( uint8_t **  bufferPtr,
taf_dcs_ConState_t  value 
)
inlinestatic

◆ taf_dcs_UnpackConState()

static bool taf_dcs_UnpackConState ( uint8_t **  bufferPtr,
taf_dcs_ConState_t valuePtr 
)
inlinestatic

◆ taf_dcs_PackPdp()

static bool taf_dcs_PackPdp ( uint8_t **  bufferPtr,
taf_dcs_Pdp_t  value 
)
inlinestatic

◆ taf_dcs_UnpackPdp()

static bool taf_dcs_UnpackPdp ( uint8_t **  bufferPtr,
taf_dcs_Pdp_t valuePtr 
)
inlinestatic

◆ taf_dcs_PackRoamingType()

static bool taf_dcs_PackRoamingType ( uint8_t **  bufferPtr,
taf_dcs_RoamingType_t  value 
)
inlinestatic

◆ taf_dcs_UnpackRoamingType()

static bool taf_dcs_UnpackRoamingType ( uint8_t **  bufferPtr,
taf_dcs_RoamingType_t valuePtr 
)
inlinestatic

◆ taf_dcs_PackAuth()

static bool taf_dcs_PackAuth ( uint8_t **  bufferPtr,
taf_dcs_Auth_t  value 
)
inlinestatic

◆ taf_dcs_UnpackAuth()

static bool taf_dcs_UnpackAuth ( uint8_t **  bufferPtr,
taf_dcs_Auth_t valuePtr 
)
inlinestatic

◆ taf_dcs_PackApnType()

static bool taf_dcs_PackApnType ( uint8_t **  bufferPtr,
taf_dcs_ApnType_t  value 
)
inlinestatic

◆ taf_dcs_UnpackApnType()

static bool taf_dcs_UnpackApnType ( uint8_t **  bufferPtr,
taf_dcs_ApnType_t valuePtr 
)
inlinestatic

◆ taf_dcs_PackTech()

static bool taf_dcs_PackTech ( uint8_t **  bufferPtr,
taf_dcs_Tech_t  value 
)
inlinestatic

◆ taf_dcs_UnpackTech()

static bool taf_dcs_UnpackTech ( uint8_t **  bufferPtr,
taf_dcs_Tech_t valuePtr 
)
inlinestatic

◆ taf_dcs_PackDefaultGatewayAddresses()

static bool taf_dcs_PackDefaultGatewayAddresses ( uint8_t **  bufferPtr,
const taf_dcs_DefaultGatewayAddresses_t valuePtr 
)
inlinestatic

◆ taf_dcs_UnpackDefaultGatewayAddresses()

static bool taf_dcs_UnpackDefaultGatewayAddresses ( uint8_t **  bufferPtr,
taf_dcs_DefaultGatewayAddresses_t valuePtr 
)
inlinestatic

◆ taf_dcs_PackDnsServerAddresses()

static bool taf_dcs_PackDnsServerAddresses ( uint8_t **  bufferPtr,
const taf_dcs_DnsServerAddresses_t valuePtr 
)
inlinestatic

◆ taf_dcs_UnpackDnsServerAddresses()

static bool taf_dcs_UnpackDnsServerAddresses ( uint8_t **  bufferPtr,
taf_dcs_DnsServerAddresses_t valuePtr 
)
inlinestatic

◆ taf_dcs_PackStateInfo()

static bool taf_dcs_PackStateInfo ( uint8_t **  bufferPtr,
const taf_dcs_StateInfo_t valuePtr 
)
inlinestatic

◆ taf_dcs_UnpackStateInfo()

static bool taf_dcs_UnpackStateInfo ( uint8_t **  bufferPtr,
taf_dcs_StateInfo_t valuePtr 
)
inlinestatic

◆ taf_dcs_PackRoamingStatusInd()

static bool taf_dcs_PackRoamingStatusInd ( uint8_t **  bufferPtr,
const taf_dcs_RoamingStatusInd_t valuePtr 
)
inlinestatic

◆ taf_dcs_UnpackRoamingStatusInd()

static bool taf_dcs_UnpackRoamingStatusInd ( uint8_t **  bufferPtr,
taf_dcs_RoamingStatusInd_t valuePtr 
)
inlinestatic

◆ taf_dcs_PackProfileInfo()

static bool taf_dcs_PackProfileInfo ( uint8_t **  bufferPtr,
const taf_dcs_ProfileInfo_t valuePtr 
)
inlinestatic

◆ taf_dcs_UnpackProfileInfo()

static bool taf_dcs_UnpackProfileInfo ( uint8_t **  bufferPtr,
taf_dcs_ProfileInfo_t valuePtr 
)
inlinestatic

Variable Documentation

◆ _Message_t

_Message_t