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

Go to the source code of this file.

Macros

#define _MAX_MSG_SIZE   IFGEN_TAF_CAN_MSG_SIZE
 
#define _MSGID_taf_can_CreateCanInf   0
 
#define _MSGID_taf_can_SetFilter   1
 
#define _MSGID_taf_can_EnableLoopback   2
 
#define _MSGID_taf_can_DisableLoopback   3
 
#define _MSGID_taf_can_EnableRcvOwnMsg   4
 
#define _MSGID_taf_can_DisableRcvOwnMsg   5
 
#define _MSGID_taf_can_IsFdSupported   6
 
#define _MSGID_taf_can_EnableFdFrame   7
 
#define _MSGID_taf_can_GetFdStatus   8
 
#define _MSGID_taf_can_AddCanEventHandler   9
 
#define _MSGID_taf_can_RemoveCanEventHandler   10
 
#define _MSGID_taf_can_CreateCanFrame   11
 
#define _MSGID_taf_can_SetPayload   12
 
#define _MSGID_taf_can_SetFrameType   13
 
#define _MSGID_taf_can_SendFrame   14
 
#define _MSGID_taf_can_DeleteCanInf   15
 
#define _MSGID_taf_can_DeleteCanFrame   16
 

Functions

struct __attribute__ ((packed))
 
static bool taf_can_PackInfProtocol (uint8_t **bufferPtr, taf_can_InfProtocol_t value)
 
static bool taf_can_UnpackInfProtocol (uint8_t **bufferPtr, taf_can_InfProtocol_t *valuePtr)
 
static bool taf_can_PackFrameType (uint8_t **bufferPtr, taf_can_FrameType_t value)
 
static bool taf_can_UnpackFrameType (uint8_t **bufferPtr, taf_can_FrameType_t *valuePtr)
 

Variables

 _Message_t
 

Macro Definition Documentation

◆ _MAX_MSG_SIZE

#define _MAX_MSG_SIZE   IFGEN_TAF_CAN_MSG_SIZE

◆ _MSGID_taf_can_CreateCanInf

#define _MSGID_taf_can_CreateCanInf   0

◆ _MSGID_taf_can_SetFilter

#define _MSGID_taf_can_SetFilter   1

◆ _MSGID_taf_can_EnableLoopback

#define _MSGID_taf_can_EnableLoopback   2

◆ _MSGID_taf_can_DisableLoopback

#define _MSGID_taf_can_DisableLoopback   3

◆ _MSGID_taf_can_EnableRcvOwnMsg

#define _MSGID_taf_can_EnableRcvOwnMsg   4

◆ _MSGID_taf_can_DisableRcvOwnMsg

#define _MSGID_taf_can_DisableRcvOwnMsg   5

◆ _MSGID_taf_can_IsFdSupported

#define _MSGID_taf_can_IsFdSupported   6

◆ _MSGID_taf_can_EnableFdFrame

#define _MSGID_taf_can_EnableFdFrame   7

◆ _MSGID_taf_can_GetFdStatus

#define _MSGID_taf_can_GetFdStatus   8

◆ _MSGID_taf_can_AddCanEventHandler

#define _MSGID_taf_can_AddCanEventHandler   9

◆ _MSGID_taf_can_RemoveCanEventHandler

#define _MSGID_taf_can_RemoveCanEventHandler   10

◆ _MSGID_taf_can_CreateCanFrame

#define _MSGID_taf_can_CreateCanFrame   11

◆ _MSGID_taf_can_SetPayload

#define _MSGID_taf_can_SetPayload   12

◆ _MSGID_taf_can_SetFrameType

#define _MSGID_taf_can_SetFrameType   13

◆ _MSGID_taf_can_SendFrame

#define _MSGID_taf_can_SendFrame   14

◆ _MSGID_taf_can_DeleteCanInf

#define _MSGID_taf_can_DeleteCanInf   15

◆ _MSGID_taf_can_DeleteCanFrame

#define _MSGID_taf_can_DeleteCanFrame   16

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed)  )

◆ taf_can_PackInfProtocol()

static bool taf_can_PackInfProtocol ( uint8_t **  bufferPtr,
taf_can_InfProtocol_t  value 
)
inlinestatic

◆ taf_can_UnpackInfProtocol()

static bool taf_can_UnpackInfProtocol ( uint8_t **  bufferPtr,
taf_can_InfProtocol_t valuePtr 
)
inlinestatic

◆ taf_can_PackFrameType()

static bool taf_can_PackFrameType ( uint8_t **  bufferPtr,
taf_can_FrameType_t  value 
)
inlinestatic

◆ taf_can_UnpackFrameType()

static bool taf_can_UnpackFrameType ( uint8_t **  bufferPtr,
taf_can_FrameType_t valuePtr 
)
inlinestatic

Variable Documentation

◆ _Message_t

_Message_t