Radio Power and Status


Functions

SWI_API SWI_RCODE SwiGetRadioPower (SWI_STRUCT_RadioPower *pRadioPower, U32 timeout)
SWI_API SWI_RCODE SwiSetRadioPower (const SWI_STRUCT_RadioPower *pRadioPower, U32 timeout)
SWI_API SWI_RCODE SwiGetRadioTempState (SWI_STRUCT_RadioTempState *pRadioTemp, U32 timeout)
SWI_API SWI_RCODE SwiGetRadioBattery (SWI_STRUCT_RadioBattery *pRadioBattery, U32 timeout)

Function Documentation

SWI_API SWI_RCODE SwiGetRadioBattery ( SWI_STRUCT_RadioBattery pRadioBattery,
U32  timeout 
)

This function is used to retrieve the current radio battery state.

Voltage changes can be monitored with SWI_NOTIFY_RadioBattery.

Parameters:
[OUT] pRadioBattery: A pointer to a SWI_STRUCT_RadioBattery structure to store the current radio battery state.
[IN] timeout: Response timeout value in milliseconds.
Returns:
See SWI_RCODE for other error return codes.
See also:
SWI_STRUCT_RadioBattery

SWI_NOTIFY_RadioBattery

SWI_API SWI_RCODE SwiGetRadioPower ( SWI_STRUCT_RadioPower pRadioPower,
U32  timeout 
)

This function is used to retrieve the current radio power mode.

Parameters:
[OUT] pRadioPower: Pointer to a SWI_STRUCT_RadioPower structure to store the current radio power setting.
[IN] timeout: Response timeout value in milliseconds.
Returns:
See SWI_RCODE for other error return codes.
See also:
SWI_STRUCT_RadioPower

SWI_API SWI_RCODE SwiGetRadioTempState ( SWI_STRUCT_RadioTempState pRadioTemp,
U32  timeout 
)

This function is used to retrieve the current radio temperature state.

UMTS AirCards will always report that the temperature state is normal. Temperature state changes can be monitored with SWI_NOTIFY_RadioTempState.

Parameters:
[OUT] pRadioTemp: Pointer to a SWI_STRUCT_RadioTempState to store the current radio temperature state.
[IN] timeout: Response timeout value in milliseconds.
Returns:
See SWI_RCODE for other error return codes.
See also:
SWI_STRUCT_RadioTempState

SWI_NOTIFY_RadioTempState

SWI_API SWI_RCODE SwiSetRadioPower ( const SWI_STRUCT_RadioPower pRadioPower,
U32  timeout 
)

This function is used to configure the radio power mode.

Parameters:
[IN] pRadioPower: A pointer to a SWI_STRUCT_RadioPower structure which specifies the the new radio power setting.
[IN] timeout: Response timeout value in milliseconds.
Returns:
See SWI_RCODE for other error return codes.
See also:
SWI_STRUCT_RadioPower


Generated on Fri Oct 2 10:27:30 2009 for 3G SDK by  doxygen 1.5.9