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 //--------------------------------------------------------------------------------------------------
137 //--------------------------------------------------------------------------------------------------
139 (
140  void
141 );
142 
143 //--------------------------------------------------------------------------------------------------
154 //--------------------------------------------------------------------------------------------------
156 (
157  void
158 );
159 
160 
161 //--------------------------------------------------------------------------------------------------
165 //--------------------------------------------------------------------------------------------------
166 typedef enum
167 {
170 
173 
176 
179 
182 
185 
188 
191 }
193 
194 
195 //--------------------------------------------------------------------------------------------------
199 //--------------------------------------------------------------------------------------------------
200 typedef struct le_temp_ThresholdEventHandler* le_temp_ThresholdEventHandlerRef_t;
201 
202 
203 //--------------------------------------------------------------------------------------------------
211 //--------------------------------------------------------------------------------------------------
213 (
215  void* contextPtr
216 );
217 
218 //--------------------------------------------------------------------------------------------------
224 //--------------------------------------------------------------------------------------------------
226 (
229 
230  void* contextPtr
232 );
233 
234 //--------------------------------------------------------------------------------------------------
238 //--------------------------------------------------------------------------------------------------
240 (
243 );
244 
245 //--------------------------------------------------------------------------------------------------
253 //--------------------------------------------------------------------------------------------------
255 (
256  int32_t* platformTempPtr
259 );
260 
261 //--------------------------------------------------------------------------------------------------
269 //--------------------------------------------------------------------------------------------------
271 (
272  int32_t* radioTempPtr
275 );
276 
277 //--------------------------------------------------------------------------------------------------
292 //--------------------------------------------------------------------------------------------------
294 (
295  int32_t lowCriticalTemp,
298 
299  int32_t lowWarningTemp,
302 
303  int32_t hiWarningTemp,
306 
307  int32_t hiCriticalTemp
310 );
311 
312 //--------------------------------------------------------------------------------------------------
320 //--------------------------------------------------------------------------------------------------
322 (
323  int32_t* lowCriticalTempPtr,
326 
327  int32_t* lowWarningTempPtr,
330 
331  int32_t* hiWarningTempPtr,
334 
335  int32_t* hiCriticalTempPtr
339 );
340 
341 //--------------------------------------------------------------------------------------------------
352 //--------------------------------------------------------------------------------------------------
354 (
355  int32_t hiWarningTemp,
358 
359  int32_t hiCriticalTemp
362 );
363 
364 //--------------------------------------------------------------------------------------------------
372 //--------------------------------------------------------------------------------------------------
374 (
375  int32_t* hiWarningTempPtr,
378 
379  int32_t* hiCriticalTempPtr
383 );
384 
385 
386 #endif // LE_TEMP_INTERFACE_H_INCLUDE_GUARD
387 
void le_temp_DisconnectService(void)
void le_temp_ConnectService(void)
Normal Radio temperature threshold is reached.
Definition: le_temp_interface.h:183
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:189
High Radio Critical temperature threshold is reached.
Definition: le_temp_interface.h:171
le_result_t le_temp_SetRadioThresholds(int32_t hiWarningTemp, int32_t hiCriticalTemp)
High Platform Critical temperature threshold is reached.
Definition: le_temp_interface.h:168
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:177
le_temp_ThresholdStatus_t
Definition: le_temp_interface.h:166
le_result_t le_temp_GetPlatformTemperature(int32_t *platformTempPtr)
Normal Platform temperature threshold is reached.
Definition: le_temp_interface.h:180
High Platform Warning temperature threshold is reached.
Definition: le_temp_interface.h:174
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:200
void(* le_temp_ThresholdEventHandlerFunc_t)(le_temp_ThresholdStatus_t event, void *contextPtr)
Definition: le_temp_interface.h:213
Low Platform Warning temperature threshold is reached.
Definition: le_temp_interface.h:186