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

Go to the source code of this file.

Macros

#define IFGEN_TAF_ECALL_PROTOCOL_ID   "9b3ee8e69d936839af1e7d6e953859f4"
 
#define IFGEN_TAF_ECALL_MSG_SIZE   297
 
#define TAF_ECALL_TX_MODE_PULL   0
 
#define TAF_ECALL_TX_MODE_PUSH   1
 
#define TAF_ECALL_MAX_VIN_LENGTH   17
 
#define TAF_ECALL_MAX_VIN_BYTES   18
 
#define TAF_ECALL_MAX_OID_LENGTH   8
 
#define TAF_ECALL_MAX_DATA_LENGTH   94
 
#define TAF_ECALL_MAX_MSD_LENGTH   255
 
#define TAF_ECALL_CONTENT_TYPE_MAX_LENGTH   128
 
#define TAF_ECALL_ACCEPT_INFO_MAX_LENGTH   128
 
#define TAF_ECALL_PROP_TYPE_GASOLINE_TANK   0x1
 
#define TAF_ECALL_PROP_TYPE_DIESEL_TANK   0x2
 
#define TAF_ECALL_PROP_TYPE_COMPRESSED_NATURALGAS   0x4
 
#define TAF_ECALL_PROP_TYPE_PROPANE_GAS   0x8
 
#define TAF_ECALL_PROP_TYPE_ELECTRIC   0x10
 
#define TAF_ECALL_PROP_TYPE_HYDROGEN   0x20
 
#define TAF_ECALL_PROP_TYPE_OTHER   0x40
 

Typedefs

typedef struct taf_ecall_Call * taf_ecall_CallRef_t
 
typedef uint32_t taf_ecall_PropulsionStorageType_t
 
typedef struct taf_ecall_StateChangeHandler * taf_ecall_StateChangeHandlerRef_t
 
typedef void(* taf_ecall_StateChangeHandlerFunc_t) (taf_ecall_CallRef_t ecallRef, taf_ecall_State_t state, void *contextPtr)
 

Enumerations

enum  taf_ecall_OpMode_t { TAF_ECALL_MODE_NORMAL = 0, TAF_ECALL_MODE_ECALL = 1, TAF_ECALL_MODE_FORCED_PERSISTENT_ONLY = 2, TAF_ECALL_NONE = 3 }
 
enum  taf_ecall_MsdTransmissionMode_t { TAF_ECALL_MSD_TX_MODE_PULL = 0, TAF_ECALL_MSD_TX_MODE_PUSH = 1 }
 
enum  taf_ecall_MsdVehicleType_t {
  TAF_ECALL_PASSENGER_VEHICLE_CLASS_M1 = 0, TAF_ECALL_BUSES_AND_COACHES_CLASS_M2 = 1, TAF_ECALL_BUSES_AND_COACHES_CLASS_M3 = 2, TAF_ECALL_LIGHT_COMMERCIAL_VEHICLES_CLASS_N1 = 3,
  TAF_ECALL_HEAVY_DUTY_VEHICLES_CLASS_N2 = 4, TAF_ECALL_HEAVY_DUTY_VEHICLES_CLASS_N3 = 5, TAF_ECALL_MOTOR_CYCLES_CLASS_L1E = 6, TAF_ECALL_MOTOR_CYCLES_CLASS_L2E = 7,
  TAF_ECALL_MOTOR_CYCLES_CLASS_L3E = 8, TAF_ECALL_MOTOR_CYCLES_CLASS_L4E = 9, TAF_ECALL_MOTOR_CYCLES_CLASS_L5E = 10, TAF_ECALL_MOTOR_CYCLES_CLASS_L6E = 11,
  TAF_ECALL_MOTOR_CYCLES_CLASS_L7E = 12, TAF_ECALL_TRAILERS_CLASS_O = 13, TAF_ECALL_AGRI_VEHICLES_CLASS_R = 14, TAF_ECALL_AGRI_VEHICLES_CLASS_S = 15,
  TAF_ECALL_AGRI_VEHICLES_CLASS_T = 16, TAF_ECALL_OFF_ROAD_VEHICLES_G = 17, TAF_ECALL_SPECIAL_PURPOSE_MOTOR_CARAVAN_CLASS_SA = 18, TAF_ECALL_SPECIAL_PURPOSE_ARMOURED_VEHICLE_CLASS_SB = 19,
  TAF_ECALL_SPECIAL_PURPOSE_AMBULANCE_CLASS_SC = 20, TAF_ECALL_SPECIAL_PURPOSE_HEARSE_CLASS_SD = 21, TAF_ECALL_OTHER_VEHICLE_CLASS = 22
}
 
enum  taf_ecall_IILocations_t {
  TAF_ECALL_LOI_UNKNOWN = 0, TAF_ECALL_LOI_NONE = 1, TAF_ECALL_LOI_FRONT = 2, TAF_ECALL_LOI_REAR = 3,
  TAF_ECALL_LOI_DRIVERSIDE = 4, TAF_ECALL_LOI_NONDRIVERSIDE = 5, TAF_ECALL_LOI_OTHER = 6
}
 
enum  taf_ecall_State_t {
  TAF_ECALL_STATE_UNKNOWN = 0, TAF_ECALL_STATE_ALERTING = 1, TAF_ECALL_STATE_ACTIVE = 2, TAF_ECALL_STATE_IDLE = 3,
  TAF_ECALL_STATE_WAITING_PSAP_START_IND = 4, TAF_ECALL_STATE_PSAP_START_RECEIVED = 5, TAF_ECALL_STATE_MSD_TRANSMISSION_STARTED = 6, TAF_ECALL_STATE_LLNACK_RECEIVED = 7,
  TAF_ECALL_STATE_LL_ACK_RECEIVED = 8, TAF_ECALL_STATE_MSD_TRANSMISSION_SUCCESS = 9, TAF_ECALL_STATE_MSD_TRANSMISSION_FAILED = 10, TAF_ECALL_STATE_ALACK_RECEIVED_POSITIVE = 11,
  TAF_ECALL_STATE_ALACK_RECEIVED_CLEAR_DOWN = 12, TAF_ECALL_STATE_ENDED = 13, TAF_ECALL_STATE_RESET = 14, TAF_ECALL_STATE_COMPLETED = 15,
  TAF_ECALL_STATE_FAILED = 16, TAF_ECALL_STATE_END_OF_REDIAL_PERIOD = 17, TAF_ECALL_STATE_T2_EXPIRED = 18, TAF_ECALL_STATE_TIMEOUT_T3 = 19,
  TAF_ECALL_STATE_T5_EXPIRED = 20, TAF_ECALL_STATE_T6_EXPIRED = 21, TAF_ECALL_STATE_T7_EXPIRED = 22, TAF_ECALL_STATE_T9_EXPIRED = 23,
  TAF_ECALL_STATE_T10_EXPIRED = 24, TAF_ECALL_STATE_DIALING = 25, TAF_ECALL_STATE_NACK_OUT_OF_ORDER = 26, TAF_ECALL_STATE_ACK_OUT_OF_ORDER = 27,
  TAF_ECALL_STATE_OUTBAND_MSD_TRANSMISSION_STARTED = 28, TAF_ECALL_STATE_OUTBAND_MSD_TRANSMISSION_SUCCESS = 29, TAF_ECALL_STATE_OUTBAND_MSD_TRANSMISSION_FAILURE = 30, TAF_ECALL_STATE_MSD_UPDATE_REQ = 31,
  TAF_ECALL_STATE_T2_STARTED = 32, TAF_ECALL_STATE_T5_STARTED = 33, TAF_ECALL_STATE_T6_STARTED = 34, TAF_ECALL_STATE_T7_STARTED = 35,
  TAF_ECALL_STATE_T9_STARTED = 36, TAF_ECALL_STATE_T10_STARTED = 37, TAF_ECALL_STATE_T2_STOPPED = 38, TAF_ECALL_STATE_T5_STOPPED = 39,
  TAF_ECALL_STATE_T6_STOPPED = 40, TAF_ECALL_STATE_T7_STOPPED = 41, TAF_ECALL_STATE_T9_STOPPED = 42, TAF_ECALL_STATE_T10_STOPPED = 43,
  TAF_ECALL_STATE_INCOMING = 44
}
 
enum  taf_ecall_TerminationReason_t {
  TAF_ECALL_REASON_UNOBTAINABLE_NUMBER = 1, TAF_ECALL_REASON_NO_ROUTE_TO_DESTINATION = 3, TAF_ECALL_REASON_CHANNEL_UNACCEPTABLE = 6, TAF_ECALL_REASON_OPERATOR_DETERMINED_BARRING = 8,
  TAF_ECALL_REASON_NORMAL = 16, TAF_ECALL_REASON_BUSY = 17, TAF_ECALL_REASON_NO_USER_RESPONDING = 18, TAF_ECALL_REASON_NO_ANSWER_FROM_USER = 19,
  TAF_ECALL_REASON_NOT_REACHABLE = 20, TAF_ECALL_REASON_CALL_REJECTED = 21, TAF_ECALL_REASON_NUMBER_CHANGED = 22, TAF_ECALL_REASON_PREEMPTION = 25,
  TAF_ECALL_REASON_DESTINATION_OUT_OF_ORDER = 27, TAF_ECALL_REASON_INVALID_NUMBER_FORMAT = 28, TAF_ECALL_REASON_FACILITY_REJECTED = 29, TAF_ECALL_REASON_RESP_TO_STATUS_ENQUIRY = 30,
  TAF_ECALL_REASON_NORMAL_UNSPECIFIED = 31, TAF_ECALL_REASON_CONGESTION = 34, TAF_ECALL_REASON_NETWORK_OUT_OF_ORDER = 38, TAF_ECALL_REASON_TEMPORARY_FAILURE = 41,
  TAF_ECALL_REASON_SWITCHING_EQUIPMENT_CONGESTION = 42, TAF_ECALL_REASON_ACCESS_INFORMATION_DISCARDED = 43, TAF_ECALL_REASON_REQUESTED_CIRCUIT_OR_CHANNEL_NOT_AVAILABLE = 44, TAF_ECALL_REASON_RESOURCES_UNAVAILABLE_OR_UNSPECIFIED = 47,
  TAF_ECALL_REASON_QOS_UNAVAILABLE = 49, TAF_ECALL_REASON_REQUESTED_FACILITY_NOT_SUBSCRIBED = 50, TAF_ECALL_REASON_INCOMING_CALLS_BARRED_WITHIN_CUG = 55, TAF_ECALL_REASON_BEARER_CAPABILITY_NOT_AUTHORIZED = 57,
  TAF_ECALL_REASON_BEARER_CAPABILITY_UNAVAILABLE = 58, TAF_ECALL_REASON_SERVICE_OPTION_NOT_AVAILABLE = 63, TAF_ECALL_REASON_BEARER_SERVICE_NOT_IMPLEMENTED = 65, TAF_ECALL_REASON_ACM_LIMIT_EXCEEDED = 68,
  TAF_ECALL_REASON_REQUESTED_FACILITY_NOT_IMPLEMENTED = 69, TAF_ECALL_REASON_ONLY_DIGITAL_INFORMATION_BEARER_AVAILABLE = 70, TAF_ECALL_REASON_SERVICE_OR_OPTION_NOT_IMPLEMENTED = 79, TAF_ECALL_REASON_INVALID_TRANSACTION_IDENTIFIER = 81,
  TAF_ECALL_REASON_USER_NOT_MEMBER_OF_CUG = 87, TAF_ECALL_REASON_INCOMPATIBLE_DESTINATION = 88, TAF_ECALL_REASON_INVALID_TRANSIT_NW_SELECTION = 91, TAF_ECALL_REASON_SEMANTICALLY_INCORRECT_MESSAGE = 95,
  TAF_ECALL_REASON_INVALID_MANDATORY_INFORMATION = 96, TAF_ECALL_REASON_MESSAGE_TYPE_NON_IMPLEMENTED = 97, TAF_ECALL_REASON_MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98, TAF_ECALL_REASON_INFORMATION_ELEMENT_NON_EXISTENT = 99,
  TAF_ECALL_REASON_CONDITIONAL_IE_ERROR = 100, TAF_ECALL_REASON_MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101, TAF_ECALL_REASON_RECOVERY_ON_TIMER_EXPIRED = 102, TAF_ECALL_REASON_PROTOCOL_ERROR_UNSPECIFIED = 111,
  TAF_ECALL_REASON_INTERWORKING_UNSPECIFIED = 127, TAF_ECALL_REASON_CALL_BARRED = 240, TAF_ECALL_REASON_FDN_BLOCKED = 241, TAF_ECALL_REASON_IMSI_UNKNOWN_IN_VLR = 242,
  TAF_ECALL_REASON_IMEI_NOT_ACCEPTED = 243, TAF_ECALL_REASON_DIAL_MODIFIED_TO_USSD = 244, TAF_ECALL_REASON_DIAL_MODIFIED_TO_SS = 245, TAF_ECALL_REASON_DIAL_MODIFIED_TO_DIAL = 246,
  TAF_ECALL_REASON_CDMA_LOCKED_UNTIL_POWER_CYCLE = 1000, TAF_ECALL_REASON_CDMA_DROP = 1001, TAF_ECALL_REASON_CDMA_INTERCEPT = 1002, TAF_ECALL_REASON_CDMA_REORDER = 1003,
  TAF_ECALL_REASON_CDMA_SO_REJECT = 1004, TAF_ECALL_REASON_CDMA_RETRY_ORDER = 1005, TAF_ECALL_REASON_CDMA_ACCESS_FAILURE = 1006, TAF_ECALL_REASON_CDMA_PREEMPTED = 1007,
  TAF_ECALL_REASON_CDMA_NOT_EMERGENCY = 1008, TAF_ECALL_REASON_CDMA_ACCESS_BLOCKED = 1009, TAF_ECALL_REASON_ERROR_UNSPECIFIED = 65535
}
 
enum  taf_ecall_Type_t {
  TAF_ECALL_TYPE_UNKNOWN = 0, TAF_ECALL_TYPE_TEST = 1, TAF_ECALL_TYPE_AUTO = 2, TAF_ECALL_TYPE_MANUAL = 3,
  TAF_ECALL_TYPE_PRIVATE = 4
}
 
enum  taf_ecall_HlapTimerStatus_t { TAF_ECALL_TIMER_STATUS_UNKNOWN = 0, TAF_ECALL_TIMER_STATUS_INACTIVE = 1, TAF_ECALL_TIMER_STATUS_ACTIVE = 2 }
 
enum  taf_ecall_HlapTimerType_t { TAF_ECALL_TIMER_TYPE_UNKNOWN = 0, TAF_ECALL_TIMER_TYPE_T2 = 2, TAF_ECALL_TIMER_TYPE_T9 = 9, TAF_ECALL_TIMER_TYPE_T10 = 10 }
 

Functions

LE_SHARED bool ifgen_taf_ecall_HasLocalBinding (void)
 
LE_SHARED void ifgen_taf_ecall_InitCommonData (void)
 
LE_SHARED void ifgen_taf_ecall_CleanupCommonData (le_msg_SessionRef_t _ifgen_sessionRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_OpenSession (le_msg_SessionRef_t _ifgen_sessionRef, bool isBlocking)
 
LE_SHARED taf_ecall_StateChangeHandlerRef_t ifgen_taf_ecall_AddStateChangeHandler (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_StateChangeHandlerFunc_t handlerPtr, void *contextPtr)
 
LE_SHARED void ifgen_taf_ecall_RemoveStateChangeHandler (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_StateChangeHandlerRef_t handlerRef)
 
LE_SHARED taf_ecall_CallRef_t ifgen_taf_ecall_Create (le_msg_SessionRef_t _ifgen_sessionRef)
 
LE_SHARED void ifgen_taf_ecall_Delete (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_ForceOnlyMode (le_msg_SessionRef_t _ifgen_sessionRef, uint8_t phoneId)
 
LE_SHARED le_result_t ifgen_taf_ecall_ForcePersistentOnlyMode (le_msg_SessionRef_t _ifgen_sessionRef, uint8_t phoneId)
 
LE_SHARED le_result_t ifgen_taf_ecall_ExitOnlyMode (le_msg_SessionRef_t _ifgen_sessionRef, uint8_t phoneId)
 
LE_SHARED le_result_t ifgen_taf_ecall_GetConfiguredOperationMode (le_msg_SessionRef_t _ifgen_sessionRef, uint8_t phoneId, taf_ecall_OpMode_t *opModePtr)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetMsdVersion (le_msg_SessionRef_t _ifgen_sessionRef, uint32_t msdVersion)
 
LE_SHARED le_result_t ifgen_taf_ecall_GetMsdVersion (le_msg_SessionRef_t _ifgen_sessionRef, uint32_t *msdVerPtr)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetVehicleType (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_MsdVehicleType_t vehType)
 
LE_SHARED le_result_t ifgen_taf_ecall_GetVehicleType (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_MsdVehicleType_t *vehTypePtr)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetVIN (le_msg_SessionRef_t _ifgen_sessionRef, const char *LE_NONNULL vin)
 
LE_SHARED le_result_t ifgen_taf_ecall_GetVIN (le_msg_SessionRef_t _ifgen_sessionRef, char *vin, size_t vinSize)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetPropulsionType (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_PropulsionStorageType_t propulsionType)
 
LE_SHARED le_result_t ifgen_taf_ecall_GetPropulsionType (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_PropulsionStorageType_t *propulsionTypePtr)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetMsdTxMode (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_MsdTransmissionMode_t mode)
 
LE_SHARED le_result_t ifgen_taf_ecall_GetMsdTxMode (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_MsdTransmissionMode_t *modePtr)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetMsdPosition (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef, bool isTrusted, int32_t latitude, int32_t longitude, int32_t direction)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetMsdPositionN1 (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef, int32_t latitudeDeltaN1, int32_t longitudeDeltaN1)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetMsdPositionN2 (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef, int32_t latitudeDeltaN2, int32_t longitudeDeltaN2)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetMsdPassengersCount (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef, uint32_t passengersCount)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetMsdAdditionalData (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef, const char *LE_NONNULL oid, const uint8_t *dataPtr, size_t dataSize)
 
LE_SHARED le_result_t ifgen_taf_ecall_ResetMsdAdditionalData (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetMsdEuroNCAPLocationOfImpact (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef, taf_ecall_IILocations_t iiLocations)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetMsdEuroNCAPRolloverDetected (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef, bool rolloverDetected)
 
LE_SHARED le_result_t ifgen_taf_ecall_ResetMsdEuroNCAPRolloverDetected (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetMsdEuroNCAPIIDeltaV (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef, uint8_t rangeLimit, int16_t deltaVX, int16_t deltaVY)
 
LE_SHARED le_result_t ifgen_taf_ecall_ImportMsd (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef, const uint8_t *msdPtr, size_t msdSize)
 
LE_SHARED le_result_t ifgen_taf_ecall_ExportMsd (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef, uint8_t *msdPtr, size_t *msdSizePtr)
 
LE_SHARED le_result_t ifgen_taf_ecall_SendMsd (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_StartAutomatic (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_StartManual (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_StartTest (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_StartPrivate (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef, const char *LE_NONNULL psap, const char *LE_NONNULL contentType, const char *LE_NONNULL acceptInfo)
 
LE_SHARED le_result_t ifgen_taf_ecall_End (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_Answer (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED taf_ecall_State_t ifgen_taf_ecall_GetState (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED taf_ecall_Type_t ifgen_taf_ecall_GetType (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED int32_t ifgen_taf_ecall_GetPlatformSpecificTerminationCode (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED taf_ecall_TerminationReason_t ifgen_taf_ecall_GetTerminationReason (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_CallRef_t ecallRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetPsapNumber (le_msg_SessionRef_t _ifgen_sessionRef, const char *LE_NONNULL psap)
 
LE_SHARED le_result_t ifgen_taf_ecall_GetPsapNumber (le_msg_SessionRef_t _ifgen_sessionRef, char *psap, size_t psapSize)
 
LE_SHARED le_result_t ifgen_taf_ecall_UseUSimNumbers (le_msg_SessionRef_t _ifgen_sessionRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetNadDeregistrationTime (le_msg_SessionRef_t _ifgen_sessionRef, uint16_t deregTime)
 
LE_SHARED le_result_t ifgen_taf_ecall_GetNadDeregistrationTime (le_msg_SessionRef_t _ifgen_sessionRef, uint16_t *deregTimePtr)
 
LE_SHARED le_result_t ifgen_taf_ecall_TerminateRegistration (le_msg_SessionRef_t _ifgen_sessionRef)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetNadClearDownFallbackTime (le_msg_SessionRef_t _ifgen_sessionRef, uint16_t ccftTime)
 
LE_SHARED le_result_t ifgen_taf_ecall_GetNadClearDownFallbackTime (le_msg_SessionRef_t _ifgen_sessionRef, uint16_t *ccftTimePtr)
 
LE_SHARED le_result_t ifgen_taf_ecall_SetNadMinNetworkRegistrationTime (le_msg_SessionRef_t _ifgen_sessionRef, uint16_t minNwRegTime)
 
LE_SHARED le_result_t ifgen_taf_ecall_GetNadMinNetworkRegistrationTime (le_msg_SessionRef_t _ifgen_sessionRef, uint16_t *minNwRegTimePtr)
 
LE_SHARED le_result_t ifgen_taf_ecall_GetHlapTimerState (le_msg_SessionRef_t _ifgen_sessionRef, taf_ecall_HlapTimerType_t timer, taf_ecall_HlapTimerStatus_t *timerStatusPtr, uint16_t *elapsedTimePtr)
 

Macro Definition Documentation

◆ IFGEN_TAF_ECALL_PROTOCOL_ID

#define IFGEN_TAF_ECALL_PROTOCOL_ID   "9b3ee8e69d936839af1e7d6e953859f4"

◆ IFGEN_TAF_ECALL_MSG_SIZE

#define IFGEN_TAF_ECALL_MSG_SIZE   297

◆ TAF_ECALL_TX_MODE_PULL

#define TAF_ECALL_TX_MODE_PULL   0

Support for legacy operational modes.

◆ TAF_ECALL_TX_MODE_PUSH

#define TAF_ECALL_TX_MODE_PUSH   1

◆ TAF_ECALL_MAX_VIN_LENGTH

#define TAF_ECALL_MAX_VIN_LENGTH   17

◆ TAF_ECALL_MAX_VIN_BYTES

#define TAF_ECALL_MAX_VIN_BYTES   18

◆ TAF_ECALL_MAX_OID_LENGTH

#define TAF_ECALL_MAX_OID_LENGTH   8

◆ TAF_ECALL_MAX_DATA_LENGTH

#define TAF_ECALL_MAX_DATA_LENGTH   94

◆ TAF_ECALL_MAX_MSD_LENGTH

#define TAF_ECALL_MAX_MSD_LENGTH   255

◆ TAF_ECALL_CONTENT_TYPE_MAX_LENGTH

#define TAF_ECALL_CONTENT_TYPE_MAX_LENGTH   128

◆ TAF_ECALL_ACCEPT_INFO_MAX_LENGTH

#define TAF_ECALL_ACCEPT_INFO_MAX_LENGTH   128

◆ TAF_ECALL_PROP_TYPE_GASOLINE_TANK

#define TAF_ECALL_PROP_TYPE_GASOLINE_TANK   0x1

Propulsion storage type bitmask

◆ TAF_ECALL_PROP_TYPE_DIESEL_TANK

#define TAF_ECALL_PROP_TYPE_DIESEL_TANK   0x2

◆ TAF_ECALL_PROP_TYPE_COMPRESSED_NATURALGAS

#define TAF_ECALL_PROP_TYPE_COMPRESSED_NATURALGAS   0x4

◆ TAF_ECALL_PROP_TYPE_PROPANE_GAS

#define TAF_ECALL_PROP_TYPE_PROPANE_GAS   0x8

◆ TAF_ECALL_PROP_TYPE_ELECTRIC

#define TAF_ECALL_PROP_TYPE_ELECTRIC   0x10

◆ TAF_ECALL_PROP_TYPE_HYDROGEN

#define TAF_ECALL_PROP_TYPE_HYDROGEN   0x20

◆ TAF_ECALL_PROP_TYPE_OTHER

#define TAF_ECALL_PROP_TYPE_OTHER   0x40

Typedef Documentation

◆ taf_ecall_CallRef_t

typedef struct taf_ecall_Call* taf_ecall_CallRef_t

◆ taf_ecall_PropulsionStorageType_t

◆ taf_ecall_StateChangeHandlerRef_t

typedef struct taf_ecall_StateChangeHandler* taf_ecall_StateChangeHandlerRef_t

Reference type used by Add/Remove functions for EVENT 'taf_ecall_StateChange'

◆ taf_ecall_StateChangeHandlerFunc_t

typedef void(* taf_ecall_StateChangeHandlerFunc_t) (taf_ecall_CallRef_t ecallRef, taf_ecall_State_t state, void *contextPtr)

Handler for changes in eCall state.

Enumeration Type Documentation

◆ taf_ecall_OpMode_t

Operational modes.

Enumerator
TAF_ECALL_MODE_NORMAL 

eCall normal mode.

TAF_ECALL_MODE_ECALL 

eCall only mode according to U/SIM operation mode.

TAF_ECALL_MODE_FORCED_PERSISTENT_ONLY 

Persistent eCall only mode.

TAF_ECALL_NONE 

Invalid mode.

◆ taf_ecall_MsdTransmissionMode_t

MSD transmission modes per the eCall MSD standard.

Enumerator
TAF_ECALL_MSD_TX_MODE_PULL 

Pull mode; modem/host waits for MSD request from PSAP to send MSD.

TAF_ECALL_MSD_TX_MODE_PUSH 

Push mode; modem/host sends MSD to PSAP after the eCall is connected.

◆ taf_ecall_MsdVehicleType_t

Vehicle classes per the European eCall MSD standard.

Enumerator
TAF_ECALL_PASSENGER_VEHICLE_CLASS_M1 

Passenger vehicle (Class M1)

TAF_ECALL_BUSES_AND_COACHES_CLASS_M2 

Buses and coaches (Class M2)

TAF_ECALL_BUSES_AND_COACHES_CLASS_M3 

Buses and coaches (Class M3)

TAF_ECALL_LIGHT_COMMERCIAL_VEHICLES_CLASS_N1 

Light commercial vehicles (Class N1)

TAF_ECALL_HEAVY_DUTY_VEHICLES_CLASS_N2 

Heavy duty vehicles (Class N2)

TAF_ECALL_HEAVY_DUTY_VEHICLES_CLASS_N3 

Heavy duty vehicles (Class N3)

TAF_ECALL_MOTOR_CYCLES_CLASS_L1E 

Motorcycles (Class L1e)

TAF_ECALL_MOTOR_CYCLES_CLASS_L2E 

Motorcycles (Class L2e)

TAF_ECALL_MOTOR_CYCLES_CLASS_L3E 

Motorcycles (Class L3e)

TAF_ECALL_MOTOR_CYCLES_CLASS_L4E 

Motorcycles (Class L4e)

TAF_ECALL_MOTOR_CYCLES_CLASS_L5E 

Motorcycles (Class L5e)

TAF_ECALL_MOTOR_CYCLES_CLASS_L6E 

Motorcycles (Class L6e)

TAF_ECALL_MOTOR_CYCLES_CLASS_L7E 

Motorcycles (Class L7e)

TAF_ECALL_TRAILERS_CLASS_O 

Trailers (Class O)

TAF_ECALL_AGRI_VEHICLES_CLASS_R 

Agricultural vehicles (Class R)

TAF_ECALL_AGRI_VEHICLES_CLASS_S 

Agricultural vehicles (Class S)

TAF_ECALL_AGRI_VEHICLES_CLASS_T 

Agricultural vehicles (Class T)

TAF_ECALL_OFF_ROAD_VEHICLES_G 

Off-road vehicles (Class G)

TAF_ECALL_SPECIAL_PURPOSE_MOTOR_CARAVAN_CLASS_SA 

Special purpose motor caravan (Class SA)

TAF_ECALL_SPECIAL_PURPOSE_ARMOURED_VEHICLE_CLASS_SB 

Special purpose armoured vehicle (Class SB)

TAF_ECALL_SPECIAL_PURPOSE_AMBULANCE_CLASS_SC 

Special purpose ambulance (Class SC)

TAF_ECALL_SPECIAL_PURPOSE_HEARSE_CLASS_SD 

Special purpose hearse (Class SD)

TAF_ECALL_OTHER_VEHICLE_CLASS 

Other vehicle class.

◆ taf_ecall_IILocations_t

Vehicle location of impact per Euro NCAP.

Enumerator
TAF_ECALL_LOI_UNKNOWN 
TAF_ECALL_LOI_NONE 
TAF_ECALL_LOI_FRONT 
TAF_ECALL_LOI_REAR 
TAF_ECALL_LOI_DRIVERSIDE 
TAF_ECALL_LOI_NONDRIVERSIDE 
TAF_ECALL_LOI_OTHER 

◆ taf_ecall_State_t

eCall states.

Enumerator
TAF_ECALL_STATE_UNKNOWN 

Unknown eCall state.

TAF_ECALL_STATE_ALERTING 

Alerting call; MO call only.

TAF_ECALL_STATE_ACTIVE 

Active eCall.

TAF_ECALL_STATE_IDLE 

Not supported.

TAF_ECALL_STATE_WAITING_PSAP_START_IND 

Not supported.

TAF_ECALL_STATE_PSAP_START_RECEIVED 

Send MSD (start) is received and sync is locked during in-band MSD transmission.

TAF_ECALL_STATE_MSD_TRANSMISSION_STARTED 

In-band MSD transmission started.

TAF_ECALL_STATE_LLNACK_RECEIVED 

Not supported.

TAF_ECALL_STATE_LL_ACK_RECEIVED 

Link-Layer Acknowledgement (LL-ACK) is received during in-band MSD transmission.

TAF_ECALL_STATE_MSD_TRANSMISSION_SUCCESS 

In-band MSD transmission succeeded.

TAF_ECALL_STATE_MSD_TRANSMISSION_FAILED 

In-band MSD transmission failed.

TAF_ECALL_STATE_ALACK_RECEIVED_POSITIVE 

Not supported.

TAF_ECALL_STATE_ALACK_RECEIVED_CLEAR_DOWN 

Not supported.

TAF_ECALL_STATE_ENDED 

Call stopped.

TAF_ECALL_STATE_RESET 

Not supported.

TAF_ECALL_STATE_COMPLETED 

Not supported.

TAF_ECALL_STATE_FAILED 

Not supported.

TAF_ECALL_STATE_END_OF_REDIAL_PERIOD 

Not supported.

TAF_ECALL_STATE_T2_EXPIRED 

T2 timer expired.

TAF_ECALL_STATE_TIMEOUT_T3 

Not supported.

TAF_ECALL_STATE_T5_EXPIRED 

T5 Timer expired.

TAF_ECALL_STATE_T6_EXPIRED 

T6 Timer expired.

TAF_ECALL_STATE_T7_EXPIRED 

T7 Timer expired.

TAF_ECALL_STATE_T9_EXPIRED 

T9 Timer expired.

TAF_ECALL_STATE_T10_EXPIRED 

T10 Timer expired.

TAF_ECALL_STATE_DIALING 

Outgoing call.

TAF_ECALL_STATE_NACK_OUT_OF_ORDER 

Out of order NACK message detected during in-band MSD transmission.

TAF_ECALL_STATE_ACK_OUT_OF_ORDER 

Out of order ACK message detected during in-band MSD transmission.

TAF_ECALL_STATE_OUTBAND_MSD_TRANSMISSION_STARTED 

Out-band MSD transmission started in NG eCall.

TAF_ECALL_STATE_OUTBAND_MSD_TRANSMISSION_SUCCESS 

Out-band MSD transmission succeeded in NG eCall or private eCall.

TAF_ECALL_STATE_OUTBAND_MSD_TRANSMISSION_FAILURE 

Out-band MSD transmission failed in NG eCall or private eCall.

TAF_ECALL_STATE_MSD_UPDATE_REQ 

Notify request from PSAP for MSD update.

TAF_ECALL_STATE_T2_STARTED 

T2 Timer started.

TAF_ECALL_STATE_T5_STARTED 

T5 Timer started.

TAF_ECALL_STATE_T6_STARTED 

T6 Timer started.

TAF_ECALL_STATE_T7_STARTED 

T7 Timer started.

TAF_ECALL_STATE_T9_STARTED 

T9 Timer started.

TAF_ECALL_STATE_T10_STARTED 

T10 Timer started.

TAF_ECALL_STATE_T2_STOPPED 

T2 Timer stopped.

TAF_ECALL_STATE_T5_STOPPED 

T5 Timer stopped.

TAF_ECALL_STATE_T6_STOPPED 

T6 Timer stopped.

TAF_ECALL_STATE_T7_STOPPED 

T7 Timer stopped.

TAF_ECALL_STATE_T9_STOPPED 

T9 Timer stopped.

TAF_ECALL_STATE_T10_STOPPED 

T10 Timer stopped.

TAF_ECALL_STATE_INCOMING 

Incoming eCall.

◆ taf_ecall_TerminationReason_t

Recently terminated call end reasons (normally ended or failed).

Enumerator
TAF_ECALL_REASON_UNOBTAINABLE_NUMBER 
TAF_ECALL_REASON_NO_ROUTE_TO_DESTINATION 
TAF_ECALL_REASON_CHANNEL_UNACCEPTABLE 
TAF_ECALL_REASON_OPERATOR_DETERMINED_BARRING 
TAF_ECALL_REASON_NORMAL 
TAF_ECALL_REASON_BUSY 
TAF_ECALL_REASON_NO_USER_RESPONDING 
TAF_ECALL_REASON_NO_ANSWER_FROM_USER 
TAF_ECALL_REASON_NOT_REACHABLE 
TAF_ECALL_REASON_CALL_REJECTED 
TAF_ECALL_REASON_NUMBER_CHANGED 
TAF_ECALL_REASON_PREEMPTION 
TAF_ECALL_REASON_DESTINATION_OUT_OF_ORDER 
TAF_ECALL_REASON_INVALID_NUMBER_FORMAT 
TAF_ECALL_REASON_FACILITY_REJECTED 
TAF_ECALL_REASON_RESP_TO_STATUS_ENQUIRY 
TAF_ECALL_REASON_NORMAL_UNSPECIFIED 
TAF_ECALL_REASON_CONGESTION 
TAF_ECALL_REASON_NETWORK_OUT_OF_ORDER 
TAF_ECALL_REASON_TEMPORARY_FAILURE 
TAF_ECALL_REASON_SWITCHING_EQUIPMENT_CONGESTION 
TAF_ECALL_REASON_ACCESS_INFORMATION_DISCARDED 
TAF_ECALL_REASON_REQUESTED_CIRCUIT_OR_CHANNEL_NOT_AVAILABLE 
TAF_ECALL_REASON_RESOURCES_UNAVAILABLE_OR_UNSPECIFIED 
TAF_ECALL_REASON_QOS_UNAVAILABLE 
TAF_ECALL_REASON_REQUESTED_FACILITY_NOT_SUBSCRIBED 
TAF_ECALL_REASON_INCOMING_CALLS_BARRED_WITHIN_CUG 
TAF_ECALL_REASON_BEARER_CAPABILITY_NOT_AUTHORIZED 
TAF_ECALL_REASON_BEARER_CAPABILITY_UNAVAILABLE 
TAF_ECALL_REASON_SERVICE_OPTION_NOT_AVAILABLE 
TAF_ECALL_REASON_BEARER_SERVICE_NOT_IMPLEMENTED 
TAF_ECALL_REASON_ACM_LIMIT_EXCEEDED 
TAF_ECALL_REASON_REQUESTED_FACILITY_NOT_IMPLEMENTED 
TAF_ECALL_REASON_ONLY_DIGITAL_INFORMATION_BEARER_AVAILABLE 
TAF_ECALL_REASON_SERVICE_OR_OPTION_NOT_IMPLEMENTED 
TAF_ECALL_REASON_INVALID_TRANSACTION_IDENTIFIER 
TAF_ECALL_REASON_USER_NOT_MEMBER_OF_CUG 
TAF_ECALL_REASON_INCOMPATIBLE_DESTINATION 
TAF_ECALL_REASON_INVALID_TRANSIT_NW_SELECTION 
TAF_ECALL_REASON_SEMANTICALLY_INCORRECT_MESSAGE 
TAF_ECALL_REASON_INVALID_MANDATORY_INFORMATION 
TAF_ECALL_REASON_MESSAGE_TYPE_NON_IMPLEMENTED 
TAF_ECALL_REASON_MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE 
TAF_ECALL_REASON_INFORMATION_ELEMENT_NON_EXISTENT 
TAF_ECALL_REASON_CONDITIONAL_IE_ERROR 
TAF_ECALL_REASON_MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE 
TAF_ECALL_REASON_RECOVERY_ON_TIMER_EXPIRED 
TAF_ECALL_REASON_PROTOCOL_ERROR_UNSPECIFIED 
TAF_ECALL_REASON_INTERWORKING_UNSPECIFIED 
TAF_ECALL_REASON_CALL_BARRED 
TAF_ECALL_REASON_FDN_BLOCKED 
TAF_ECALL_REASON_IMSI_UNKNOWN_IN_VLR 
TAF_ECALL_REASON_IMEI_NOT_ACCEPTED 
TAF_ECALL_REASON_DIAL_MODIFIED_TO_USSD 
TAF_ECALL_REASON_DIAL_MODIFIED_TO_SS 
TAF_ECALL_REASON_DIAL_MODIFIED_TO_DIAL 
TAF_ECALL_REASON_CDMA_LOCKED_UNTIL_POWER_CYCLE 
TAF_ECALL_REASON_CDMA_DROP 
TAF_ECALL_REASON_CDMA_INTERCEPT 
TAF_ECALL_REASON_CDMA_REORDER 
TAF_ECALL_REASON_CDMA_SO_REJECT 
TAF_ECALL_REASON_CDMA_RETRY_ORDER 
TAF_ECALL_REASON_CDMA_ACCESS_FAILURE 
TAF_ECALL_REASON_CDMA_PREEMPTED 
TAF_ECALL_REASON_CDMA_NOT_EMERGENCY 
TAF_ECALL_REASON_CDMA_ACCESS_BLOCKED 
TAF_ECALL_REASON_ERROR_UNSPECIFIED 

◆ taf_ecall_Type_t

eCall type

Enumerator
TAF_ECALL_TYPE_UNKNOWN 
TAF_ECALL_TYPE_TEST 
TAF_ECALL_TYPE_AUTO 
TAF_ECALL_TYPE_MANUAL 
TAF_ECALL_TYPE_PRIVATE 

◆ taf_ecall_HlapTimerStatus_t

HLAP timer status

Enumerator
TAF_ECALL_TIMER_STATUS_UNKNOWN 

Unknown.

TAF_ECALL_TIMER_STATUS_INACTIVE 

eCall HLAP timer has not started or it has stopped/expired.

TAF_ECALL_TIMER_STATUS_ACTIVE 

eCall HLAP timer has started but not yet stopped/expired.

◆ taf_ecall_HlapTimerType_t

HLAP timer type

Enumerator
TAF_ECALL_TIMER_TYPE_UNKNOWN 

Unknown timer.

TAF_ECALL_TIMER_TYPE_T2 

T2 timer.

TAF_ECALL_TIMER_TYPE_T9 

T9 timer.

TAF_ECALL_TIMER_TYPE_T10 

T10 timer.

Function Documentation

◆ ifgen_taf_ecall_HasLocalBinding()

LE_SHARED bool ifgen_taf_ecall_HasLocalBinding ( void  )

Get if this client bound locally.

◆ ifgen_taf_ecall_InitCommonData()

LE_SHARED void ifgen_taf_ecall_InitCommonData ( void  )

Init data that is common across all threads

◆ ifgen_taf_ecall_CleanupCommonData()

LE_SHARED void ifgen_taf_ecall_CleanupCommonData ( le_msg_SessionRef_t  _ifgen_sessionRef)

Cleanup the data of a session

◆ ifgen_taf_ecall_OpenSession()

LE_SHARED le_result_t ifgen_taf_ecall_OpenSession ( le_msg_SessionRef_t  _ifgen_sessionRef,
bool  isBlocking 
)

Perform common initialization and open a session

◆ ifgen_taf_ecall_AddStateChangeHandler()

LE_SHARED taf_ecall_StateChangeHandlerRef_t ifgen_taf_ecall_AddStateChangeHandler ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_StateChangeHandlerFunc_t  handlerPtr,
void *  contextPtr 
)

Add handler function for EVENT 'taf_ecall_StateChange'

eCall state change event handler.

Parameters
[in]handlerPtrState change handler for emergency calls.
[in]contextPtr

◆ ifgen_taf_ecall_RemoveStateChangeHandler()

LE_SHARED void ifgen_taf_ecall_RemoveStateChangeHandler ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_StateChangeHandlerRef_t  handlerRef 
)

Remove handler function for EVENT 'taf_ecall_StateChange'

Parameters
[in]handlerRef

◆ ifgen_taf_ecall_Create()

LE_SHARED taf_ecall_CallRef_t ifgen_taf_ecall_Create ( le_msg_SessionRef_t  _ifgen_sessionRef)

Creates an eCall reference.

Returns
  • Reference to the emergency call.
  • NULL if the emergency call can not be created.

◆ ifgen_taf_ecall_Delete()

LE_SHARED void ifgen_taf_ecall_Delete ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Releases (frees) a call reference according to the given eCall reference.

Parameters
[in]ecallRefEmergency call reference.

◆ ifgen_taf_ecall_ForceOnlyMode()

LE_SHARED le_result_t ifgen_taf_ecall_ForceOnlyMode ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint8_t  phoneId 
)

Switches to eCall only mode according to the given phone ID.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Parameters
[in]phoneIdPhone ID.

◆ ifgen_taf_ecall_ForcePersistentOnlyMode()

LE_SHARED le_result_t ifgen_taf_ecall_ForcePersistentOnlyMode ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint8_t  phoneId 
)

Switches to persistent eCall Only mode according to the given phone ID.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Parameters
[in]phoneIdPhone ID.

◆ ifgen_taf_ecall_ExitOnlyMode()

LE_SHARED le_result_t ifgen_taf_ecall_ExitOnlyMode ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint8_t  phoneId 
)

Exits eCall Only mode and switches to Normal mode according to the given phone ID.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Parameters
[in]phoneIdPhone ID.

◆ ifgen_taf_ecall_GetConfiguredOperationMode()

LE_SHARED le_result_t ifgen_taf_ecall_GetConfiguredOperationMode ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint8_t  phoneId,
taf_ecall_OpMode_t opModePtr 
)

Gets the ecall operating mode according to the given phone ID.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Parameters
[in]phoneIdPhone ID.
[out]opModePtrOperating mode.

◆ ifgen_taf_ecall_SetMsdVersion()

LE_SHARED le_result_t ifgen_taf_ecall_SetMsdVersion ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint32_t  msdVersion 
)

Sets the MSD version.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Note
Currently, only MSD version 2 and 3 are supported.
Parameters
[in]msdVersion

◆ ifgen_taf_ecall_GetMsdVersion()

LE_SHARED le_result_t ifgen_taf_ecall_GetMsdVersion ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint32_t *  msdVerPtr 
)

Gets the MSD version.

Returns
  • LE_OK – Succeeded.
  • LE_BAD_PARAMETER – Invalid parameters.
Note
Currently, only MSD version 2 and 3 are supported.
Parameters
[out]msdVerPtrMSD version as output.

◆ ifgen_taf_ecall_SetVehicleType()

LE_SHARED le_result_t ifgen_taf_ecall_SetVehicleType ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_MsdVehicleType_t  vehType 
)

Sets the vehicle type.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Parameters
[in]vehTypeVehicle type.

◆ ifgen_taf_ecall_GetVehicleType()

LE_SHARED le_result_t ifgen_taf_ecall_GetVehicleType ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_MsdVehicleType_t vehTypePtr 
)

Get vehicle type.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
  • LE_BAD_PARAMETER – Invalid parameters.
Parameters
[out]vehTypePtrVehicle type as output.

◆ ifgen_taf_ecall_SetVIN()

LE_SHARED le_result_t ifgen_taf_ecall_SetVIN ( le_msg_SessionRef_t  _ifgen_sessionRef,
const char *LE_NONNULL  vin 
)

Sets the vehicle identification number.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
  • LE_BAD_PARAMETER – Invalid parameters.
Parameters
[in]vinVehicle identification number.

◆ ifgen_taf_ecall_GetVIN()

LE_SHARED le_result_t ifgen_taf_ecall_GetVIN ( le_msg_SessionRef_t  _ifgen_sessionRef,
char *  vin,
size_t  vinSize 
)

Gets the vehicle identification number.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
  • LE_BAD_PARAMETER – Invalid parameters.
Parameters
[out]vinVehicle identification number as output.
[in]vinSize

◆ ifgen_taf_ecall_SetPropulsionType()

LE_SHARED le_result_t ifgen_taf_ecall_SetPropulsionType ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_PropulsionStorageType_t  propulsionType 
)

Sets the vehicle propulsion storage type.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Parameters
[in]propulsionTypeVehicle propulsion storage type.

◆ ifgen_taf_ecall_GetPropulsionType()

LE_SHARED le_result_t ifgen_taf_ecall_GetPropulsionType ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_PropulsionStorageType_t propulsionTypePtr 
)

Reads the vehicle propulsion storage type.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Parameters
[out]propulsionTypePtrVehicle propulsion storage type as output.

◆ ifgen_taf_ecall_SetMsdTxMode()

LE_SHARED le_result_t ifgen_taf_ecall_SetMsdTxMode ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_MsdTransmissionMode_t  mode 
)

Sets the MSD transmission mode. The API is not supported on this platform.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
  • LE_UNSUPPORTED – Not supported.
Parameters
[in]modeMSD transmission mode.

◆ ifgen_taf_ecall_GetMsdTxMode()

LE_SHARED le_result_t ifgen_taf_ecall_GetMsdTxMode ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_MsdTransmissionMode_t modePtr 
)

Reads the MSD transmission mode. The API is not supported on this platform.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
  • LE_UNSUPPORTED – Not supported.
Parameters
[out]modePtrMSD transmission mode as output.

◆ ifgen_taf_ecall_SetMsdPosition()

LE_SHARED le_result_t ifgen_taf_ecall_SetMsdPosition ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef,
bool  isTrusted,
int32_t  latitude,
int32_t  longitude,
int32_t  direction 
)

Sets the latitude and longitude for MSD transmission.

Returns
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_OK – Succeeded.
  • LE_DUPLICATE – The MSD has already been imported.
Parameters
[in]ecallRefSIM slot ID.
[in]isTrustedIs trusted or not.
[in]latitudeLatitude value in ms.
[in]longitudeLongitude value in ms.
[in]directionThe direction of the vehicle from magnetic north (0

◆ ifgen_taf_ecall_SetMsdPositionN1()

LE_SHARED le_result_t ifgen_taf_ecall_SetMsdPositionN1 ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef,
int32_t  latitudeDeltaN1,
int32_t  longitudeDeltaN1 
)

Sets the position delta N-1 for MSD transmission.

Returns
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_DUPLICATE – The MSD has already been imported.
Note
The process exits when an invalid eCall reference is given.
Parameters
[in]ecallRefSIM slot ID.
[in]latitudeDeltaN1First latitude delta. 1 Unit = 100 miliarcseconds, which is approximately 3m maximum value: 511 = 0 0'51.100'' (+- 1580m) minimum value: -512 = -0 0'51.200'' (+- -1583m)
[in]longitudeDeltaN1First longitude delta. 1 Unit = 100 miliarcseconds, which is approximately 3m maximum value: 511 = 0 0'51.100'' (+- 1580m) minimum value: -512 = -0 0'51.200'' (+- -1583m)

◆ ifgen_taf_ecall_SetMsdPositionN2()

LE_SHARED le_result_t ifgen_taf_ecall_SetMsdPositionN2 ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef,
int32_t  latitudeDeltaN2,
int32_t  longitudeDeltaN2 
)

Sets the position delta N-2 for MSD transmission.

Returns
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_DUPLICATE – The MSD has already been imported.
Note
The process exits when an invalid eCall reference is given.
Parameters
[in]ecallRefSIM slot ID.
[in]latitudeDeltaN2Second latitude delta. 1 Unit = 100 miliarcseconds, which is approximately 3m maximum value: 511 = 0 0'51.100'' (+- 1580m) minimum value: -512 = -0 0'51.200'' (+- -1583m)
[in]longitudeDeltaN2Second longitude delta. 1 Unit = 100 miliarcseconds, which is approximately 3m maximum value: 511 = 0 0'51.100'' (+- 1580m) minimum value: -512 = -0 0'51.200'' (+- -1583m)

◆ ifgen_taf_ecall_SetMsdPassengersCount()

LE_SHARED le_result_t ifgen_taf_ecall_SetMsdPassengersCount ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef,
uint32_t  passengersCount 
)

Sets the number of passengers according to the given eCall reference.

Returns
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_DUPLICATE – The MSD has already been imported.
Note
The process exits when an invalid eCall reference is given.
Parameters
[in]ecallRefSIM slot ID.
[in]passengersCountPassenger count.

◆ ifgen_taf_ecall_SetMsdAdditionalData()

LE_SHARED le_result_t ifgen_taf_ecall_SetMsdAdditionalData ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef,
const char *LE_NONNULL  oid,
const uint8_t *  dataPtr,
size_t  dataSize 
)

Sets the optional additional data for MSD transmission.

Returns
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_DUPLICATE – The MSD has already been imported.
Note
The process exits when an invalid eCall reference is given.
Parameters
[in]ecallRefeCall reference.
[in]oidOid
[in]dataPtrData
[in]dataSize

◆ ifgen_taf_ecall_ResetMsdAdditionalData()

LE_SHARED le_result_t ifgen_taf_ecall_ResetMsdAdditionalData ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Resets the optional additional data for MSD transmission.

Returns
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_DUPLICATE – The MSD has already been imported.
Note
The process exits when an invalid eCall reference is given.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_SetMsdEuroNCAPLocationOfImpact()

LE_SHARED le_result_t ifgen_taf_ecall_SetMsdEuroNCAPLocationOfImpact ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef,
taf_ecall_IILocations_t  iiLocations 
)

Sets the location of impact for Euro NCAP additional data.

Returns
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_DUPLICATE – The MSD has already been imported.
Note
The process exits when an invalid eCall reference is given.
Parameters
[in]ecallRefeCall reference.
[in]iiLocationsLocation of impact

◆ ifgen_taf_ecall_SetMsdEuroNCAPRolloverDetected()

LE_SHARED le_result_t ifgen_taf_ecall_SetMsdEuroNCAPRolloverDetected ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef,
bool  rolloverDetected 
)

Sets the rollover detected for Euro NCAP additional data.

Returns
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_DUPLICATE – The MSD has already been imported.
Note
The process exits when an invalid eCall reference is given.
Parameters
[in]ecallRefeCall reference.
[in]rolloverDetectedRollover detected

◆ ifgen_taf_ecall_ResetMsdEuroNCAPRolloverDetected()

LE_SHARED le_result_t ifgen_taf_ecall_ResetMsdEuroNCAPRolloverDetected ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Resets the rollover detected for Euro NCAP additional data.

Returns
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_DUPLICATE – The MSD has already been imported.
Note
The process exits when an invalid eCall reference is given.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_SetMsdEuroNCAPIIDeltaV()

LE_SHARED le_result_t ifgen_taf_ecall_SetMsdEuroNCAPIIDeltaV ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef,
uint8_t  rangeLimit,
int16_t  deltaVX,
int16_t  deltaVY 
)

Sets the IIDeltaV for Euro NCAP additional data.

Returns
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_DUPLICATE – The MSD has already been imported.
Note
The process exits when an invalid eCall reference is given.
Parameters
[in]ecallRefeCall reference.
[in]rangeLimitRange limit
[in]deltaVXDeltaVX
[in]deltaVYDeltaVY

◆ ifgen_taf_ecall_ImportMsd()

LE_SHARED le_result_t ifgen_taf_ecall_ImportMsd ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef,
const uint8_t *  msdPtr,
size_t  msdSize 
)

Imports the PDU MSD according to the given eCall reference. The maximum MSD length is 255 bytes for private eCall and 140 bytes for other eCall.

Returns
  • LE_OK – Succeeded.
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_OVERFLOW – The size of the MSD buffer is wrong.
Note
The process exits if an invalid eCall reference is passed.
Parameters
[in]ecallRefSIM slot ID.
[in]msdPtrMSD.
[in]msdSize

◆ ifgen_taf_ecall_ExportMsd()

LE_SHARED le_result_t ifgen_taf_ecall_ExportMsd ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef,
uint8_t *  msdPtr,
size_t *  msdSizePtr 
)

Exports the PDU MSD according to the given eCall reference.

Returns
  • LE_OK – Succeeded.
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_OVERFLOW – The size of the MSD buffer is wrong.
  • LE_NOT_FOUND – The MSD is not imported or updated.
  • LE_FAULT – Failed.
Note
The process exits if an invalid eCall reference is passed.
Parameters
[in]ecallRefSIM slot ID.
[out]msdPtrMSD output.
[in,out]msdSizePtr

◆ ifgen_taf_ecall_SendMsd()

LE_SHARED le_result_t ifgen_taf_ecall_SendMsd ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Updates the eCall MSD in modem to be sent to a Public Safety Answering Point (PSAP) when requested.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_StartAutomatic()

LE_SHARED le_result_t ifgen_taf_ecall_StartAutomatic ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Starts an automatic emergency call with a standard PAN European/KSA/UAE PSAP number(112/911/999) or a voice call with the long PSAP number by taf_ecall_SetPsapNumber() according to the given eCall reference.

Returns
  • LE_OK – Succeeded.
  • LE_BUSY – eCall session is already in progress.
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_StartManual()

LE_SHARED le_result_t ifgen_taf_ecall_StartManual ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Starts a manual emergency call with a standard PAN European/KSA/UAE PSAP number(112/911/999) or a voice call with the long PSAP number by taf_ecall_SetPsapNumber() according to the given eCall reference.

Returns
  • LE_OK – Succeeded.
  • LE_BUSY – eCall session is already in progress.
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_StartTest()

LE_SHARED le_result_t ifgen_taf_ecall_StartTest ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Starts a test eCall with a configured telephone number stored in the USIM or a long PSAP number set by taf_ecall_SetPsapNumber().

Returns
  • LE_OK – Succeeded.
  • LE_BUSY – eCall session is already in progress.
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_StartPrivate()

LE_SHARED le_result_t ifgen_taf_ecall_StartPrivate ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef,
const char *LE_NONNULL  psap,
const char *LE_NONNULL  contentType,
const char *LE_NONNULL  acceptInfo 
)

Initiates a private eCall.

Returns
  • LE_OK – Succeeded.
  • LE_BUSY – eCall session is already in progress.
  • LE_BAD_PARAMETER – Bad eCall reference.
  • LE_FAULT – Failed.
Note
Currently, only SA525M platform are supported.
Parameters
[in]ecallRefeCall reference.
[in]psapPublic Safely Answering Point number.
[in]contentTypeType of data being transmitted and
[in]acceptInfoSIP Accept header. The maximum length

◆ ifgen_taf_ecall_End()

LE_SHARED le_result_t ifgen_taf_ecall_End ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Ends the ongoing eCall according to the given eCall reference.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
  • LE_BAD_PARAMETER – Bad eCall reference.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_Answer()

LE_SHARED le_result_t ifgen_taf_ecall_Answer ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Answers the incoming eCall according to the given eCall reference.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
  • LE_BAD_PARAMETER – Bad eCall reference.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_GetState()

LE_SHARED taf_ecall_State_t ifgen_taf_ecall_GetState ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Gets the currrent eCall state according to the given eCall reference.

Returns
  • The current state of the given eCall.
Note
The process exits if an invalid eCall reference is passed.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_GetType()

LE_SHARED taf_ecall_Type_t ifgen_taf_ecall_GetType ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Gets the current eCall type according to the given eCall reference.

Returns
  • The current type of the given eCall.
Note
Passing a bad or null pointer to this function results in a fatal error and the function may not return.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_GetPlatformSpecificTerminationCode()

LE_SHARED int32_t ifgen_taf_ecall_GetPlatformSpecificTerminationCode ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Gets the platform-specific reason for a recently terminated call according to the given eCall reference.

Returns
  • The platform-specific termination code.
Note
The API is not supported in this platform.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_GetTerminationReason()

LE_SHARED taf_ecall_TerminationReason_t ifgen_taf_ecall_GetTerminationReason ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_CallRef_t  ecallRef 
)

Gets the end reason for a recently terminated eCall.

Returns
The termination reason.
Note
Passing a bad or null pointer to this function results in a fatal error and the function may not return.
Parameters
[in]ecallRefeCall reference.

◆ ifgen_taf_ecall_SetPsapNumber()

LE_SHARED le_result_t ifgen_taf_ecall_SetPsapNumber ( le_msg_SessionRef_t  _ifgen_sessionRef,
const char *LE_NONNULL  psap 
)

Sets the public safely answering point (PSAP) phone number for eCall.

Note
The PSAP number is applicable in manually or automatically dialed eCalls. It is also applicable to test eCalls that are dialed intentionally for testing, validating, or certifying.
Warning
This function doesn't modify the U/SIM content.
Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Note
If the PSAP number is empty or too long (max TAF_SIM_PHONE_NUM_MAX_LEN digits), it is a fatal error and the function will not return.
Parameters
[in]psapPublic Safely Answering Point number

◆ ifgen_taf_ecall_GetPsapNumber()

LE_SHARED le_result_t ifgen_taf_ecall_GetPsapNumber ( le_msg_SessionRef_t  _ifgen_sessionRef,
char *  psap,
size_t  psapSize 
)

Gets the PSAP number set with taf_ecall_SetPsapNumber().

Note
The PSAP number is applicable in manually or automatically dialed eCalls. It is also applicable to test eCalls that are dialed intentionally for testing, validating, or certifying.
Warning
This function doesn't read the U/SIM content.
Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed or taf_ecall_SetPsapNumber() has never been called before.
  • LE_BAD_PARAMETER – The PSAP number is null.
Parameters
[out]psapPSAP number.
[in]psapSize

◆ ifgen_taf_ecall_UseUSimNumbers()

LE_SHARED le_result_t ifgen_taf_ecall_UseUSimNumbers ( le_msg_SessionRef_t  _ifgen_sessionRef)

Reads the FDN/SDN numbers from U/SIM to dial a test eCall when the modem is in TAF_ECALL_MODE_FORCED_PERSISTENT_ONLY or TAF_ECALL_MODE_ECALL.

Note
If the FDN number is updated with a new number, ensure that the SIM card is refreshed.
Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.

◆ ifgen_taf_ecall_SetNadDeregistrationTime()

LE_SHARED le_result_t ifgen_taf_ecall_SetNadDeregistrationTime ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint16_t  deregTime 
)

Sets the eCall deregistration time in NAD. After an emergency call ends the in-vehicle system stays registered with the network for a specific amount of time, defined by the NAD eCall deregistration time.

Returns
  • LE_OK – Succeeded.
  • LE_BUSY – An eCall session is in progress.
  • LE_FAULT – Failed.
Parameters
[in]deregTimeThe eCall deregistration time (in minutes).

◆ ifgen_taf_ecall_GetNadDeregistrationTime()

LE_SHARED le_result_t ifgen_taf_ecall_GetNadDeregistrationTime ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint16_t *  deregTimePtr 
)

Gets the eCall deregistration time of the NAD.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Parameters
[out]deregTimePtrThe eCall deregistration time (in minutes).

◆ ifgen_taf_ecall_TerminateRegistration()

LE_SHARED le_result_t ifgen_taf_ecall_TerminateRegistration ( le_msg_SessionRef_t  _ifgen_sessionRef)

Disconnects the NAD from the eCall network. After an emergency call ends the in-vehicle system stays registered with the network for a period of time to facilate callback from the PSAP, but when NAD requires to deregister from the network this API can be used.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.

◆ ifgen_taf_ecall_SetNadClearDownFallbackTime()

LE_SHARED le_result_t ifgen_taf_ecall_SetNadClearDownFallbackTime ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint16_t  ccftTime 
)

Sets the eCall clear down fallback time of the NAD. If the NAD does not receive a clear down indication from network or a clear down message (AL-ACK) from the PSAP during an ecall, then it will trigger an automatic call end when clear down fallback time out.

Returns
  • LE_OK – Succeeded.
  • LE_BUSY – An eCall session is in progress.
  • LE_FAULT – Failed.
Parameters
[in]ccftTimeThe eCall clear down fallback time (in minutes).

◆ ifgen_taf_ecall_GetNadClearDownFallbackTime()

LE_SHARED le_result_t ifgen_taf_ecall_GetNadClearDownFallbackTime ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint16_t *  ccftTimePtr 
)

Gets the eCall clear down fallback time of the NAD.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Parameters
[out]ccftTimePtrThe eCall clear down fallback time (in minutes).

◆ ifgen_taf_ecall_SetNadMinNetworkRegistrationTime()

LE_SHARED le_result_t ifgen_taf_ecall_SetNadMinNetworkRegistrationTime ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint16_t  minNwRegTime 
)

Sets the eCall minimum network registration time of the NAD. After an eCall ends, the NAD shall remain registered on the serving network. During this time, the NAD can automatically receive calls from the PSAP.

Returns
  • LE_OK – Succeeded.
  • LE_BUSY – An eCall session is in progress.
  • LE_FAULT – Failed.
Parameters
[in]minNwRegTimeThe eCall minimum network registration time (in minutes).

◆ ifgen_taf_ecall_GetNadMinNetworkRegistrationTime()

LE_SHARED le_result_t ifgen_taf_ecall_GetNadMinNetworkRegistrationTime ( le_msg_SessionRef_t  _ifgen_sessionRef,
uint16_t *  minNwRegTimePtr 
)

Gets the eCall minimum network registration time of the NAD.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
Parameters
[out]minNwRegTimePtrThe eCall minimum network registration time (in minutes).

◆ ifgen_taf_ecall_GetHlapTimerState()

LE_SHARED le_result_t ifgen_taf_ecall_GetHlapTimerState ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_ecall_HlapTimerType_t  timer,
taf_ecall_HlapTimerStatus_t timerStatusPtr,
uint16_t *  elapsedTimePtr 
)

Gets the eCall HLAP timer state of the NAD.

Returns
  • LE_OK – Succeeded.
  • LE_FAULT – Failed.
  • LE_BAD_PARAMETER – The HLAP timer type is out of range
Parameters
[in]timerHLAP timer Type.
[out]timerStatusPtrThe status of the HLAP timer.
[out]elapsedTimePtrThe elapsed time of the HLAP timer in unit of seconds.