le_temp_interface.h
Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
120 #ifndef LE_TEMP_INTERFACE_H_INCLUDE_GUARD
121 #define LE_TEMP_INTERFACE_H_INCLUDE_GUARD
122 
123 
124 #include "legato.h"
125 
126 //--------------------------------------------------------------------------------------------------
130 //--------------------------------------------------------------------------------------------------
132 (
133  void
134 );
135 
136 //--------------------------------------------------------------------------------------------------
140 //--------------------------------------------------------------------------------------------------
142 (
143  void
144 );
145 
146 
147 //--------------------------------------------------------------------------------------------------
151 //--------------------------------------------------------------------------------------------------
152 typedef enum
153 {
156 
159 
162 
165 
168 
171 
174 
177 }
179 
180 
181 //--------------------------------------------------------------------------------------------------
185 //--------------------------------------------------------------------------------------------------
186 typedef struct le_temp_ThresholdEventHandler* le_temp_ThresholdEventHandlerRef_t;
187 
188 
189 //--------------------------------------------------------------------------------------------------
197 //--------------------------------------------------------------------------------------------------
199 (
201  void* contextPtr
202 );
203 
204 //--------------------------------------------------------------------------------------------------
210 //--------------------------------------------------------------------------------------------------
212 (
215 
216  void* contextPtr
218 );
219 
220 //--------------------------------------------------------------------------------------------------
224 //--------------------------------------------------------------------------------------------------
226 (
229 );
230 
231 //--------------------------------------------------------------------------------------------------
239 //--------------------------------------------------------------------------------------------------
241 (
242  int32_t* platformTempPtr
245 );
246 
247 //--------------------------------------------------------------------------------------------------
255 //--------------------------------------------------------------------------------------------------
257 (
258  int32_t* radioTempPtr
261 );
262 
263 //--------------------------------------------------------------------------------------------------
278 //--------------------------------------------------------------------------------------------------
280 (
281  int32_t lowCriticalTemp,
284 
285  int32_t lowWarningTemp,
288 
289  int32_t hiWarningTemp,
292 
293  int32_t hiCriticalTemp
296 );
297 
298 //--------------------------------------------------------------------------------------------------
306 //--------------------------------------------------------------------------------------------------
308 (
309  int32_t* lowCriticalTempPtr,
312 
313  int32_t* lowWarningTempPtr,
316 
317  int32_t* hiWarningTempPtr,
320 
321  int32_t* hiCriticalTempPtr
325 );
326 
327 //--------------------------------------------------------------------------------------------------
338 //--------------------------------------------------------------------------------------------------
340 (
341  int32_t hiWarningTemp,
344 
345  int32_t hiCriticalTemp
348 );
349 
350 //--------------------------------------------------------------------------------------------------
358 //--------------------------------------------------------------------------------------------------
360 (
361  int32_t* hiWarningTempPtr,
364 
365  int32_t* hiCriticalTempPtr
369 );
370 
371 
372 #endif // LE_TEMP_INTERFACE_H_INCLUDE_GUARD
373 
void le_temp_DisconnectService(void)
void le_temp_ConnectService(void)
Normal Radio temperature threshold is reached.
Definition: le_temp_interface.h:169
le_result_t le_temp_GetPlatformThresholds(int32_t *lowCriticalTempPtr, int32_t *lowWarningTempPtr, int32_t *hiWarningTempPtr, int32_t *hiCriticalTempPtr)
le_result_t
Definition: le_basics.h:35
le_temp_ThresholdEventHandlerRef_t le_temp_AddThresholdEventHandler(le_temp_ThresholdEventHandlerFunc_t handlerPtr, void *contextPtr)
Low Platform Critical temperature threshold is reached.
Definition: le_temp_interface.h:175
High Radio Critical temperature threshold is reached.
Definition: le_temp_interface.h:157
le_result_t le_temp_SetRadioThresholds(int32_t hiWarningTemp, int32_t hiCriticalTemp)
High Platform Critical temperature threshold is reached.
Definition: le_temp_interface.h:154
le_result_t le_temp_GetRadioTemperature(int32_t *radioTempPtr)
le_result_t le_temp_GetRadioThresholds(int32_t *hiWarningTempPtr, int32_t *hiCriticalTempPtr)
High Radio Warning temperature threshold is reached.
Definition: le_temp_interface.h:163
le_temp_ThresholdStatus_t
Definition: le_temp_interface.h:152
le_result_t le_temp_GetPlatformTemperature(int32_t *platformTempPtr)
Normal Platform temperature threshold is reached.
Definition: le_temp_interface.h:166
High Platform Warning temperature threshold is reached.
Definition: le_temp_interface.h:160
void le_temp_RemoveThresholdEventHandler(le_temp_ThresholdEventHandlerRef_t addHandlerRef)
le_result_t le_temp_SetPlatformThresholds(int32_t lowCriticalTemp, int32_t lowWarningTemp, int32_t hiWarningTemp, int32_t hiCriticalTemp)
struct le_temp_ThresholdEventHandler * le_temp_ThresholdEventHandlerRef_t
Definition: le_temp_interface.h:186
void(* le_temp_ThresholdEventHandlerFunc_t)(le_temp_ThresholdStatus_t event, void *contextPtr)
Definition: le_temp_interface.h:199
Low Platform Warning temperature threshold is reached.
Definition: le_temp_interface.h:172