Snapdragon® Telematics Application Framework (TelAF) Interface Specification
taf_update_messages.h File Reference

Go to the source code of this file.

Macros

#define _MAX_MSG_SIZE   IFGEN_TAF_UPDATE_MSG_SIZE
 
#define _MSGID_taf_update_AddStateHandler   0
 
#define _MSGID_taf_update_RemoveStateHandler   1
 
#define _MSGID_taf_update_Download   2
 
#define _MSGID_taf_update_Install   3
 
#define _MSGID_taf_update_GetDownloadSession   4
 
#define _MSGID_taf_update_StartDownload   5
 
#define _MSGID_taf_update_PauseDownload   6
 
#define _MSGID_taf_update_ResumeDownload   7
 
#define _MSGID_taf_update_CancelDownload   8
 
#define _MSGID_taf_update_GetInstallationSession   9
 
#define _MSGID_taf_update_InstallPreCheck   10
 
#define _MSGID_taf_update_StartInstall   11
 
#define _MSGID_taf_update_InstallPostCheck   12
 
#define _MSGID_taf_update_GetActiveBank   13
 
#define _MSGID_taf_update_VerifyActivation   14
 
#define _MSGID_taf_update_Rollback   15
 
#define _MSGID_taf_update_Sync   16
 

Functions

struct __attribute__ ((packed))
 
static bool taf_update_PackState (uint8_t **bufferPtr, taf_update_State_t value)
 
static bool taf_update_UnpackState (uint8_t **bufferPtr, taf_update_State_t *valuePtr)
 
static bool taf_update_PackError (uint8_t **bufferPtr, taf_update_Error_t value)
 
static bool taf_update_UnpackError (uint8_t **bufferPtr, taf_update_Error_t *valuePtr)
 
static bool taf_update_PackOTA (uint8_t **bufferPtr, taf_update_OTA_t value)
 
static bool taf_update_UnpackOTA (uint8_t **bufferPtr, taf_update_OTA_t *valuePtr)
 
static bool taf_update_PackPackageType (uint8_t **bufferPtr, taf_update_PackageType_t value)
 
static bool taf_update_UnpackPackageType (uint8_t **bufferPtr, taf_update_PackageType_t *valuePtr)
 
static bool taf_update_PackBank (uint8_t **bufferPtr, taf_update_Bank_t value)
 
static bool taf_update_UnpackBank (uint8_t **bufferPtr, taf_update_Bank_t *valuePtr)
 
static bool taf_update_PackStateInd (uint8_t **bufferPtr, const taf_update_StateInd_t *valuePtr)
 
static bool taf_update_UnpackStateInd (uint8_t **bufferPtr, taf_update_StateInd_t *valuePtr)
 

Variables

 _Message_t
 

Macro Definition Documentation

◆ _MAX_MSG_SIZE

#define _MAX_MSG_SIZE   IFGEN_TAF_UPDATE_MSG_SIZE

◆ _MSGID_taf_update_AddStateHandler

#define _MSGID_taf_update_AddStateHandler   0

◆ _MSGID_taf_update_RemoveStateHandler

#define _MSGID_taf_update_RemoveStateHandler   1

◆ _MSGID_taf_update_Download

#define _MSGID_taf_update_Download   2

◆ _MSGID_taf_update_Install

#define _MSGID_taf_update_Install   3

◆ _MSGID_taf_update_GetDownloadSession

#define _MSGID_taf_update_GetDownloadSession   4

◆ _MSGID_taf_update_StartDownload

#define _MSGID_taf_update_StartDownload   5

◆ _MSGID_taf_update_PauseDownload

#define _MSGID_taf_update_PauseDownload   6

◆ _MSGID_taf_update_ResumeDownload

#define _MSGID_taf_update_ResumeDownload   7

◆ _MSGID_taf_update_CancelDownload

#define _MSGID_taf_update_CancelDownload   8

◆ _MSGID_taf_update_GetInstallationSession

#define _MSGID_taf_update_GetInstallationSession   9

◆ _MSGID_taf_update_InstallPreCheck

#define _MSGID_taf_update_InstallPreCheck   10

◆ _MSGID_taf_update_StartInstall

#define _MSGID_taf_update_StartInstall   11

◆ _MSGID_taf_update_InstallPostCheck

#define _MSGID_taf_update_InstallPostCheck   12

◆ _MSGID_taf_update_GetActiveBank

#define _MSGID_taf_update_GetActiveBank   13

◆ _MSGID_taf_update_VerifyActivation

#define _MSGID_taf_update_VerifyActivation   14

◆ _MSGID_taf_update_Rollback

#define _MSGID_taf_update_Rollback   15

◆ _MSGID_taf_update_Sync

#define _MSGID_taf_update_Sync   16

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed)  )

◆ taf_update_PackState()

static bool taf_update_PackState ( uint8_t **  bufferPtr,
taf_update_State_t  value 
)
inlinestatic

◆ taf_update_UnpackState()

static bool taf_update_UnpackState ( uint8_t **  bufferPtr,
taf_update_State_t valuePtr 
)
inlinestatic

◆ taf_update_PackError()

static bool taf_update_PackError ( uint8_t **  bufferPtr,
taf_update_Error_t  value 
)
inlinestatic

◆ taf_update_UnpackError()

static bool taf_update_UnpackError ( uint8_t **  bufferPtr,
taf_update_Error_t valuePtr 
)
inlinestatic

◆ taf_update_PackOTA()

static bool taf_update_PackOTA ( uint8_t **  bufferPtr,
taf_update_OTA_t  value 
)
inlinestatic

◆ taf_update_UnpackOTA()

static bool taf_update_UnpackOTA ( uint8_t **  bufferPtr,
taf_update_OTA_t valuePtr 
)
inlinestatic

◆ taf_update_PackPackageType()

static bool taf_update_PackPackageType ( uint8_t **  bufferPtr,
taf_update_PackageType_t  value 
)
inlinestatic

◆ taf_update_UnpackPackageType()

static bool taf_update_UnpackPackageType ( uint8_t **  bufferPtr,
taf_update_PackageType_t valuePtr 
)
inlinestatic

◆ taf_update_PackBank()

static bool taf_update_PackBank ( uint8_t **  bufferPtr,
taf_update_Bank_t  value 
)
inlinestatic

◆ taf_update_UnpackBank()

static bool taf_update_UnpackBank ( uint8_t **  bufferPtr,
taf_update_Bank_t valuePtr 
)
inlinestatic

◆ taf_update_PackStateInd()

static bool taf_update_PackStateInd ( uint8_t **  bufferPtr,
const taf_update_StateInd_t valuePtr 
)
inlinestatic

◆ taf_update_UnpackStateInd()

static bool taf_update_UnpackStateInd ( uint8_t **  bufferPtr,
taf_update_StateInd_t valuePtr 
)
inlinestatic

Variable Documentation

◆ _Message_t

_Message_t