le_ips_interface.h File Reference

#include "legato.h"
#include "le_ips_common.h"

Go to the source code of this file.

Typedefs

typedef void(* le_ips_DisconnectHandler_t) (void *)
 

Functions

void le_ips_ConnectService (void)
 
le_result_t le_ips_TryConnectService (void)
 
LE_FULL_API void le_ips_SetServerDisconnectHandler (le_ips_DisconnectHandler_t disconnectHandler, void *contextPtr)
 
void le_ips_DisconnectService (void)
 
le_ips_ThresholdEventHandlerRef_t le_ips_AddThresholdEventHandler (le_ips_ThresholdEventHandlerFunc_t handlerPtr, void *contextPtr)
 
void le_ips_RemoveThresholdEventHandler (le_ips_ThresholdEventHandlerRef_t handlerRef)
 
le_result_t le_ips_GetInputVoltage (uint32_t *inputVoltagePtr)
 
le_result_t le_ips_SetVoltageThresholds (uint16_t criticalVolt, uint16_t warningVolt, uint16_t normalVolt, uint16_t hiCriticalVolt)
 
le_result_t le_ips_GetVoltageThresholds (uint16_t *criticalVoltPtr, uint16_t *warningVoltPtr, uint16_t *normalVoltPtr, uint16_t *hiCriticalVoltPtr)
 
le_result_t le_ips_GetPowerSource (le_ips_PowerSource_t *powerSourcePtr)
 
le_result_t le_ips_GetBatteryLevel (uint8_t *batteryLevelPtr)
 
le_result_t le_ips_SetBatteryLevel (uint8_t batteryLevel)
 

Detailed Description

Legato Input Power Supply Monitoring API include file.