#include "legato.h"Go to the source code of this file.
Typedefs | |
| typedef struct le_temp_ThresholdEventHandler * | le_temp_ThresholdEventHandlerRef_t |
| typedef void(* | le_temp_ThresholdEventHandlerFunc_t )(le_temp_ThresholdStatus_t event, void *contextPtr) |
Functions | |
| void | le_temp_ConnectService (void) |
| void | le_temp_DisconnectService (void) |
| le_temp_ThresholdEventHandlerRef_t | le_temp_AddThresholdEventHandler (le_temp_ThresholdEventHandlerFunc_t handlerPtr, void *contextPtr) |
| void | le_temp_RemoveThresholdEventHandler (le_temp_ThresholdEventHandlerRef_t addHandlerRef) |
| le_result_t | le_temp_GetPlatformTemperature (int32_t *platformTempPtr) |
| le_result_t | le_temp_GetRadioTemperature (int32_t *radioTempPtr) |
| le_result_t | le_temp_SetPlatformThresholds (int32_t lowCriticalTemp, int32_t lowWarningTemp, int32_t hiWarningTemp, int32_t hiCriticalTemp) |
| le_result_t | le_temp_GetPlatformThresholds (int32_t *lowCriticalTempPtr, int32_t *lowWarningTempPtr, int32_t *hiWarningTempPtr, int32_t *hiCriticalTempPtr) |
| le_result_t | le_temp_SetRadioThresholds (int32_t hiWarningTemp, int32_t hiCriticalTemp) |
| le_result_t | le_temp_GetRadioThresholds (int32_t *hiWarningTempPtr, int32_t *hiCriticalTempPtr) |
Legato le_temp include file.
Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.
| typedef void(* le_temp_ThresholdEventHandlerFunc_t)(le_temp_ThresholdStatus_t event, void *contextPtr) |
Handler for Temperature event.
| event | Temperature threshold event reached. |
| contextPtr |
| typedef struct le_temp_ThresholdEventHandler* le_temp_ThresholdEventHandlerRef_t |
Reference type used by Add/Remove functions for EVENT 'le_temp_ThresholdEvent'
Temperature event type.
| le_temp_ThresholdEventHandlerRef_t le_temp_AddThresholdEventHandler | ( | le_temp_ThresholdEventHandlerFunc_t | handlerPtr, |
| void * | contextPtr | ||
| ) |
Add handler function for EVENT 'le_temp_ThresholdEvent'
This event provides information on Threshold reached.
| [in] | handlerPtr | |
| [in] | contextPtr |
| void le_temp_ConnectService | ( | void | ) |
Connect the client to the service
| void le_temp_DisconnectService | ( | void | ) |
Disconnect the client from the service
| le_result_t le_temp_GetPlatformTemperature | ( | int32_t * | platformTempPtr | ) |
Get the Platform temperature level in degree celsius.
| [out] | platformTempPtr | [OUT] The Platform temperature level in degree celsius. |
| le_result_t le_temp_GetPlatformThresholds | ( | int32_t * | lowCriticalTempPtr, |
| int32_t * | lowWarningTempPtr, | ||
| int32_t * | hiWarningTempPtr, | ||
| int32_t * | hiCriticalTempPtr | ||
| ) |
Get the Platform warning and critical temperature thresholds in degree celsius.
| [out] | lowCriticalTempPtr | [OUT] The low critical temperature threshold in degree celsius. |
| [out] | lowWarningTempPtr | [OUT] The low warning temperature threshold in degree celsius. |
| [out] | hiWarningTempPtr | [OUT] The high warning temperature threshold in degree celsius. |
| [out] | hiCriticalTempPtr | [OUT] The high critical temperature threshold in degree celsius. |
| le_result_t le_temp_GetRadioTemperature | ( | int32_t * | radioTempPtr | ) |
Get the Radio temperature level in degree celsius.
| [out] | radioTempPtr | [OUT] The Radio temperature level in degree celsius. |
| le_result_t le_temp_GetRadioThresholds | ( | int32_t * | hiWarningTempPtr, |
| int32_t * | hiCriticalTempPtr | ||
| ) |
Get the Radio warning and critical temperature thresholds in degree celsius.
| [out] | hiWarningTempPtr | [OUT] The high warning temperature threshold in degree celsius. |
| [out] | hiCriticalTempPtr | [OUT] The high critical temperature threshold in degree celsius. |
| void le_temp_RemoveThresholdEventHandler | ( | le_temp_ThresholdEventHandlerRef_t | addHandlerRef | ) |
Remove handler function for EVENT 'le_temp_ThresholdEvent'
| [in] | addHandlerRef |
| le_result_t le_temp_SetPlatformThresholds | ( | int32_t | lowCriticalTemp, |
| int32_t | lowWarningTemp, | ||
| int32_t | hiWarningTemp, | ||
| int32_t | hiCriticalTemp | ||
| ) |
Set the Platform warning and critical temperature thresholds in degree celsius. When thresholds temperature are reached, a temperature event is triggered.
| [in] | lowCriticalTemp | [IN] The low critical temperature threshold in degree celsius. |
| [in] | lowWarningTemp | [IN] The low warning temperature threshold in degree celsius. |
| [in] | hiWarningTemp | [IN] The high warning temperature threshold in degree celsius. |
| [in] | hiCriticalTemp | [IN] The high critical temperature threshold in degree celsius. |
| le_result_t le_temp_SetRadioThresholds | ( | int32_t | hiWarningTemp, |
| int32_t | hiCriticalTemp | ||
| ) |
Set the Radio warning and critical temperature thresholds in degree celsius. When thresholds temperature are reached, a temperature event is triggered.
| [in] | hiWarningTemp | [IN] The high warning temperature threshold in degree celsius. |
| [in] | hiCriticalTemp | [IN] The high critical temperature threshold in degree celsius. |