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

Go to the source code of this file.

Macros

#define IFGEN_TAF_TYPES_PROTOCOL_ID   "452d88cbb1af6b7ea2f739d7427a388f"
 
#define IFGEN_TAF_TYPES_MSG_SIZE   9
 
#define TAF_TYPES_REMOTE_PARTY_NUM_MAX_BYTES   18
 

Functions

LE_SHARED bool ifgen_taf_types_HasLocalBinding (void)
 
LE_SHARED void ifgen_taf_types_InitCommonData (void)
 
LE_SHARED void ifgen_taf_types_CleanupCommonData (le_msg_SessionRef_t _ifgen_sessionRef)
 
LE_SHARED le_result_t ifgen_taf_types_OpenSession (le_msg_SessionRef_t _ifgen_sessionRef, bool isBlocking)
 

Macro Definition Documentation

◆ IFGEN_TAF_TYPES_PROTOCOL_ID

#define IFGEN_TAF_TYPES_PROTOCOL_ID   "452d88cbb1af6b7ea2f739d7427a388f"

◆ IFGEN_TAF_TYPES_MSG_SIZE

#define IFGEN_TAF_TYPES_MSG_SIZE   9

◆ TAF_TYPES_REMOTE_PARTY_NUM_MAX_BYTES

#define TAF_TYPES_REMOTE_PARTY_NUM_MAX_BYTES   18

According to ITU-T recommendations E.164/E.163. The phone numbers can be a maximum of 15 digits, and appending prefix('+' / '00') should be: 15 + 2.

Finally adding one byte for a null character should be: 15 + 2 + 1.

Function Documentation

◆ ifgen_taf_types_HasLocalBinding()

LE_SHARED bool ifgen_taf_types_HasLocalBinding ( void  )

Get if this client bound locally.

◆ ifgen_taf_types_InitCommonData()

LE_SHARED void ifgen_taf_types_InitCommonData ( void  )

Init data that is common across all threads

◆ ifgen_taf_types_CleanupCommonData()

LE_SHARED void ifgen_taf_types_CleanupCommonData ( le_msg_SessionRef_t  _ifgen_sessionRef)

Cleanup the data of a session

◆ ifgen_taf_types_OpenSession()

LE_SHARED le_result_t ifgen_taf_types_OpenSession ( le_msg_SessionRef_t  _ifgen_sessionRef,
bool  isBlocking 
)

Perform common initialization and open a session