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

Go to the source code of this file.

Macros

#define _MAX_MSG_SIZE   IFGEN_TAF_SIM_MSG_SIZE
 
#define _MSGID_taf_sim_AddNewStateHandler   0
 
#define _MSGID_taf_sim_RemoveNewStateHandler   1
 
#define _MSGID_taf_sim_AddAuthenticationResponseHandler   2
 
#define _MSGID_taf_sim_RemoveAuthenticationResponseHandler   3
 
#define _MSGID_taf_sim_IsPresent   4
 
#define _MSGID_taf_sim_GetState   5
 
#define _MSGID_taf_sim_IsReady   6
 
#define _MSGID_taf_sim_GetICCID   7
 
#define _MSGID_taf_sim_GetIMSI   8
 
#define _MSGID_taf_sim_GetHomeNetworkOperator   9
 
#define _MSGID_taf_sim_GetSubscriberPhoneNumber   10
 
#define _MSGID_taf_sim_GetHomeNetworkMccMnc   11
 
#define _MSGID_taf_sim_GetSelectedCard   12
 
#define _MSGID_taf_sim_SelectCard   13
 
#define _MSGID_taf_sim_EnterPIN   14
 
#define _MSGID_taf_sim_ChangePIN   15
 
#define _MSGID_taf_sim_GetRemainingPINTries   16
 
#define _MSGID_taf_sim_GetRemainingPUKTries   17
 
#define _MSGID_taf_sim_Unlock   18
 
#define _MSGID_taf_sim_Lock   19
 
#define _MSGID_taf_sim_Unblock   20
 
#define _MSGID_taf_sim_GetEID   21
 
#define _MSGID_taf_sim_SetAutomaticSelection   22
 
#define _MSGID_taf_sim_GetAutomaticSelection   23
 
#define _MSGID_taf_sim_OpenLogicalChannel   24
 
#define _MSGID_taf_sim_CloseLogicalChannel   25
 
#define _MSGID_taf_sim_SendApduOnChannel   26
 
#define _MSGID_taf_sim_SendApdu   27
 
#define _MSGID_taf_sim_SendCommand   28
 
#define _MSGID_taf_sim_LocalSwapToEmergencyCallSubscription   29
 
#define _MSGID_taf_sim_LocalSwapToCommercialSubscription   30
 
#define _MSGID_taf_sim_SetPower   31
 
#define _MSGID_taf_sim_Reset   32
 
#define _MSGID_taf_sim_IsEmergencyCallSubscriptionSelected   33
 
#define _MSGID_taf_sim_AddIccidChangeHandler   34
 
#define _MSGID_taf_sim_RemoveIccidChangeHandler   35
 
#define _MSGID_taf_sim_CreateFPLMNList   36
 
#define _MSGID_taf_sim_AddFPLMNOperator   37
 
#define _MSGID_taf_sim_GetFirstFPLMNOperator   38
 
#define _MSGID_taf_sim_GetNextFPLMNOperator   39
 
#define _MSGID_taf_sim_ReadFPLMNList   40
 
#define _MSGID_taf_sim_DeleteFPLMNList   41
 
#define _MSGID_taf_sim_WriteFPLMNList   42
 
#define _MSGID_taf_sim_GetSlotCount   43
 

Functions

struct __attribute__ ((packed))
 
static bool taf_sim_PackStates (uint8_t **bufferPtr, taf_sim_States_t value)
 
static bool taf_sim_UnpackStates (uint8_t **bufferPtr, taf_sim_States_t *valuePtr)
 
static bool taf_sim_PackId (uint8_t **bufferPtr, taf_sim_Id_t value)
 
static bool taf_sim_UnpackId (uint8_t **bufferPtr, taf_sim_Id_t *valuePtr)
 
static bool taf_sim_PackLockType (uint8_t **bufferPtr, taf_sim_LockType_t value)
 
static bool taf_sim_UnpackLockType (uint8_t **bufferPtr, taf_sim_LockType_t *valuePtr)
 
static bool taf_sim_PackLockResponse (uint8_t **bufferPtr, taf_sim_LockResponse_t value)
 
static bool taf_sim_UnpackLockResponse (uint8_t **bufferPtr, taf_sim_LockResponse_t *valuePtr)
 
static bool taf_sim_PackAppType (uint8_t **bufferPtr, taf_sim_AppType_t value)
 
static bool taf_sim_UnpackAppType (uint8_t **bufferPtr, taf_sim_AppType_t *valuePtr)
 
static bool taf_sim_PackManufacturer (uint8_t **bufferPtr, taf_sim_Manufacturer_t value)
 
static bool taf_sim_UnpackManufacturer (uint8_t **bufferPtr, taf_sim_Manufacturer_t *valuePtr)
 
static bool taf_sim_PackCommand (uint8_t **bufferPtr, taf_sim_Command_t value)
 
static bool taf_sim_UnpackCommand (uint8_t **bufferPtr, taf_sim_Command_t *valuePtr)
 

Variables

 _Message_t
 

Macro Definition Documentation

◆ _MAX_MSG_SIZE

#define _MAX_MSG_SIZE   IFGEN_TAF_SIM_MSG_SIZE

◆ _MSGID_taf_sim_AddNewStateHandler

#define _MSGID_taf_sim_AddNewStateHandler   0

◆ _MSGID_taf_sim_RemoveNewStateHandler

#define _MSGID_taf_sim_RemoveNewStateHandler   1

◆ _MSGID_taf_sim_AddAuthenticationResponseHandler

#define _MSGID_taf_sim_AddAuthenticationResponseHandler   2

◆ _MSGID_taf_sim_RemoveAuthenticationResponseHandler

#define _MSGID_taf_sim_RemoveAuthenticationResponseHandler   3

◆ _MSGID_taf_sim_IsPresent

#define _MSGID_taf_sim_IsPresent   4

◆ _MSGID_taf_sim_GetState

#define _MSGID_taf_sim_GetState   5

◆ _MSGID_taf_sim_IsReady

#define _MSGID_taf_sim_IsReady   6

◆ _MSGID_taf_sim_GetICCID

#define _MSGID_taf_sim_GetICCID   7

◆ _MSGID_taf_sim_GetIMSI

#define _MSGID_taf_sim_GetIMSI   8

◆ _MSGID_taf_sim_GetHomeNetworkOperator

#define _MSGID_taf_sim_GetHomeNetworkOperator   9

◆ _MSGID_taf_sim_GetSubscriberPhoneNumber

#define _MSGID_taf_sim_GetSubscriberPhoneNumber   10

◆ _MSGID_taf_sim_GetHomeNetworkMccMnc

#define _MSGID_taf_sim_GetHomeNetworkMccMnc   11

◆ _MSGID_taf_sim_GetSelectedCard

#define _MSGID_taf_sim_GetSelectedCard   12

◆ _MSGID_taf_sim_SelectCard

#define _MSGID_taf_sim_SelectCard   13

◆ _MSGID_taf_sim_EnterPIN

#define _MSGID_taf_sim_EnterPIN   14

◆ _MSGID_taf_sim_ChangePIN

#define _MSGID_taf_sim_ChangePIN   15

◆ _MSGID_taf_sim_GetRemainingPINTries

#define _MSGID_taf_sim_GetRemainingPINTries   16

◆ _MSGID_taf_sim_GetRemainingPUKTries

#define _MSGID_taf_sim_GetRemainingPUKTries   17

◆ _MSGID_taf_sim_Unlock

#define _MSGID_taf_sim_Unlock   18

◆ _MSGID_taf_sim_Lock

#define _MSGID_taf_sim_Lock   19

◆ _MSGID_taf_sim_Unblock

#define _MSGID_taf_sim_Unblock   20

◆ _MSGID_taf_sim_GetEID

#define _MSGID_taf_sim_GetEID   21

◆ _MSGID_taf_sim_SetAutomaticSelection

#define _MSGID_taf_sim_SetAutomaticSelection   22

◆ _MSGID_taf_sim_GetAutomaticSelection

#define _MSGID_taf_sim_GetAutomaticSelection   23

◆ _MSGID_taf_sim_OpenLogicalChannel

#define _MSGID_taf_sim_OpenLogicalChannel   24

◆ _MSGID_taf_sim_CloseLogicalChannel

#define _MSGID_taf_sim_CloseLogicalChannel   25

◆ _MSGID_taf_sim_SendApduOnChannel

#define _MSGID_taf_sim_SendApduOnChannel   26

◆ _MSGID_taf_sim_SendApdu

#define _MSGID_taf_sim_SendApdu   27

◆ _MSGID_taf_sim_SendCommand

#define _MSGID_taf_sim_SendCommand   28

◆ _MSGID_taf_sim_LocalSwapToEmergencyCallSubscription

#define _MSGID_taf_sim_LocalSwapToEmergencyCallSubscription   29

◆ _MSGID_taf_sim_LocalSwapToCommercialSubscription

#define _MSGID_taf_sim_LocalSwapToCommercialSubscription   30

◆ _MSGID_taf_sim_SetPower

#define _MSGID_taf_sim_SetPower   31

◆ _MSGID_taf_sim_Reset

#define _MSGID_taf_sim_Reset   32

◆ _MSGID_taf_sim_IsEmergencyCallSubscriptionSelected

#define _MSGID_taf_sim_IsEmergencyCallSubscriptionSelected   33

◆ _MSGID_taf_sim_AddIccidChangeHandler

#define _MSGID_taf_sim_AddIccidChangeHandler   34

◆ _MSGID_taf_sim_RemoveIccidChangeHandler

#define _MSGID_taf_sim_RemoveIccidChangeHandler   35

◆ _MSGID_taf_sim_CreateFPLMNList

#define _MSGID_taf_sim_CreateFPLMNList   36

◆ _MSGID_taf_sim_AddFPLMNOperator

#define _MSGID_taf_sim_AddFPLMNOperator   37

◆ _MSGID_taf_sim_GetFirstFPLMNOperator

#define _MSGID_taf_sim_GetFirstFPLMNOperator   38

◆ _MSGID_taf_sim_GetNextFPLMNOperator

#define _MSGID_taf_sim_GetNextFPLMNOperator   39

◆ _MSGID_taf_sim_ReadFPLMNList

#define _MSGID_taf_sim_ReadFPLMNList   40

◆ _MSGID_taf_sim_DeleteFPLMNList

#define _MSGID_taf_sim_DeleteFPLMNList   41

◆ _MSGID_taf_sim_WriteFPLMNList

#define _MSGID_taf_sim_WriteFPLMNList   42

◆ _MSGID_taf_sim_GetSlotCount

#define _MSGID_taf_sim_GetSlotCount   43

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed)  )

◆ taf_sim_PackStates()

static bool taf_sim_PackStates ( uint8_t **  bufferPtr,
taf_sim_States_t  value 
)
inlinestatic

◆ taf_sim_UnpackStates()

static bool taf_sim_UnpackStates ( uint8_t **  bufferPtr,
taf_sim_States_t valuePtr 
)
inlinestatic

◆ taf_sim_PackId()

static bool taf_sim_PackId ( uint8_t **  bufferPtr,
taf_sim_Id_t  value 
)
inlinestatic

◆ taf_sim_UnpackId()

static bool taf_sim_UnpackId ( uint8_t **  bufferPtr,
taf_sim_Id_t valuePtr 
)
inlinestatic

◆ taf_sim_PackLockType()

static bool taf_sim_PackLockType ( uint8_t **  bufferPtr,
taf_sim_LockType_t  value 
)
inlinestatic

◆ taf_sim_UnpackLockType()

static bool taf_sim_UnpackLockType ( uint8_t **  bufferPtr,
taf_sim_LockType_t valuePtr 
)
inlinestatic

◆ taf_sim_PackLockResponse()

static bool taf_sim_PackLockResponse ( uint8_t **  bufferPtr,
taf_sim_LockResponse_t  value 
)
inlinestatic

◆ taf_sim_UnpackLockResponse()

static bool taf_sim_UnpackLockResponse ( uint8_t **  bufferPtr,
taf_sim_LockResponse_t valuePtr 
)
inlinestatic

◆ taf_sim_PackAppType()

static bool taf_sim_PackAppType ( uint8_t **  bufferPtr,
taf_sim_AppType_t  value 
)
inlinestatic

◆ taf_sim_UnpackAppType()

static bool taf_sim_UnpackAppType ( uint8_t **  bufferPtr,
taf_sim_AppType_t valuePtr 
)
inlinestatic

◆ taf_sim_PackManufacturer()

static bool taf_sim_PackManufacturer ( uint8_t **  bufferPtr,
taf_sim_Manufacturer_t  value 
)
inlinestatic

◆ taf_sim_UnpackManufacturer()

static bool taf_sim_UnpackManufacturer ( uint8_t **  bufferPtr,
taf_sim_Manufacturer_t valuePtr 
)
inlinestatic

◆ taf_sim_PackCommand()

static bool taf_sim_PackCommand ( uint8_t **  bufferPtr,
taf_sim_Command_t  value 
)
inlinestatic

◆ taf_sim_UnpackCommand()

static bool taf_sim_UnpackCommand ( uint8_t **  bufferPtr,
taf_sim_Command_t valuePtr 
)
inlinestatic

Variable Documentation

◆ _Message_t

_Message_t