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

Go to the source code of this file.

Macros

#define IFGEN_TAF_LOCPOSCTRL_PROTOCOL_ID   "d47cc30512e69387f546399a44c565e4"
 
#define IFGEN_TAF_LOCPOSCTRL_MSG_SIZE   12
 

Typedefs

typedef struct taf_locPosCtrl_Activation * taf_locPosCtrl_ActivationRef_t
 

Functions

LE_SHARED bool ifgen_taf_locPosCtrl_HasLocalBinding (void)
 
LE_SHARED void ifgen_taf_locPosCtrl_InitCommonData (void)
 
LE_SHARED void ifgen_taf_locPosCtrl_CleanupCommonData (le_msg_SessionRef_t _ifgen_sessionRef)
 
LE_SHARED le_result_t ifgen_taf_locPosCtrl_OpenSession (le_msg_SessionRef_t _ifgen_sessionRef, bool isBlocking)
 
LE_SHARED taf_locPosCtrl_ActivationRef_t ifgen_taf_locPosCtrl_Request (le_msg_SessionRef_t _ifgen_sessionRef)
 
LE_SHARED void ifgen_taf_locPosCtrl_Release (le_msg_SessionRef_t _ifgen_sessionRef, taf_locPosCtrl_ActivationRef_t ref)
 

Macro Definition Documentation

◆ IFGEN_TAF_LOCPOSCTRL_PROTOCOL_ID

#define IFGEN_TAF_LOCPOSCTRL_PROTOCOL_ID   "d47cc30512e69387f546399a44c565e4"

◆ IFGEN_TAF_LOCPOSCTRL_MSG_SIZE

#define IFGEN_TAF_LOCPOSCTRL_MSG_SIZE   12

Typedef Documentation

◆ taf_locPosCtrl_ActivationRef_t

typedef struct taf_locPosCtrl_Activation* taf_locPosCtrl_ActivationRef_t

Reference type used to for Positioning Control service management.

Function Documentation

◆ ifgen_taf_locPosCtrl_HasLocalBinding()

LE_SHARED bool ifgen_taf_locPosCtrl_HasLocalBinding ( void  )

Get if this client bound locally.

◆ ifgen_taf_locPosCtrl_InitCommonData()

LE_SHARED void ifgen_taf_locPosCtrl_InitCommonData ( void  )

Init data that is common across all threads

◆ ifgen_taf_locPosCtrl_CleanupCommonData()

LE_SHARED void ifgen_taf_locPosCtrl_CleanupCommonData ( le_msg_SessionRef_t  _ifgen_sessionRef)

Cleanup the data of a session

◆ ifgen_taf_locPosCtrl_OpenSession()

LE_SHARED le_result_t ifgen_taf_locPosCtrl_OpenSession ( le_msg_SessionRef_t  _ifgen_sessionRef,
bool  isBlocking 
)

Perform common initialization and open a session

◆ ifgen_taf_locPosCtrl_Request()

LE_SHARED taf_locPosCtrl_ActivationRef_t ifgen_taf_locPosCtrl_Request ( le_msg_SessionRef_t  _ifgen_sessionRef)

Requests activation of the Positioning Control service.

Returns
  • Reference to the service activation request; used later to release the request.
  • NULL if the service request could not be processed.

◆ ifgen_taf_locPosCtrl_Release()

LE_SHARED void ifgen_taf_locPosCtrl_Release ( le_msg_SessionRef_t  _ifgen_sessionRef,
taf_locPosCtrl_ActivationRef_t  ref 
)

Releases the Positioning Control service.

Parameters
[in]refReference to a Positioning Control service activation request.