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

Go to the source code of this file.

Functions

le_msg_ServiceRef_t taf_radio_GetServiceRef (void)
 
le_msg_SessionRef_t taf_radio_GetClientSessionRef (void)
 
void taf_radio_AdvertiseService (void)
 
taf_radio_NetRegRejectHandlerRef_t taf_radio_AddNetRegRejectHandler (taf_radio_NetRegRejectHandlerFunc_t handlerPtr, void *contextPtr)
 
void taf_radio_RemoveNetRegRejectHandler (taf_radio_NetRegRejectHandlerRef_t handlerRef)
 
taf_radio_RatChangeHandlerRef_t taf_radio_AddRatChangeHandler (taf_radio_RatChangeHandlerFunc_t handlerPtr, void *contextPtr)
 
void taf_radio_RemoveRatChangeHandler (taf_radio_RatChangeHandlerRef_t handlerRef)
 
taf_radio_NetRegStateEventHandlerRef_t taf_radio_AddNetRegStateEventHandler (taf_radio_NetRegStateHandlerFunc_t handlerPtr, void *contextPtr)
 
void taf_radio_RemoveNetRegStateEventHandler (taf_radio_NetRegStateEventHandlerRef_t handlerRef)
 
taf_radio_PacketSwitchedChangeHandlerRef_t taf_radio_AddPacketSwitchedChangeHandler (taf_radio_PacketSwitchedChangeHandlerFunc_t handlerPtr, void *contextPtr)
 
void taf_radio_RemovePacketSwitchedChangeHandler (taf_radio_PacketSwitchedChangeHandlerRef_t handlerRef)
 
taf_radio_SignalStrengthChangeHandlerRef_t taf_radio_AddSignalStrengthChangeHandler (taf_radio_Rat_t rat, taf_radio_SignalStrengthChangeHandlerFunc_t handlerPtr, void *contextPtr)
 
void taf_radio_RemoveSignalStrengthChangeHandler (taf_radio_SignalStrengthChangeHandlerRef_t handlerRef)
 
taf_radio_ImsRegStatusChangeHandlerRef_t taf_radio_AddImsRegStatusChangeHandler (taf_radio_ImsRegStatusChangeHandlerFunc_t handlerPtr, void *contextPtr)
 
void taf_radio_RemoveImsRegStatusChangeHandler (taf_radio_ImsRegStatusChangeHandlerRef_t handlerRef)
 
taf_radio_OpModeChangeHandlerRef_t taf_radio_AddOpModeChangeHandler (taf_radio_OpModeChangeHandlerFunc_t handlerPtr, void *contextPtr)
 
void taf_radio_RemoveOpModeChangeHandler (taf_radio_OpModeChangeHandlerRef_t handlerRef)
 
taf_radio_NetStatusChangeHandlerRef_t taf_radio_AddNetStatusChangeHandler (taf_radio_NetStatusHandlerFunc_t handlerPtr, void *contextPtr)
 
void taf_radio_RemoveNetStatusChangeHandler (taf_radio_NetStatusChangeHandlerRef_t handlerRef)
 
taf_radio_ImsStatusChangeHandlerRef_t taf_radio_AddImsStatusChangeHandler (taf_radio_ImsStatusChangeHandlerFunc_t handlerPtr, void *contextPtr)
 
void taf_radio_RemoveImsStatusChangeHandler (taf_radio_ImsStatusChangeHandlerRef_t handlerRef)
 
taf_radio_CellInfoChangeHandlerRef_t taf_radio_AddCellInfoChangeHandler (taf_radio_CellInfoChangeHandlerFunc_t handlerPtr, void *contextPtr)
 
void taf_radio_RemoveCellInfoChangeHandler (taf_radio_CellInfoChangeHandlerRef_t handlerRef)
 
le_result_t taf_radio_SetRadioPower (le_onoff_t power, uint8_t phoneId)
 
le_result_t taf_radio_GetRadioPower (le_onoff_t *powerPtr, uint8_t phoneId)
 
le_result_t taf_radio_SetAutomaticRegisterMode (uint8_t phoneId)
 
le_result_t taf_radio_SetManualRegisterMode (const char *LE_NONNULL mcc, const char *LE_NONNULL mnc, uint8_t phoneId)
 
void taf_radio_SetManualRegisterModeAsync (const char *LE_NONNULL mcc, const char *LE_NONNULL mnc, taf_radio_ManualSelectionHandlerFunc_t handlerPtr, void *contextPtr, uint8_t phoneId)
 
le_result_t taf_radio_GetRegisterMode (bool *isManualPtrPtr, char *mccPtr, size_t mccPtrSize, char *mncPtr, size_t mncPtrSize, uint8_t phoneId)
 
int32_t taf_radio_GetPlatformSpecificRegistrationErrorCode (void)
 
le_result_t taf_radio_GetBandCapabilities (taf_radio_BandBitMask_t *bandMaskPtrPtr, uint8_t phoneId)
 
le_result_t taf_radio_GetLteBandCapabilities (uint64_t *bandMaskPtrPtr, size_t *bandMaskPtrSizePtr, uint8_t phoneId)
 
le_result_t taf_radio_SetBandPreferences (taf_radio_BandBitMask_t bandMask, uint8_t phoneId)
 
le_result_t taf_radio_GetBandPreferences (taf_radio_BandBitMask_t *bandMaskPtrPtr, uint8_t phoneId)
 
le_result_t taf_radio_SetLteBandPreferences (const uint64_t *bandMaskPtr, size_t bandMaskSize, uint8_t phoneId)
 
le_result_t taf_radio_GetLteBandPreferences (uint64_t *bandMaskPtr, size_t *bandMaskSizePtr, uint8_t phoneId)
 
le_result_t taf_radio_AddPreferredOperator (const char *LE_NONNULL mcc, const char *LE_NONNULL mnc, taf_radio_RatBitMask_t ratMask, uint8_t phoneId)
 
le_result_t taf_radio_RemovePreferredOperator (const char *LE_NONNULL mcc, const char *LE_NONNULL mnc, uint8_t phoneId)
 
le_result_t taf_radio_DeletePreferredOperatorsList (taf_radio_PreferredOperatorListRef_t preferredOperatorListRef)
 
taf_radio_PreferredOperatorListRef_t taf_radio_GetPreferredOperatorsList (uint8_t phoneId)
 
taf_radio_PreferredOperatorRef_t taf_radio_GetFirstPreferredOperator (taf_radio_PreferredOperatorListRef_t preferredOperatorListRef)
 
taf_radio_PreferredOperatorRef_t taf_radio_GetNextPreferredOperator (taf_radio_PreferredOperatorListRef_t preferredOperatorListRef)
 
le_result_t taf_radio_GetPreferredOperatorDetails (taf_radio_PreferredOperatorRef_t preferredOperatorRef, char *mccPtr, size_t mccPtrSize, char *mncPtr, size_t mncPtrSize, taf_radio_RatBitMask_t *ratMaskPtr)
 
le_result_t taf_radio_GetRadioAccessTechInUse (taf_radio_Rat_t *ratPtr, uint8_t phoneId)
 
le_result_t taf_radio_SetRatPreferences (taf_radio_RatBitMask_t ratMask, uint8_t phoneId)
 
le_result_t taf_radio_GetRatPreferences (taf_radio_RatBitMask_t *ratMaskPtrPtr, uint8_t phoneId)
 
le_result_t taf_radio_GetNetRegState (taf_radio_NetRegState_t *statePtr, uint8_t phoneId)
 
le_result_t taf_radio_GetPacketSwitchedState (taf_radio_NetRegState_t *statePtr, uint8_t phoneId)
 
le_result_t taf_radio_SetSignalStrengthIndThresholds (taf_radio_SigType_t sigType, int32_t lowerRangeThreshold, int32_t upperRangeThreshold, uint8_t phoneId)
 
le_result_t taf_radio_SetSignalStrengthIndDelta (taf_radio_SigType_t sigType, uint16_t delta, uint8_t phoneId)
 
le_result_t taf_radio_GetSignalQual (uint32_t *qualityPtr, uint8_t phoneId)
 
taf_radio_MetricsRef_t taf_radio_MeasureSignalMetrics (uint8_t phoneId)
 
le_result_t taf_radio_DeleteSignalMetrics (taf_radio_MetricsRef_t MetricsRef)
 
taf_radio_RatBitMask_t taf_radio_GetRatOfSignalMetrics (taf_radio_MetricsRef_t MetricsRef)
 
le_result_t taf_radio_GetGsmSignalMetrics (taf_radio_MetricsRef_t MetricsRef, int32_t *rssiPtr, uint32_t *berPtr)
 
le_result_t taf_radio_GetUmtsSignalMetrics (taf_radio_MetricsRef_t MetricsRef, int32_t *ssPtr, uint32_t *berPtr, int32_t *rscpPtr)
 
le_result_t taf_radio_GetLteSignalMetrics (taf_radio_MetricsRef_t MetricsRef, int32_t *ssPtr, int32_t *rsrqPtr, int32_t *rsrpPtr, int32_t *snrPtr)
 
le_result_t taf_radio_GetCdmaSignalMetrics (taf_radio_MetricsRef_t MetricsRef, int32_t *ssPtr, int32_t *ecioPtr, int32_t *snrPtr, int32_t *ioPtr)
 
le_result_t taf_radio_GetNr5gSignalMetrics (taf_radio_MetricsRef_t MetricsRef, int32_t *rsrqPtr, int32_t *rsrpPtr, int32_t *snrPtr)
 
uint32_t taf_radio_GetServingCellId (uint8_t phoneId)
 
uint64_t taf_radio_GetServingNrCellId (uint8_t phoneId)
 
uint32_t taf_radio_GetServingCellLocAreaCode (uint8_t phoneId)
 
uint16_t taf_radio_GetServingCellLteTracAreaCode (uint8_t phoneId)
 
int32_t taf_radio_GetServingCellNrTracAreaCode (uint8_t phoneId)
 
uint32_t taf_radio_GetServingCellEarfcn (uint8_t phoneId)
 
int32_t taf_radio_GetServingCellNrArfcn (uint8_t phoneId)
 
uint32_t taf_radio_GetServingCellTimingAdvance (uint8_t phoneId)
 
uint16_t taf_radio_GetPhysicalServingLteCellId (uint8_t phoneId)
 
uint32_t taf_radio_GetPhysicalServingNrCellId (uint8_t phoneId)
 
le_result_t taf_radio_GetServingCellGsmBsic (uint8_t *bsicPtr, uint8_t phoneId)
 
uint16_t taf_radio_GetServingCellScramblingCode (uint8_t phoneId)
 
le_result_t taf_radio_GetCurrentNetworkName (char *nameStr, size_t nameStrSize, uint8_t phoneId)
 
le_result_t taf_radio_GetCurrentNetworkMccMnc (char *mccStr, size_t mccStrSize, char *mncStr, size_t mncStrSize, uint8_t phoneId)
 
taf_radio_ScanInformationListRef_t taf_radio_PerformCellularNetworkScan (uint8_t phoneId)
 
void taf_radio_PerformCellularNetworkScanAsync (taf_radio_CellularNetworkScanHandlerFunc_t handlerPtr, void *contextPtr, uint8_t phoneId)
 
taf_radio_ScanInformationRef_t taf_radio_GetFirstCellularNetworkScan (taf_radio_ScanInformationListRef_t scanInformationListRef)
 
taf_radio_ScanInformationRef_t taf_radio_GetNextCellularNetworkScan (taf_radio_ScanInformationListRef_t scanInformationListRef)
 
le_result_t taf_radio_DeleteCellularNetworkScan (taf_radio_ScanInformationListRef_t scanInformationListRef)
 
le_result_t taf_radio_GetCellularNetworkMccMnc (taf_radio_ScanInformationRef_t scanInformationRef, char *mccPtr, size_t mccPtrSize, char *mncPtr, size_t mncPtrSize)
 
le_result_t taf_radio_GetCellularNetworkName (taf_radio_ScanInformationRef_t scanInformationRef, char *namePtr, size_t namePtrSize)
 
taf_radio_Rat_t taf_radio_GetCellularNetworkRat (taf_radio_ScanInformationRef_t scanInformationRef)
 
bool taf_radio_IsCellularNetworkInUse (taf_radio_ScanInformationRef_t scanInformationRef)
 
bool taf_radio_IsCellularNetworkAvailable (taf_radio_ScanInformationRef_t scanInformationRef)
 
bool taf_radio_IsCellularNetworkHome (taf_radio_ScanInformationRef_t scanInformationRef)
 
bool taf_radio_IsCellularNetworkForbidden (taf_radio_ScanInformationRef_t scanInformationRef)
 
taf_radio_PciScanInformationListRef_t taf_radio_PerformPciNetworkScan (taf_radio_RatBitMask_t ratMask, uint8_t phoneId)
 
void taf_radio_PerformPciNetworkScanAsync (taf_radio_RatBitMask_t ratMask, taf_radio_PciNetworkScanHandlerFunc_t handlerPtr, void *contextPtr, uint8_t phoneId)
 
taf_radio_PciScanInformationRef_t taf_radio_GetFirstPciScanInfo (taf_radio_PciScanInformationListRef_t scanInformationListRef)
 
taf_radio_PciScanInformationRef_t taf_radio_GetNextPciScanInfo (taf_radio_PciScanInformationListRef_t scanInformationListRef)
 
le_result_t taf_radio_DeletePciNetworkScan (taf_radio_PciScanInformationListRef_t scanInformationListRef)
 
taf_radio_PlmnInformationRef_t taf_radio_GetFirstPlmnInfo (taf_radio_PciScanInformationRef_t pciScanInformationRef)
 
taf_radio_PlmnInformationRef_t taf_radio_GetNextPlmnInfo (taf_radio_PciScanInformationRef_t pciScanInformationRef)
 
uint16_t taf_radio_GetPciScanCellId (taf_radio_PciScanInformationRef_t pciScanInformationRef)
 
uint32_t taf_radio_GetPciScanGlobalCellId (taf_radio_PciScanInformationRef_t pciScanInformationRef)
 
le_result_t taf_radio_GetPciScanMccMnc (taf_radio_PlmnInformationRef_t plmnRef, char *mccPtr, size_t mccPtrSize, char *mncPtr, size_t mncPtrSize)
 
taf_radio_NeighborCellsRef_t taf_radio_GetNeighborCellsInfo (uint8_t phoneId)
 
le_result_t taf_radio_DeleteNeighborCellsInfo (taf_radio_NeighborCellsRef_t ngbrCellsRef)
 
taf_radio_CellInfoRef_t taf_radio_GetFirstNeighborCellInfo (taf_radio_NeighborCellsRef_t ngbrCellsRef)
 
taf_radio_CellInfoRef_t taf_radio_GetNextNeighborCellInfo (taf_radio_NeighborCellsRef_t ngbrCellsRef)
 
uint64_t taf_radio_GetNeighborCellId (taf_radio_CellInfoRef_t ngbrCellInfoRef)
 
uint32_t taf_radio_GetNeighborCellLocAreaCode (taf_radio_CellInfoRef_t ngbrCellInfoRef)
 
int32_t taf_radio_GetNeighborCellRxLevel (taf_radio_CellInfoRef_t ngbrCellInfoRef)
 
taf_radio_Rat_t taf_radio_GetNeighborCellRat (taf_radio_CellInfoRef_t ngbrCellInfoRef)
 
uint16_t taf_radio_GetPhysicalNeighborLteCellId (taf_radio_CellInfoRef_t ngbrCellInfoRef)
 
uint32_t taf_radio_GetPhysicalNeighborNrCellId (taf_radio_CellInfoRef_t ngbrCellInfoRef)
 
le_result_t taf_radio_GetNeighborCellGsmBsic (taf_radio_CellInfoRef_t ngbrCellInfoRef, uint8_t *bsicPtr)
 
taf_radio_NetStatusRef_t taf_radio_GetNetStatus (uint8_t phoneId)
 
le_result_t taf_radio_GetRatSvcStatus (taf_radio_NetStatusRef_t netRef, taf_radio_RatSvcStatus_t *statusPtr)
 
le_result_t taf_radio_GetLteCsCap (taf_radio_NetStatusRef_t netRef, taf_radio_CsCap_t *capabilityPtr)
 
taf_radio_ImsRef_t taf_radio_GetIms (uint8_t phoneId)
 
le_result_t taf_radio_GetImsRegStatus (taf_radio_ImsRegStatus_t *statusPtr, uint8_t phoneId)
 
le_result_t taf_radio_GetImsSvcStatus (taf_radio_ImsRef_t imsRef, taf_radio_ImsSvcType_t service, taf_radio_ImsSvcStatus_t *statusPtr)
 
le_result_t taf_radio_GetImsPdpError (taf_radio_ImsRef_t imsRef, taf_radio_PdpError_t *errorPtr)
 
le_result_t taf_radio_SetImsSvcCfg (taf_radio_ImsRef_t imsRef, taf_radio_ImsSvcType_t service, bool enable)
 
le_result_t taf_radio_GetImsSvcCfg (taf_radio_ImsRef_t imsRef, taf_radio_ImsSvcType_t service, bool *enablePtr)
 
le_result_t taf_radio_SetImsUserAgent (taf_radio_ImsRef_t imsRef, const char *LE_NONNULL userAgent)
 
le_result_t taf_radio_GetImsUserAgent (taf_radio_ImsRef_t imsRef, char *userAgent, size_t userAgentSize)
 
le_result_t taf_radio_GetNrDualConnectivityStatus (taf_radio_NREndcAvailability_t *statusEndcPtr, taf_radio_NRDcnrRestriction_t *statusDcnrPtr, uint8_t phoneId)
 
le_result_t taf_radio_GetCurrentNetworkLongName (char *longNameStr, size_t longNameStrSize, uint8_t phoneId)
 
le_result_t taf_radio_GetHardwareSimConfig (uint8_t *totalSimCountPtr, uint8_t *maxActiveSimsPtr)
 
le_result_t taf_radio_GetHardwareSimRatCapabilities (taf_radio_RatBitMask_t *deviceRatCapMaskPtr, taf_radio_RatBitMask_t *simRatCapMaskPtr, uint8_t phoneId)
 
le_result_t taf_radio_SetSignalStrengthIndHysteresis (taf_radio_SigType_t sigType, uint16_t hysteresis, uint8_t phoneId)
 
le_result_t taf_radio_SetSignalStrengthIndHysteresisTimer (uint16_t hysteresisTimer, uint8_t phoneId)
 

Function Documentation

◆ taf_radio_GetServiceRef()

le_msg_ServiceRef_t taf_radio_GetServiceRef ( void  )

Get the server service reference

◆ taf_radio_GetClientSessionRef()

le_msg_SessionRef_t taf_radio_GetClientSessionRef ( void  )

Get the client session reference for the current message

◆ taf_radio_AdvertiseService()

void taf_radio_AdvertiseService ( void  )

Initialize the server and advertise the service.

◆ taf_radio_AddNetRegRejectHandler()

taf_radio_NetRegRejectHandlerRef_t taf_radio_AddNetRegRejectHandler ( taf_radio_NetRegRejectHandlerFunc_t  handlerPtr,
void *  contextPtr 
)

The preferred operator list reference. The preferred operator reference. The signal metrics reference. The network scan information list reference. The network scan information reference. The cell information reference. The neighbor cell reference. The PCI network scan information list reference. The PCI network scan information reference. The PLMN information reference. IMS reference. Network status reference. Radio Access Technology (RAT). RAT service status. Circuit-Switched capabilities. Network reject cause. Network registration state. Service domain state. Signal type enum. IMS registration status. IMS service type. IMS service status. PDP error enum. Operating mode enum. DCNR (Dual Connectivity with NR) Restriction status on 5G NR Cell Info change status RAT bitmask. 2G/3G band bit mask (64 bits) IMS indication bitmask. Network status indication bitmask. Network rejection indication structure. RAT change indication structure. Network registration state indication structure. Handler for manual selection. Handler for network registration rejection. Handler for RAT change. Handler for network registration state. Handler for packet switched state changes. Handler for signal strength change. Handler for IMS registration status change. Handler for network scan. Handler for PCI network scan. Handler for operating mode change. Handler for network status. Handler for IMS status change. Handler for cell info change. Reference type used by Add/Remove functions for EVENT 'taf_radio_NetRegReject' Reference type used by Add/Remove functions for EVENT 'taf_radio_RatChange' Reference type used by Add/Remove functions for EVENT 'taf_radio_NetRegStateEvent' Reference type used by Add/Remove functions for EVENT 'taf_radio_PacketSwitchedChange' Reference type used by Add/Remove functions for EVENT 'taf_radio_SignalStrengthChange' Reference type used by Add/Remove functions for EVENT 'taf_radio_ImsRegStatusChange' Reference type used by Add/Remove functions for EVENT 'taf_radio_OpModeChange' Reference type used by Add/Remove functions for EVENT 'taf_radio_NetStatusChange' Reference type used by Add/Remove functions for EVENT 'taf_radio_ImsStatusChange' Reference type used by Add/Remove functions for EVENT 'taf_radio_CellInfoChange' Add handler function for EVENT 'taf_radio_NetRegReject'

Event to report network registration rejection.

Add handler function for EVENT 'taf_radio_NetRegReject'

Event to report network registration rejection.

Parameters
[in]handlerPtrHandler for network registration rejection.
[in]contextPtr

◆ taf_radio_RemoveNetRegRejectHandler()

void taf_radio_RemoveNetRegRejectHandler ( taf_radio_NetRegRejectHandlerRef_t  handlerRef)

Remove handler function for EVENT 'taf_radio_NetRegReject'

Parameters
[in]handlerRef

◆ taf_radio_AddRatChangeHandler()

taf_radio_RatChangeHandlerRef_t taf_radio_AddRatChangeHandler ( taf_radio_RatChangeHandlerFunc_t  handlerPtr,
void *  contextPtr 
)

Add handler function for EVENT 'taf_radio_RatChange'

Event to report RAT change.

Parameters
[in]handlerPtrHandler for RAT change.
[in]contextPtr

◆ taf_radio_RemoveRatChangeHandler()

void taf_radio_RemoveRatChangeHandler ( taf_radio_RatChangeHandlerRef_t  handlerRef)

Remove handler function for EVENT 'taf_radio_RatChange'

Parameters
[in]handlerRef

◆ taf_radio_AddNetRegStateEventHandler()

taf_radio_NetRegStateEventHandlerRef_t taf_radio_AddNetRegStateEventHandler ( taf_radio_NetRegStateHandlerFunc_t  handlerPtr,
void *  contextPtr 
)

Add handler function for EVENT 'taf_radio_NetRegStateEvent'

Event to report network registration state.

Parameters
[in]handlerPtrHandler for network registration state.
[in]contextPtr

◆ taf_radio_RemoveNetRegStateEventHandler()

void taf_radio_RemoveNetRegStateEventHandler ( taf_radio_NetRegStateEventHandlerRef_t  handlerRef)

Remove handler function for EVENT 'taf_radio_NetRegStateEvent'

Parameters
[in]handlerRef

◆ taf_radio_AddPacketSwitchedChangeHandler()

taf_radio_PacketSwitchedChangeHandlerRef_t taf_radio_AddPacketSwitchedChangeHandler ( taf_radio_PacketSwitchedChangeHandlerFunc_t  handlerPtr,
void *  contextPtr 
)

Add handler function for EVENT 'taf_radio_PacketSwitchedChange'

Event to report packet switched state changes.

Parameters
[in]handlerPtrHandler for packet switched state changes.
[in]contextPtr

◆ taf_radio_RemovePacketSwitchedChangeHandler()

void taf_radio_RemovePacketSwitchedChangeHandler ( taf_radio_PacketSwitchedChangeHandlerRef_t  handlerRef)

Remove handler function for EVENT 'taf_radio_PacketSwitchedChange'

Parameters
[in]handlerRef

◆ taf_radio_AddSignalStrengthChangeHandler()

taf_radio_SignalStrengthChangeHandlerRef_t taf_radio_AddSignalStrengthChangeHandler ( taf_radio_Rat_t  rat,
taf_radio_SignalStrengthChangeHandlerFunc_t  handlerPtr,
void *  contextPtr 
)

Add handler function for EVENT 'taf_radio_SignalStrengthChange'

Event to report signal strength change.

Parameters
[in]ratRadio Access Technology.
[in]handlerPtrHandler for signal strength change.
[in]contextPtr

◆ taf_radio_RemoveSignalStrengthChangeHandler()

void taf_radio_RemoveSignalStrengthChangeHandler ( taf_radio_SignalStrengthChangeHandlerRef_t  handlerRef)

Remove handler function for EVENT 'taf_radio_SignalStrengthChange'

Parameters
[in]handlerRef

◆ taf_radio_AddImsRegStatusChangeHandler()

taf_radio_ImsRegStatusChangeHandlerRef_t taf_radio_AddImsRegStatusChangeHandler ( taf_radio_ImsRegStatusChangeHandlerFunc_t  handlerPtr,
void *  contextPtr 
)

Add handler function for EVENT 'taf_radio_ImsRegStatusChange'

Event to report IMS registration status.

Parameters
[in]handlerPtrHandler for IMS registration status change.
[in]contextPtr

◆ taf_radio_RemoveImsRegStatusChangeHandler()

void taf_radio_RemoveImsRegStatusChangeHandler ( taf_radio_ImsRegStatusChangeHandlerRef_t  handlerRef)

Remove handler function for EVENT 'taf_radio_ImsRegStatusChange'

Parameters
[in]handlerRef

◆ taf_radio_AddOpModeChangeHandler()

taf_radio_OpModeChangeHandlerRef_t taf_radio_AddOpModeChangeHandler ( taf_radio_OpModeChangeHandlerFunc_t  handlerPtr,
void *  contextPtr 
)

Add handler function for EVENT 'taf_radio_OpModeChange'

Event to report operating mode changes.

Parameters
[in]handlerPtrHandler for operating mode changes.
[in]contextPtr

◆ taf_radio_RemoveOpModeChangeHandler()

void taf_radio_RemoveOpModeChangeHandler ( taf_radio_OpModeChangeHandlerRef_t  handlerRef)

Remove handler function for EVENT 'taf_radio_OpModeChange'

Parameters
[in]handlerRef

◆ taf_radio_AddNetStatusChangeHandler()

taf_radio_NetStatusChangeHandlerRef_t taf_radio_AddNetStatusChangeHandler ( taf_radio_NetStatusHandlerFunc_t  handlerPtr,
void *  contextPtr 
)

Add handler function for EVENT 'taf_radio_NetStatusChange'

Event to report network status changes.

Parameters
[in]handlerPtrHandler for network status changes.
[in]contextPtr

◆ taf_radio_RemoveNetStatusChangeHandler()

void taf_radio_RemoveNetStatusChangeHandler ( taf_radio_NetStatusChangeHandlerRef_t  handlerRef)

Remove handler function for EVENT 'taf_radio_NetStatusChange'

Parameters
[in]handlerRef

◆ taf_radio_AddImsStatusChangeHandler()

taf_radio_ImsStatusChangeHandlerRef_t taf_radio_AddImsStatusChangeHandler ( taf_radio_ImsStatusChangeHandlerFunc_t  handlerPtr,
void *  contextPtr 
)

Add handler function for EVENT 'taf_radio_ImsStatusChange'

Event to report IMS status.

Parameters
[in]handlerPtrHandler for IMS status change.
[in]contextPtr

◆ taf_radio_RemoveImsStatusChangeHandler()

void taf_radio_RemoveImsStatusChangeHandler ( taf_radio_ImsStatusChangeHandlerRef_t  handlerRef)

Remove handler function for EVENT 'taf_radio_ImsStatusChange'

Parameters
[in]handlerRef

◆ taf_radio_AddCellInfoChangeHandler()

taf_radio_CellInfoChangeHandlerRef_t taf_radio_AddCellInfoChangeHandler ( taf_radio_CellInfoChangeHandlerFunc_t  handlerPtr,
void *  contextPtr 
)

Add handler function for EVENT 'taf_radio_CellInfoChange'

Event to report cell info change.

Parameters
[in]handlerPtrHandler for registered cell info change.
[in]contextPtr

◆ taf_radio_RemoveCellInfoChangeHandler()

void taf_radio_RemoveCellInfoChangeHandler ( taf_radio_CellInfoChangeHandlerRef_t  handlerRef)

Remove handler function for EVENT 'taf_radio_CellInfoChange'

Parameters
[in]handlerRef

◆ taf_radio_SetRadioPower()

le_result_t taf_radio_SetRadioPower ( le_onoff_t  power,
uint8_t  phoneId 
)

Sets the radio power state.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[in]powerPower state.
[in]phoneIdPhone ID.

◆ taf_radio_GetRadioPower()

le_result_t taf_radio_GetRadioPower ( le_onoff_t powerPtr,
uint8_t  phoneId 
)

Gets the radio power state.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]powerPtrPower state.
[in]phoneIdPhone ID.

◆ taf_radio_SetAutomaticRegisterMode()

le_result_t taf_radio_SetAutomaticRegisterMode ( uint8_t  phoneId)

Registers to network using automatic mode.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_TIMEOUT – Response time out.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_SetManualRegisterMode()

le_result_t taf_radio_SetManualRegisterMode ( const char *LE_NONNULL  mcc,
const char *LE_NONNULL  mnc,
uint8_t  phoneId 
)

Registers to network using manual mode.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_TIMEOUT – Response time out.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[in]mccMCC.
[in]mncMNC.
[in]phoneIdPhone ID.

◆ taf_radio_SetManualRegisterModeAsync()

void taf_radio_SetManualRegisterModeAsync ( const char *LE_NONNULL  mcc,
const char *LE_NONNULL  mnc,
taf_radio_ManualSelectionHandlerFunc_t  handlerPtr,
void *  contextPtr,
uint8_t  phoneId 
)

Registers to network asynchronously using manual mode.

Parameters
[in]mccMCC.
[in]mncMNC.
[in]handlerPtrHandler for manual selection.
[in]contextPtr
[in]phoneIdPhone ID.

◆ taf_radio_GetRegisterMode()

le_result_t taf_radio_GetRegisterMode ( bool *  isManualPtrPtr,
char *  mccPtr,
size_t  mccPtrSize,
char *  mncPtr,
size_t  mncPtrSize,
uint8_t  phoneId 
)

Gets the network registration mode.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_TIMEOUT – Response time out.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]isManualPtrPtrTrue if manual, false if automatic.
[out]mccPtrMCC.
[in]mccPtrSize
[out]mncPtrMNC.
[in]mncPtrSize
[in]phoneIdPhone ID.

◆ taf_radio_GetPlatformSpecificRegistrationErrorCode()

int32_t taf_radio_GetPlatformSpecificRegistrationErrorCode ( void  )

Gets platform-specific network registration error code.

Returns
Platform-specific network registration error code.

◆ taf_radio_GetBandCapabilities()

le_result_t taf_radio_GetBandCapabilities ( taf_radio_BandBitMask_t bandMaskPtrPtr,
uint8_t  phoneId 
)

Gets 2G/3G band capabilities.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]bandMaskPtrPtr2G/3G band capabilities.
[in]phoneIdPhone ID.

◆ taf_radio_GetLteBandCapabilities()

le_result_t taf_radio_GetLteBandCapabilities ( uint64_t *  bandMaskPtrPtr,
size_t *  bandMaskPtrSizePtr,
uint8_t  phoneId 
)

Gets LTE band capabilities.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]bandMaskPtrPtrLTE band capabilities.
[in,out]bandMaskPtrSizePtr
[in]phoneIdPhone ID.

◆ taf_radio_SetBandPreferences()

le_result_t taf_radio_SetBandPreferences ( taf_radio_BandBitMask_t  bandMask,
uint8_t  phoneId 
)

Sets 2G/3G band preferences.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[in]bandMask2G/3G band preferences.
[in]phoneIdPhone ID.

◆ taf_radio_GetBandPreferences()

le_result_t taf_radio_GetBandPreferences ( taf_radio_BandBitMask_t bandMaskPtrPtr,
uint8_t  phoneId 
)

Gets 2G/3G band preferences.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]bandMaskPtrPtr2G/3G band preferences.
[in]phoneIdPhone ID.

◆ taf_radio_SetLteBandPreferences()

le_result_t taf_radio_SetLteBandPreferences ( const uint64_t *  bandMaskPtr,
size_t  bandMaskSize,
uint8_t  phoneId 
)

Sets LTE band preferences.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[in]bandMaskPtrLTE band preferences.
[in]bandMaskSize
[in]phoneIdPhone ID.

◆ taf_radio_GetLteBandPreferences()

le_result_t taf_radio_GetLteBandPreferences ( uint64_t *  bandMaskPtr,
size_t *  bandMaskSizePtr,
uint8_t  phoneId 
)

Gets LTE band preferences.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]bandMaskPtrLTE band preferences.
[in,out]bandMaskSizePtr
[in]phoneIdPhone ID.

◆ taf_radio_AddPreferredOperator()

le_result_t taf_radio_AddPreferredOperator ( const char *LE_NONNULL  mcc,
const char *LE_NONNULL  mnc,
taf_radio_RatBitMask_t  ratMask,
uint8_t  phoneId 
)

Adds a preferred operator.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_TIMEOUT – Response timed out.
  • LE_DUPLICATE – Duplicate preferred operator.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[in]mccMCC.
[in]mncMNC.
[in]ratMaskRAT bitmask, applicable for GSM/UMTS/LTE/NR5G.
[in]phoneIdPhone ID.

◆ taf_radio_RemovePreferredOperator()

le_result_t taf_radio_RemovePreferredOperator ( const char *LE_NONNULL  mcc,
const char *LE_NONNULL  mnc,
uint8_t  phoneId 
)

Removes a preferred operator.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_TIMEOUT – Response timed out.
  • LE_NOT_FOUND – Preferred operator not found.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[in]mccMCC.
[in]mncMNC.
[in]phoneIdPhone ID.

◆ taf_radio_DeletePreferredOperatorsList()

le_result_t taf_radio_DeletePreferredOperatorsList ( taf_radio_PreferredOperatorListRef_t  preferredOperatorListRef)

Deletes the preferred operators list.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Preferred operator not found.
  • LE_OK – Succeeded.
Parameters
[in]preferredOperatorListRefThe preferred operators list reference.

◆ taf_radio_GetPreferredOperatorsList()

taf_radio_PreferredOperatorListRef_t taf_radio_GetPreferredOperatorsList ( uint8_t  phoneId)

Creates a preferred operators list.

Returns
  • Non-null pointer – The preferred operators list reference.
  • Null pointer – Internal error or no preferred operators list.
Note
At most 1 preferred operator list per slot.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetFirstPreferredOperator()

taf_radio_PreferredOperatorRef_t taf_radio_GetFirstPreferredOperator ( taf_radio_PreferredOperatorListRef_t  preferredOperatorListRef)

Gets the first preferred operator.

Returns
  • Non-null pointer – The first preferred operator reference.
  • Null pointer – Internal error or empty list.
Parameters
[in]preferredOperatorListRefThe preferred operators list reference.

◆ taf_radio_GetNextPreferredOperator()

taf_radio_PreferredOperatorRef_t taf_radio_GetNextPreferredOperator ( taf_radio_PreferredOperatorListRef_t  preferredOperatorListRef)

Gets the next preferred operator based on the current position in the list.

Returns
  • Non-null pointer – The next preferred operator reference.
  • Null pointer – Internal error or empty list.
Parameters
[in]preferredOperatorListRefThe preferred operators list reference.

◆ taf_radio_GetPreferredOperatorDetails()

le_result_t taf_radio_GetPreferredOperatorDetails ( taf_radio_PreferredOperatorRef_t  preferredOperatorRef,
char *  mccPtr,
size_t  mccPtrSize,
char *  mncPtr,
size_t  mncPtrSize,
taf_radio_RatBitMask_t ratMaskPtr 
)

Gets the details of the given preferred operator.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Preferred operator not found.
  • LE_OK – Succeeded.
Parameters
[in]preferredOperatorRefThe preferred operator reference.
[out]mccPtrMCC.
[in]mccPtrSize
[out]mncPtrMNC.
[in]mncPtrSize
[out]ratMaskPtrRAT bitmask.

◆ taf_radio_GetRadioAccessTechInUse()

le_result_t taf_radio_GetRadioAccessTechInUse ( taf_radio_Rat_t ratPtr,
uint8_t  phoneId 
)

Gets the RAT in use.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_TIMEOUT – Response timed out.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]ratPtrRAT in use.
[in]phoneIdPhone ID.

◆ taf_radio_SetRatPreferences()

le_result_t taf_radio_SetRatPreferences ( taf_radio_RatBitMask_t  ratMask,
uint8_t  phoneId 
)

Sets the RAT preferences.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[in]ratMaskBitmask for RAT prefences.
[in]phoneIdPhone ID.

◆ taf_radio_GetRatPreferences()

le_result_t taf_radio_GetRatPreferences ( taf_radio_RatBitMask_t ratMaskPtrPtr,
uint8_t  phoneId 
)

Gets the RAT preferences.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_TIMEOUT – Response timed out.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]ratMaskPtrPtrBitmask for RAT prefences.
[in]phoneIdPhone ID.

◆ taf_radio_GetNetRegState()

le_result_t taf_radio_GetNetRegState ( taf_radio_NetRegState_t statePtr,
uint8_t  phoneId 
)

Gets the network registration state.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_TIMEOUT – Response timed out.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]statePtrNetwork registration state.
[in]phoneIdPhone ID.

◆ taf_radio_GetPacketSwitchedState()

le_result_t taf_radio_GetPacketSwitchedState ( taf_radio_NetRegState_t statePtr,
uint8_t  phoneId 
)

Gets the packet switch state.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_TIMEOUT – Response timed out.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]statePtrPacket switch state.
[in]phoneIdPhone ID.

◆ taf_radio_SetSignalStrengthIndThresholds()

le_result_t taf_radio_SetSignalStrengthIndThresholds ( taf_radio_SigType_t  sigType,
int32_t  lowerRangeThreshold,
int32_t  upperRangeThreshold,
uint8_t  phoneId 
)

Sets signal strength indication thresholds.

Returns
  • LE_OK – Succeeded.
  • LE_BAD_PARAMETER – Bad parameters
  • LE_FAULT – Failed.
Parameters
[in]sigTypeSignal type.
[in]lowerRangeThresholdLower range threshold in 0.1 dBm.
[in]upperRangeThresholdUpper range threshold in 0.1 dBm.
[in]phoneIdPhone ID.

◆ taf_radio_SetSignalStrengthIndDelta()

le_result_t taf_radio_SetSignalStrengthIndDelta ( taf_radio_SigType_t  sigType,
uint16_t  delta,
uint8_t  phoneId 
)

Sets signal strength indication delta.

Returns
  • LE_OK – Succeeded.
  • LE_BAD_PARAMETER – Bad parameters
  • LE_FAULT – Failed.
Parameters
[in]sigTypeSignal type.
[in]deltaDelta in uints of 0.1 dBm
[in]phoneIdPhone ID.

◆ taf_radio_GetSignalQual()

le_result_t taf_radio_GetSignalQual ( uint32_t *  qualityPtr,
uint8_t  phoneId 
)

Gets the signal quality.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_TIMEOUT – Response timed out.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]qualityPtrSignal qulity level, ranges from 1 to 5, 0 is unknown.
[in]phoneIdPhone ID.

◆ taf_radio_MeasureSignalMetrics()

taf_radio_MetricsRef_t taf_radio_MeasureSignalMetrics ( uint8_t  phoneId)

Creates signal metrics.

Returns
  • Non-null pointer – The signal metrics reference.
  • Null pointer – Internal error.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_DeleteSignalMetrics()

le_result_t taf_radio_DeleteSignalMetrics ( taf_radio_MetricsRef_t  MetricsRef)

Deletes signal metrics.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Preferred operator not found.
  • LE_OK – Succeeded.
Parameters
[in]MetricsRefThe signal metrics reference.

◆ taf_radio_GetRatOfSignalMetrics()

taf_radio_RatBitMask_t taf_radio_GetRatOfSignalMetrics ( taf_radio_MetricsRef_t  MetricsRef)

Gets RAT bitmask of signal metrics.

Returns
  • taf_radio_RatBitMask_t – RAT bitmask of signal metrics.
Parameters
[in]MetricsRefThe signal metrics reference.

◆ taf_radio_GetGsmSignalMetrics()

le_result_t taf_radio_GetGsmSignalMetrics ( taf_radio_MetricsRef_t  MetricsRef,
int32_t *  rssiPtr,
uint32_t *  berPtr 
)

Gets GSM signal metrics.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Reference not found.
  • LE_UNAVAILABLE – GSM unavailable.
  • LE_OK – Succeeded.
Parameters
[in]MetricsRefThe signal metrics reference.
[out]rssiPtrReceived signal strength indicator in dBm.
[out]berPtrBit error rate, valid from 0 to 7.

◆ taf_radio_GetUmtsSignalMetrics()

le_result_t taf_radio_GetUmtsSignalMetrics ( taf_radio_MetricsRef_t  MetricsRef,
int32_t *  ssPtr,
uint32_t *  berPtr,
int32_t *  rscpPtr 
)

Gets UMTS signal metrics.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Reference not found.
  • LE_UNAVAILABLE – UMTS unavailable.
  • LE_OK – Succeeded.
Parameters
[in]MetricsRefThe signal metrics reference.
[out]ssPtrSignal strength in dBm.
[out]berPtrWCDMA bit error rate, valid from 0 to 7, 0x7FFFFFFF is unavailable.
[out]rscpPtrReceive signal channel power in dBm.

◆ taf_radio_GetLteSignalMetrics()

le_result_t taf_radio_GetLteSignalMetrics ( taf_radio_MetricsRef_t  MetricsRef,
int32_t *  ssPtr,
int32_t *  rsrqPtr,
int32_t *  rsrpPtr,
int32_t *  snrPtr 
)

Gets LTE signal metrics.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Reference not found.
  • LE_UNAVAILABLE – LTE unavailable.
  • LE_OK – Succeeded.
Parameters
[in]MetricsRefThe signal metrics reference.
[out]ssPtrSignal strength in dBm.
[out]rsrqPtrReference signal receive quality in dB.
[out]rsrpPtrReference signal receive power in dBm.
[out]snrPtrSignal-to-noise ratio in units of 0.1 dB.

◆ taf_radio_GetCdmaSignalMetrics()

le_result_t taf_radio_GetCdmaSignalMetrics ( taf_radio_MetricsRef_t  MetricsRef,
int32_t *  ssPtr,
int32_t *  ecioPtr,
int32_t *  snrPtr,
int32_t *  ioPtr 
)

Gets CDMA signal metrics.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Reference not found.
  • LE_UNAVAILABLE – CDMA unavailable.
  • LE_OK – Succeeded.
Parameters
[in]MetricsRefThe signal metrics reference.
[out]ssPtrSignal strength in dBm.
[out]ecioPtrCDMA Ec/Io in dB.
[out]snrPtrEVDO signal-to-noise ratio in dB.
[out]ioPtrEVDO Ec/Io in dB.

◆ taf_radio_GetNr5gSignalMetrics()

le_result_t taf_radio_GetNr5gSignalMetrics ( taf_radio_MetricsRef_t  MetricsRef,
int32_t *  rsrqPtr,
int32_t *  rsrpPtr,
int32_t *  snrPtr 
)

Gets NR5G signal metrics.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Reference not found.
  • LE_OK – Succeeded.
Parameters
[in]MetricsRefThe signal metrics reference.
[out]rsrqPtrReference Signal Receive Quality in dB.
[out]rsrpPtrReference Signal Receive Power in dBm.
[out]snrPtrSignal-to-Noise Ratio in units of 0.1 dB.

◆ taf_radio_GetServingCellId()

uint32_t taf_radio_GetServingCellId ( uint8_t  phoneId)

Gets cell ID.

Returns
  • UINT32_MAX – Internal error.
  • Others – Cell ID.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetServingNrCellId()

uint64_t taf_radio_GetServingNrCellId ( uint8_t  phoneId)

Gets NR cell ID.

Returns
  • UINT64_MAX – Internal error.
  • Others – Cell ID.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetServingCellLocAreaCode()

uint32_t taf_radio_GetServingCellLocAreaCode ( uint8_t  phoneId)

Gets the location area code.

Returns
  • UINT32_MAX – Internal error.
  • Others – Location area code.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetServingCellLteTracAreaCode()

uint16_t taf_radio_GetServingCellLteTracAreaCode ( uint8_t  phoneId)

Gets the LTE tracking area code.

Returns
  • UINT16_MAX – Internal error.
  • Others – LTE tracking area code.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetServingCellNrTracAreaCode()

int32_t taf_radio_GetServingCellNrTracAreaCode ( uint8_t  phoneId)

Gets the NR tracking area code.

Returns
  • INT32_MAX – Internal error.
  • Others – NR tracking area code.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetServingCellEarfcn()

uint32_t taf_radio_GetServingCellEarfcn ( uint8_t  phoneId)

Gets E-UTRA absolute radio frequency channel number.

Returns
  • UINT16_MAX – Internal error.
  • Others – E-UTRA absolute radio frequency channel number.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetServingCellNrArfcn()

int32_t taf_radio_GetServingCellNrArfcn ( uint8_t  phoneId)

Gets NR absolute radio frequency channel number.

Returns
  • INT32_MAX – Internal error.
  • Others – Absolute radio frequency channel number.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetServingCellTimingAdvance()

uint32_t taf_radio_GetServingCellTimingAdvance ( uint8_t  phoneId)

Gets timing advance.

Returns
  • UINT32_MAX – Internal error.
  • Others – Timing advance.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetPhysicalServingLteCellId()

uint16_t taf_radio_GetPhysicalServingLteCellId ( uint8_t  phoneId)

Gets physical LTE cell ID.

Returns
  • UINT16_MAX – Internal error.
  • Others – Physical LTE cell ID.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetPhysicalServingNrCellId()

uint32_t taf_radio_GetPhysicalServingNrCellId ( uint8_t  phoneId)

Gets physical NR5G cell ID.

Returns
  • UINT32_MAX – Internal error.
  • Others – Physical NR5G cell ID.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetServingCellGsmBsic()

le_result_t taf_radio_GetServingCellGsmBsic ( uint8_t *  bsicPtr,
uint8_t  phoneId 
)

Gets the GSM base station identity code.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_TIMEOUT – Response time out.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]bsicPtrGSM base station identity code.
[in]phoneIdPhone ID.

◆ taf_radio_GetServingCellScramblingCode()

uint16_t taf_radio_GetServingCellScramblingCode ( uint8_t  phoneId)

Gets the primary scrambling code.

Returns
  • UINT16_MAX – Internal error.
  • Others – Primary scrambling code.
Note
Only applicable for WCDMA.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetCurrentNetworkName()

le_result_t taf_radio_GetCurrentNetworkName ( char *  nameStr,
size_t  nameStrSize,
uint8_t  phoneId 
)

Gets the current network's short name.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_TIMEOUT – Time out.
  • LE_OK – Succeeded.
Parameters
[out]nameStrCurrent network's short name.
[in]nameStrSize
[in]phoneIdPhone ID.

◆ taf_radio_GetCurrentNetworkMccMnc()

le_result_t taf_radio_GetCurrentNetworkMccMnc ( char *  mccStr,
size_t  mccStrSize,
char *  mncStr,
size_t  mncStrSize,
uint8_t  phoneId 
)

Gets the current MCC and MNC.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
Parameters
[out]mccStrMCC.
[in]mccStrSize
[out]mncStrMNC.
[in]mncStrSize
[in]phoneIdPhone ID.

◆ taf_radio_PerformCellularNetworkScan()

taf_radio_ScanInformationListRef_t taf_radio_PerformCellularNetworkScan ( uint8_t  phoneId)

Performs celluar network scan and gets the network scan information list reference.

Returns
  • Non-null pointer – The network scan information list reference.
  • Null pointer – Internal error.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_PerformCellularNetworkScanAsync()

void taf_radio_PerformCellularNetworkScanAsync ( taf_radio_CellularNetworkScanHandlerFunc_t  handlerPtr,
void *  contextPtr,
uint8_t  phoneId 
)

Asynchronously performs a celluar network scan.

Parameters
[in]handlerPtrHandler for network scan.
[in]contextPtr
[in]phoneIdPhone ID.

◆ taf_radio_GetFirstCellularNetworkScan()

taf_radio_ScanInformationRef_t taf_radio_GetFirstCellularNetworkScan ( taf_radio_ScanInformationListRef_t  scanInformationListRef)

Gets the reference of the first operator in the network scan information list.

Returns
  • Non-null pointer – The reference of the first operator in the network scan list.
  • Null pointer – Internal error.
Parameters
[in]scanInformationListRefThe network scan information list reference.

◆ taf_radio_GetNextCellularNetworkScan()

taf_radio_ScanInformationRef_t taf_radio_GetNextCellularNetworkScan ( taf_radio_ScanInformationListRef_t  scanInformationListRef)

Gets the reference of the next operator based on the current position in the network scan information list.

Returns
  • Non-null pointer – The reference to the next operator in the network scan list.
  • Null pointer – Internal error or the end of the list.
Parameters
[in]scanInformationListRefThe network scan information list reference.

◆ taf_radio_DeleteCellularNetworkScan()

le_result_t taf_radio_DeleteCellularNetworkScan ( taf_radio_ScanInformationListRef_t  scanInformationListRef)

Deletes the network scan information list reference.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Reference not found.
  • LE_OK – Succeeded.
Parameters
[in]scanInformationListRefThe network scan information list reference.

◆ taf_radio_GetCellularNetworkMccMnc()

le_result_t taf_radio_GetCellularNetworkMccMnc ( taf_radio_ScanInformationRef_t  scanInformationRef,
char *  mccPtr,
size_t  mccPtrSize,
char *  mncPtr,
size_t  mncPtrSize 
)

Gets MCC and MNC of a network scan operator.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Reference not found.
  • LE_OK – Succeeded.
Parameters
[in]scanInformationRefThe scan information list reference.
[out]mccPtrMCC.
[in]mccPtrSize
[out]mncPtrMNC.
[in]mncPtrSize

◆ taf_radio_GetCellularNetworkName()

le_result_t taf_radio_GetCellularNetworkName ( taf_radio_ScanInformationRef_t  scanInformationRef,
char *  namePtr,
size_t  namePtrSize 
)

Gets the network name of a network scan operator.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Reference not found.
  • LE_OK – Succeeded.
Parameters
[in]scanInformationRefThe scan information list reference.
[out]namePtrNetwork name.
[in]namePtrSize

◆ taf_radio_GetCellularNetworkRat()

taf_radio_Rat_t taf_radio_GetCellularNetworkRat ( taf_radio_ScanInformationRef_t  scanInformationRef)

Gets Radio Access Technology of a network scan operator.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Reference not found.
  • LE_OK – Succeeded.
Parameters
[in]scanInformationRefThe scan information list reference.

◆ taf_radio_IsCellularNetworkInUse()

bool taf_radio_IsCellularNetworkInUse ( taf_radio_ScanInformationRef_t  scanInformationRef)

Checks if a scan operator's network is in use.

Returns
  • True – Network is in use.
  • False – Invalid reference or network is not in use.
Parameters
[in]scanInformationRefThe network scan operator reference.

◆ taf_radio_IsCellularNetworkAvailable()

bool taf_radio_IsCellularNetworkAvailable ( taf_radio_ScanInformationRef_t  scanInformationRef)

Checks if the scan operator's network is available.

Returns
  • True – Network is available.
  • False – Invalid reference or network is available.
Parameters
[in]scanInformationRefThe network scan operator reference.

◆ taf_radio_IsCellularNetworkHome()

bool taf_radio_IsCellularNetworkHome ( taf_radio_ScanInformationRef_t  scanInformationRef)

Checks if scan operator is home network.

Returns
  • True – It is home network.
  • False – Invalid reference or it is not home network.
Parameters
[in]scanInformationRefThe network scan operator reference.

◆ taf_radio_IsCellularNetworkForbidden()

bool taf_radio_IsCellularNetworkForbidden ( taf_radio_ScanInformationRef_t  scanInformationRef)

Checks if scan operator's network is forbidden.

Returns
  • True – Network is forbidden.
  • False – Invalid reference or network is forbidden.
Parameters
[in]scanInformationRefThe network scan operator reference.

◆ taf_radio_PerformPciNetworkScan()

taf_radio_PciScanInformationListRef_t taf_radio_PerformPciNetworkScan ( taf_radio_RatBitMask_t  ratMask,
uint8_t  phoneId 
)

Performs celluar network scan with Physical Cell ID.

Returns
  • Non-null pointer – The PCI network scan information list reference.
  • Null pointer – Internal error.
Parameters
[in]ratMaskRadio Access Technology bitmask.
[in]phoneIdPhone ID.

◆ taf_radio_PerformPciNetworkScanAsync()

void taf_radio_PerformPciNetworkScanAsync ( taf_radio_RatBitMask_t  ratMask,
taf_radio_PciNetworkScanHandlerFunc_t  handlerPtr,
void *  contextPtr,
uint8_t  phoneId 
)

Asynchronously performs celluar network scan with physical cell ID.

Parameters
[in]ratMaskRadio Access Technology bitmask.
[in]handlerPtrHandler for PCI network scan.
[in]contextPtr
[in]phoneIdPhone ID.

◆ taf_radio_GetFirstPciScanInfo()

taf_radio_PciScanInformationRef_t taf_radio_GetFirstPciScanInfo ( taf_radio_PciScanInformationListRef_t  scanInformationListRef)

Gets the first reference in the PCI network scan information list.

Returns
  • Non-null pointer – The reference of the first PCI network scan information in the list.
  • Null pointer – Internal error.
Parameters
[in]scanInformationListRefPCI network scan information list reference.

◆ taf_radio_GetNextPciScanInfo()

taf_radio_PciScanInformationRef_t taf_radio_GetNextPciScanInfo ( taf_radio_PciScanInformationListRef_t  scanInformationListRef)

Gets the next reference in the PCI network scan information list.

Returns
  • Non-null pointer – The reference of the next PCI network scan information in the list.
  • Null pointer – Internal error.
Parameters
[in]scanInformationListRefPCI network scan information list reference.

◆ taf_radio_DeletePciNetworkScan()

le_result_t taf_radio_DeletePciNetworkScan ( taf_radio_PciScanInformationListRef_t  scanInformationListRef)

Deletes the PCI network scan information list reference.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Reference not found.
  • LE_OK – Succeeded.
Parameters
[in]scanInformationListRefPCI network scan information list reference.

◆ taf_radio_GetFirstPlmnInfo()

taf_radio_PlmnInformationRef_t taf_radio_GetFirstPlmnInfo ( taf_radio_PciScanInformationRef_t  pciScanInformationRef)

Gets the first reference of PLMN info of PCI network scan information.

Returns
  • Non-null pointer – The reference of the first PLMN information.
  • Null pointer – Internal error.
Parameters
[in]pciScanInformationRefPCI network scan information reference.

◆ taf_radio_GetNextPlmnInfo()

taf_radio_PlmnInformationRef_t taf_radio_GetNextPlmnInfo ( taf_radio_PciScanInformationRef_t  pciScanInformationRef)

Gets the next reference of PLMN info of PCI network scan information.

Returns
  • Non-null pointer – The reference of the next PLMN information.
  • Null pointer – Internal error.
Parameters
[in]pciScanInformationRefPCI network scan information reference.

◆ taf_radio_GetPciScanCellId()

uint16_t taf_radio_GetPciScanCellId ( taf_radio_PciScanInformationRef_t  pciScanInformationRef)

Gets the cell ID of PCI network scan information.

Returns
Cell ID.
Parameters
[in]pciScanInformationRefPCI network scan information reference.

◆ taf_radio_GetPciScanGlobalCellId()

uint32_t taf_radio_GetPciScanGlobalCellId ( taf_radio_PciScanInformationRef_t  pciScanInformationRef)

Gets the global cell ID of PCI network scan information.

Returns
Global Cell ID.
Parameters
[in]pciScanInformationRefPCI network scan information reference.

◆ taf_radio_GetPciScanMccMnc()

le_result_t taf_radio_GetPciScanMccMnc ( taf_radio_PlmnInformationRef_t  plmnRef,
char *  mccPtr,
size_t  mccPtrSize,
char *  mncPtr,
size_t  mncPtrSize 
)

Gets PLMN network MCC and MNC of PCI network scan information.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_OK – Succeeded.
Parameters
[in]plmnRefPLMN information reference.
[out]mccPtrMCC.
[in]mccPtrSize
[out]mncPtrMNC.
[in]mncPtrSize

◆ taf_radio_GetNeighborCellsInfo()

taf_radio_NeighborCellsRef_t taf_radio_GetNeighborCellsInfo ( uint8_t  phoneId)

Gets neighbor cells information.

Returns
  • Non-null pointer – The signal metrics reference.
  • Null pointer – Internal error.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_DeleteNeighborCellsInfo()

le_result_t taf_radio_DeleteNeighborCellsInfo ( taf_radio_NeighborCellsRef_t  ngbrCellsRef)

Deletes neighbor cells information.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Neighbor cells reference not found.
  • LE_OK – Succeeded.
Parameters
[in]ngbrCellsRefNeighbor cells reference.

◆ taf_radio_GetFirstNeighborCellInfo()

taf_radio_CellInfoRef_t taf_radio_GetFirstNeighborCellInfo ( taf_radio_NeighborCellsRef_t  ngbrCellsRef)

Gets the first neighbor cell information.

Returns
  • Non-null pointer – The first neighbor cell information reference.
  • Null pointer – Internal error.
Parameters
[in]ngbrCellsRefNeighbor cells reference.

◆ taf_radio_GetNextNeighborCellInfo()

taf_radio_CellInfoRef_t taf_radio_GetNextNeighborCellInfo ( taf_radio_NeighborCellsRef_t  ngbrCellsRef)

Gets the next neighbor cell information.

Returns
  • Non-null pointer – The next neighbor cell information reference.
  • Null pointer – Internal error.
Parameters
[in]ngbrCellsRefNeighbor cells reference.

◆ taf_radio_GetNeighborCellId()

uint64_t taf_radio_GetNeighborCellId ( taf_radio_CellInfoRef_t  ngbrCellInfoRef)

Gets neighbor Cell ID.

Returns
Cell ID
Parameters
[in]ngbrCellInfoRefCell information reference.

◆ taf_radio_GetNeighborCellLocAreaCode()

uint32_t taf_radio_GetNeighborCellLocAreaCode ( taf_radio_CellInfoRef_t  ngbrCellInfoRef)

Gets Location Area Code of neighbor cell.

Returns
Location Area Code.
Parameters
[in]ngbrCellInfoRefNeighboring cell information reference.

◆ taf_radio_GetNeighborCellRxLevel()

int32_t taf_radio_GetNeighborCellRxLevel ( taf_radio_CellInfoRef_t  ngbrCellInfoRef)

Gets signal strength of neighbor cell.

Returns
signal strength in dBm.
Parameters
[in]ngbrCellInfoRefNeighbor cell information reference.

◆ taf_radio_GetNeighborCellRat()

taf_radio_Rat_t taf_radio_GetNeighborCellRat ( taf_radio_CellInfoRef_t  ngbrCellInfoRef)

Gets Radio Access Technology of neighbor cell.

Returns
Radio Access Technology.
Parameters
[in]ngbrCellInfoRefNeighbor cell information reference.

◆ taf_radio_GetPhysicalNeighborLteCellId()

uint16_t taf_radio_GetPhysicalNeighborLteCellId ( taf_radio_CellInfoRef_t  ngbrCellInfoRef)

Gets Physical Cell ID of neighbor LTE cell.

Returns
Physical Cell ID, valid from 0 to 503.
Parameters
[in]ngbrCellInfoRefNeighbor cell information reference

◆ taf_radio_GetPhysicalNeighborNrCellId()

uint32_t taf_radio_GetPhysicalNeighborNrCellId ( taf_radio_CellInfoRef_t  ngbrCellInfoRef)

Gets Physical Cell ID of neighbor NR5G cell.

Returns
Physical Cell ID.
Parameters
[in]ngbrCellInfoRefNeighbor cell information reference

◆ taf_radio_GetNeighborCellGsmBsic()

le_result_t taf_radio_GetNeighborCellGsmBsic ( taf_radio_CellInfoRef_t  ngbrCellInfoRef,
uint8_t *  bsicPtr 
)

Gets Base Station Identity Code of neighbor GSM cell.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_NOT_FOUND – Neighbor cells reference not found.
  • LE_OK – Succeeded.
Parameters
[in]ngbrCellInfoRefNeighbor cell information reference
[out]bsicPtrBase Station Identity Code

◆ taf_radio_GetNetStatus()

taf_radio_NetStatusRef_t taf_radio_GetNetStatus ( uint8_t  phoneId)

Gets the network status reference.

Returns
  • Non-null pointer – Network status reference.
  • Null pointer – Internal error.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetRatSvcStatus()

le_result_t taf_radio_GetRatSvcStatus ( taf_radio_NetStatusRef_t  netRef,
taf_radio_RatSvcStatus_t statusPtr 
)

Gets the RAT service status.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_TIMEOUT – Time out.
Parameters
[in]netRefNetwork status reference.
[out]statusPtrRAT service status.

◆ taf_radio_GetLteCsCap()

le_result_t taf_radio_GetLteCsCap ( taf_radio_NetStatusRef_t  netRef,
taf_radio_CsCap_t capabilityPtr 
)

Gets the CS capabilitiy of LTE network.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_TIMEOUT – Time out.
Parameters
[in]netRefNetwork status reference.
[out]capabilityPtrCS capabilitiy of LTE network.

◆ taf_radio_GetIms()

taf_radio_ImsRef_t taf_radio_GetIms ( uint8_t  phoneId)

Gets the IMS reference.

Returns
  • Non-null pointer – IMS reference.
  • Null pointer – Internal error.
Parameters
[in]phoneIdPhone ID.

◆ taf_radio_GetImsRegStatus()

le_result_t taf_radio_GetImsRegStatus ( taf_radio_ImsRegStatus_t statusPtr,
uint8_t  phoneId 
)

Gets the IMS registration status.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_TIMEOUT – Time out.
Parameters
[out]statusPtrIMS registration status.
[in]phoneIdPhone ID.

◆ taf_radio_GetImsSvcStatus()

le_result_t taf_radio_GetImsSvcStatus ( taf_radio_ImsRef_t  imsRef,
taf_radio_ImsSvcType_t  service,
taf_radio_ImsSvcStatus_t statusPtr 
)

Gets the IMS service status.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_TIMEOUT – Time out.
Parameters
[in]imsRefIMS reference.
[in]serviceIMS service type.
[out]statusPtrIMS service status.

◆ taf_radio_GetImsPdpError()

le_result_t taf_radio_GetImsPdpError ( taf_radio_ImsRef_t  imsRef,
taf_radio_PdpError_t errorPtr 
)

Gets the PDP error code.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_TIMEOUT – Time out.
Parameters
[in]imsRefIMS reference.
[out]errorPtrPDP error code.

◆ taf_radio_SetImsSvcCfg()

le_result_t taf_radio_SetImsSvcCfg ( taf_radio_ImsRef_t  imsRef,
taf_radio_ImsSvcType_t  service,
bool  enable 
)

Sets the IMS service enablement configuration parameters.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_TIMEOUT – Time out.
Parameters
[in]imsRefIMS reference.
[in]serviceIMS service type.
[in]enableTrue if enabling service, false if disabling service.

◆ taf_radio_GetImsSvcCfg()

le_result_t taf_radio_GetImsSvcCfg ( taf_radio_ImsRef_t  imsRef,
taf_radio_ImsSvcType_t  service,
bool *  enablePtr 
)

Gets the IMS service enablement configuration parameters.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_TIMEOUT – Time out.
Parameters
[in]imsRefIMS reference.
[in]serviceIMS service type.
[out]enablePtrTrue if service is enabled, false if service is disabled.

◆ taf_radio_SetImsUserAgent()

le_result_t taf_radio_SetImsUserAgent ( taf_radio_ImsRef_t  imsRef,
const char *LE_NONNULL  userAgent 
)

Sets the user agent.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_TIMEOUT – Time out.
Parameters
[in]imsRefIMS reference.
[in]userAgentUser agent string to be sent with SIP message.

◆ taf_radio_GetImsUserAgent()

le_result_t taf_radio_GetImsUserAgent ( taf_radio_ImsRef_t  imsRef,
char *  userAgent,
size_t  userAgentSize 
)

Gets the user agent.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_TIMEOUT – Time out.
Parameters
[in]imsRefIMS reference.
[out]userAgentUser agent string to be sent with SIP message.
[in]userAgentSize

◆ taf_radio_GetNrDualConnectivityStatus()

le_result_t taf_radio_GetNrDualConnectivityStatus ( taf_radio_NREndcAvailability_t statusEndcPtr,
taf_radio_NRDcnrRestriction_t statusDcnrPtr,
uint8_t  phoneId 
)

Gets the DCNR and ENDC mode status.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed
  • LE_OK – Succeeded.
Parameters
[out]statusEndcPtrENDC availability status.
[out]statusDcnrPtrDCNR restriction status.
[in]phoneIdPhone ID.

◆ taf_radio_GetCurrentNetworkLongName()

le_result_t taf_radio_GetCurrentNetworkLongName ( char *  longNameStr,
size_t  longNameStrSize,
uint8_t  phoneId 
)

Gets the long name of the network.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_TIMEOUT – Time out.
  • LE_OK – Succeeded.
Parameters
[out]longNameStrLong network name.
[in]longNameStrSize
[in]phoneIdPhone ID.

◆ taf_radio_GetHardwareSimConfig()

le_result_t taf_radio_GetHardwareSimConfig ( uint8_t *  totalSimCountPtr,
uint8_t *  maxActiveSimsPtr 
)

Gets the details of the total SIM count and maximum active SIM count.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_TIMEOUT – Time out.
Parameters
[out]totalSimCountPtrThe maximum number of SIMs supported simultaneously.
[out]maxActiveSimsPtrThe maximum number of SIMs that can be active simultaneously.

◆ taf_radio_GetHardwareSimRatCapabilities()

le_result_t taf_radio_GetHardwareSimRatCapabilities ( taf_radio_RatBitMask_t deviceRatCapMaskPtr,
taf_radio_RatBitMask_t simRatCapMaskPtr,
uint8_t  phoneId 
)

Gets the RAT capabilities supported by hardware and SIM based on a given phone ID.

Returns
  • LE_BAD_PARAMETER – Bad parameters.
  • LE_FAULT – Failed.
  • LE_OK – Succeeded.
  • LE_TIMEOUT – Time out.
Parameters
[out]deviceRatCapMaskPtrDevice RAT capability bitmask.
[out]simRatCapMaskPtrSIM RAT capability bitmask.
[in]phoneIdPhone ID.

◆ taf_radio_SetSignalStrengthIndHysteresis()

le_result_t taf_radio_SetSignalStrengthIndHysteresis ( taf_radio_SigType_t  sigType,
uint16_t  hysteresis,
uint8_t  phoneId 
)

Sets the hysteresis in units of 0.1 dBm. which is an optional parameter for signal strength indication.

Returns
  • LE_OK – Succeeded.
  • LE_BAD_PARAMETER – Bad parameters
  • LE_FAULT – Failed.
Parameters
[in]sigTypeSignal type.
[in]hysteresisHysteresis dBm in units of 0.1 dBm.
[in]phoneIdPhone ID.

◆ taf_radio_SetSignalStrengthIndHysteresisTimer()

le_result_t taf_radio_SetSignalStrengthIndHysteresisTimer ( uint16_t  hysteresisTimer,
uint8_t  phoneId 
)

Sets the hysteresis time in milliseconds which is an optional parameter for signal strength indication.

Returns
  • LE_OK – Succeeded.
  • LE_BAD_PARAMETER – Bad parameters
  • LE_FAULT – Failed.
Parameters
[in]hysteresisTimerHysteresis time in milliseconds.
[in]phoneIdPhone ID.