Snapdragon® Telematics Application Framework (TelAF) Interface Specification
taf_therm_interface.h
Go to the documentation of this file.
1 
2 
3 /*
4  * ====================== WARNING ======================
5  *
6  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
7  * DO NOT MODIFY IN ANY WAY.
8  *
9  * ====================== WARNING ======================
10  */
11 
401 #ifndef TAF_THERM_INTERFACE_H_INCLUDE_GUARD
402 #define TAF_THERM_INTERFACE_H_INCLUDE_GUARD
403 
404 
405 #include "legato.h"
406 
407 // Internal includes for this interface
408 #include "taf_therm_common.h"
409 //--------------------------------------------------------------------------------------------------
413 //--------------------------------------------------------------------------------------------------
414 typedef void (*taf_therm_DisconnectHandler_t)(void *);
415 
416 //--------------------------------------------------------------------------------------------------
428 //--------------------------------------------------------------------------------------------------
430 (
431  void
432 );
433 
434 //--------------------------------------------------------------------------------------------------
453 //--------------------------------------------------------------------------------------------------
455 (
456  void
457 );
458 
459 //--------------------------------------------------------------------------------------------------
467 //--------------------------------------------------------------------------------------------------
469 (
470  taf_therm_DisconnectHandler_t disconnectHandler,
471  void *contextPtr
472 );
473 
474 //--------------------------------------------------------------------------------------------------
485 //--------------------------------------------------------------------------------------------------
487 (
488  taf_therm_DisconnectHandler_t disconnectHandler,
489  void *contextPtr
490 );
491 
492 //--------------------------------------------------------------------------------------------------
503 //--------------------------------------------------------------------------------------------------
505 (
506  void
507 );
508 
509 //--------------------------------------------------------------------------------------------------
515 //--------------------------------------------------------------------------------------------------
517 (
520  void* contextPtr
522 );
523 
524 //--------------------------------------------------------------------------------------------------
528 //--------------------------------------------------------------------------------------------------
530 (
533 );
534 
535 //--------------------------------------------------------------------------------------------------
541 //--------------------------------------------------------------------------------------------------
543 (
546  void* contextPtr
548 );
549 
550 //--------------------------------------------------------------------------------------------------
554 //--------------------------------------------------------------------------------------------------
556 (
559 );
560 
561 //--------------------------------------------------------------------------------------------------
569 //--------------------------------------------------------------------------------------------------
571 (
572  void
573 );
574 
575 //--------------------------------------------------------------------------------------------------
583 //--------------------------------------------------------------------------------------------------
585 (
586  taf_therm_ThermalZoneListRef_t ThermalZoneListRef,
588  uint32_t* thermalZoneListSizePtr
590 );
591 
592 //--------------------------------------------------------------------------------------------------
601 //--------------------------------------------------------------------------------------------------
603 (
604  taf_therm_ThermalZoneListRef_t ThermalZoneListRef
606 );
607 
608 //--------------------------------------------------------------------------------------------------
617 //--------------------------------------------------------------------------------------------------
619 (
620  taf_therm_ThermalZoneListRef_t ThermalZoneListRef
622 );
623 
624 //--------------------------------------------------------------------------------------------------
633 //--------------------------------------------------------------------------------------------------
635 (
636  taf_therm_ThermalZoneRef_t ThermalZoneRef
638 );
639 
640 //--------------------------------------------------------------------------------------------------
649 //--------------------------------------------------------------------------------------------------
651 (
652  taf_therm_ThermalZoneRef_t ThermalZoneRef
654 );
655 
656 //--------------------------------------------------------------------------------------------------
665 //--------------------------------------------------------------------------------------------------
667 (
668  taf_therm_ThermalZoneRef_t ThermalZoneRef
670 );
671 
672 //--------------------------------------------------------------------------------------------------
681 //--------------------------------------------------------------------------------------------------
683 (
684  taf_therm_ThermalZoneRef_t ThermalZoneRef
686 );
687 
688 //--------------------------------------------------------------------------------------------------
696 //--------------------------------------------------------------------------------------------------
698 (
699  taf_therm_BoundCoolingDeviceRef_t BoundCoolingDeviceRef
701 );
702 
703 //--------------------------------------------------------------------------------------------------
711 //--------------------------------------------------------------------------------------------------
713 (
714  taf_therm_BoundCoolingDeviceRef_t BoundCoolingDeviceRef
716 );
717 
718 //--------------------------------------------------------------------------------------------------
726 //--------------------------------------------------------------------------------------------------
728 (
729  taf_therm_ThermalZoneRef_t ThermalZoneRef,
731  uint32_t* thermalZoneIDPtr
733 );
734 
735 //--------------------------------------------------------------------------------------------------
743 //--------------------------------------------------------------------------------------------------
745 (
746  taf_therm_ThermalZoneRef_t ThermalZoneRef,
748  char* ThermalZoneType,
750  size_t ThermalZoneTypeSize
752 );
753 
754 //--------------------------------------------------------------------------------------------------
762 //--------------------------------------------------------------------------------------------------
764 (
765  taf_therm_ThermalZoneRef_t ThermalZoneRef,
767  uint32_t* currTempPtr
769 );
770 
771 //--------------------------------------------------------------------------------------------------
779 //--------------------------------------------------------------------------------------------------
781 (
782  taf_therm_ThermalZoneRef_t ThermalZoneRef,
784  uint32_t* passiveTempPtr
786 );
787 
788 //--------------------------------------------------------------------------------------------------
796 //--------------------------------------------------------------------------------------------------
798 (
799  taf_therm_ThermalZoneRef_t ThermalZoneRef,
801  uint32_t* tripPointListSizePtr
803 );
804 
805 //--------------------------------------------------------------------------------------------------
813 //--------------------------------------------------------------------------------------------------
815 (
816  taf_therm_ThermalZoneRef_t ThermalZoneRef,
818  uint32_t* boundCoolingDeviceListSizePtr
820 );
821 
822 //--------------------------------------------------------------------------------------------------
830 //--------------------------------------------------------------------------------------------------
832 (
833  taf_therm_TripPointRef_t TripPointRef,
835  char* TripType,
837  size_t TripTypeSize
839 );
840 
841 //--------------------------------------------------------------------------------------------------
849 //--------------------------------------------------------------------------------------------------
851 (
852  taf_therm_TripPointRef_t TripPointRef,
854  uint32_t* thresholdPtr
856 );
857 
858 //--------------------------------------------------------------------------------------------------
866 //--------------------------------------------------------------------------------------------------
868 (
869  taf_therm_TripPointRef_t TripPointRef,
871  uint32_t* hysterisisPtr
873 );
874 
875 //--------------------------------------------------------------------------------------------------
886 //--------------------------------------------------------------------------------------------------
888 (
889  taf_therm_TripPointRef_t TripPointRef,
891  uint32_t* tripIDPtr
893 );
894 
895 //--------------------------------------------------------------------------------------------------
906 //--------------------------------------------------------------------------------------------------
908 (
909  taf_therm_TripPointRef_t TripPointRef,
911  uint32_t* tZoneIDPtr
913 );
914 
915 //--------------------------------------------------------------------------------------------------
923 //--------------------------------------------------------------------------------------------------
925 (
926  taf_therm_BoundCoolingDeviceRef_t BoundCoolingDeviceRef,
928  uint32_t* boundCoolingIdPtr
930 );
931 
932 //--------------------------------------------------------------------------------------------------
940 //--------------------------------------------------------------------------------------------------
942 (
943  taf_therm_BoundCoolingDeviceRef_t BoundCoolingDeviceRef,
945  uint32_t* boundTripPointListSizePtr
947 );
948 
949 //--------------------------------------------------------------------------------------------------
957 //--------------------------------------------------------------------------------------------------
959 (
960  taf_therm_TripPointRef_t TripPointRef,
962  char* BoundTripType,
964  size_t BoundTripTypeSize
966 );
967 
968 //--------------------------------------------------------------------------------------------------
976 //--------------------------------------------------------------------------------------------------
978 (
979  taf_therm_TripPointRef_t TripPointRef,
981  uint32_t* boundThresholdPtr
983 );
984 
985 //--------------------------------------------------------------------------------------------------
993 //--------------------------------------------------------------------------------------------------
995 (
996  taf_therm_TripPointRef_t TripPointRef,
998  uint32_t* boundHysterisisPtr
1000 );
1001 
1002 //--------------------------------------------------------------------------------------------------
1012 //--------------------------------------------------------------------------------------------------
1014 (
1015  taf_therm_TripPointRef_t TripPointRef,
1017  uint32_t* boundTripIDPtr
1019 );
1020 
1021 //--------------------------------------------------------------------------------------------------
1031 //--------------------------------------------------------------------------------------------------
1033 (
1034  taf_therm_TripPointRef_t TripPointRef,
1036  uint32_t* boundTZoneIDPtr
1038 );
1039 
1040 //--------------------------------------------------------------------------------------------------
1048 //--------------------------------------------------------------------------------------------------
1050 (
1051  taf_therm_ThermalZoneListRef_t ThermalZoneListRef
1053 );
1054 
1055 //--------------------------------------------------------------------------------------------------
1063 //--------------------------------------------------------------------------------------------------
1065 (
1066  void
1067 );
1068 
1069 //--------------------------------------------------------------------------------------------------
1077 //--------------------------------------------------------------------------------------------------
1079 (
1082  uint32_t* listSizePtr
1084 );
1085 
1086 //--------------------------------------------------------------------------------------------------
1095 //--------------------------------------------------------------------------------------------------
1097 (
1100 );
1101 
1102 //--------------------------------------------------------------------------------------------------
1111 //--------------------------------------------------------------------------------------------------
1113 (
1116 );
1117 
1118 //--------------------------------------------------------------------------------------------------
1126 //--------------------------------------------------------------------------------------------------
1128 (
1129  taf_therm_CoolingDeviceRef_t CDevListRef,
1131  uint32_t* cDevIDPtr
1133 );
1134 
1135 //--------------------------------------------------------------------------------------------------
1143 //--------------------------------------------------------------------------------------------------
1145 (
1146  taf_therm_CoolingDeviceRef_t CDevListRef,
1148  char* Description,
1150  size_t DescriptionSize
1152 );
1153 
1154 //--------------------------------------------------------------------------------------------------
1162 //--------------------------------------------------------------------------------------------------
1164 (
1165  taf_therm_CoolingDeviceRef_t CDevListRef,
1167  uint32_t* maxCoolingLevelPtr
1169 );
1170 
1171 //--------------------------------------------------------------------------------------------------
1179 //--------------------------------------------------------------------------------------------------
1181 (
1182  taf_therm_CoolingDeviceRef_t CDevListRef,
1184  uint32_t* currentCoolingLevelPtr
1186 );
1187 
1188 //--------------------------------------------------------------------------------------------------
1196 //--------------------------------------------------------------------------------------------------
1198 (
1201 );
1202 
1203 //--------------------------------------------------------------------------------------------------
1211 //--------------------------------------------------------------------------------------------------
1213 (
1214  const char* LE_NONNULL ThermalZone
1216 );
1217 
1218 //--------------------------------------------------------------------------------------------------
1226 //--------------------------------------------------------------------------------------------------
1228 (
1229  const char* LE_NONNULL CoolingDevice
1231 );
1232 
1233 //--------------------------------------------------------------------------------------------------
1241 //--------------------------------------------------------------------------------------------------
1243 (
1244  taf_therm_TripPointRef_t tripEventRef
1246 );
1247 
1248 //--------------------------------------------------------------------------------------------------
1256 //--------------------------------------------------------------------------------------------------
1258 (
1259  taf_therm_CoolingDeviceRef_t coolingDeviceRef
1261 );
1262 
1263 //--------------------------------------------------------------------------------------------------
1271 //--------------------------------------------------------------------------------------------------
1273 (
1274  taf_therm_ThermalZoneRef_t thermalZoneeRef
1276 );
1277 
1278 #endif // TAF_THERM_INTERFACE_H_INCLUDE_GUARD
taf_therm_ThermalZoneRef_t taf_therm_GetThermalZoneByName(const char *LE_NONNULL ThermalZone)
Definition: taf_therm_client.c:1533
le_result_t taf_therm_GetBoundTripPointListSize(taf_therm_BoundCoolingDeviceRef_t BoundCoolingDeviceRef, uint32_t *boundTripPointListSizePtr)
Definition: taf_therm_client.c:1154
taf_therm_BoundCoolingDeviceRef_t taf_therm_GetFirstBoundCDev(taf_therm_ThermalZoneRef_t ThermalZoneRef)
Definition: taf_therm_client.c:769
struct taf_therm_ThermalZone * taf_therm_ThermalZoneRef_t
Definition: taf_therm_common.h:41
le_result_t taf_therm_GetBoundTripPointThermalZoneID(taf_therm_TripPointRef_t TripPointRef, uint32_t *boundTZoneIDPtr)
Definition: taf_therm_client.c:1281
taf_therm_ThermalZoneRef_t taf_therm_GetNextThermalZone(taf_therm_ThermalZoneListRef_t ThermalZoneListRef)
Definition: taf_therm_client.c:703
void taf_therm_ConnectService(void)
Definition: taf_therm_client.c:291
void taf_therm_RemoveTripEventHandler(taf_therm_TripEventHandlerRef_t handlerRef)
Definition: taf_therm_client.c:577
taf_therm_TripEventHandlerRef_t taf_therm_AddTripEventHandler(taf_therm_TripEventHandlerFunc_t handlerPtr, void *contextPtr)
Definition: taf_therm_client.c:557
LE_FULL_API void taf_therm_SetNonExitServerDisconnectHandler(taf_therm_DisconnectHandler_t disconnectHandler, void *contextPtr)
Definition: taf_therm_client.c:457
le_result_t taf_therm_GetTripPointThreshold(taf_therm_TripPointRef_t TripPointRef, uint32_t *thresholdPtr)
Definition: taf_therm_client.c:1028
taf_therm_BoundCoolingDeviceRef_t taf_therm_GetNextBoundCDev(taf_therm_ThermalZoneRef_t ThermalZoneRef)
Definition: taf_therm_client.c:791
le_result_t taf_therm_GetThermalZoneCurrentTemp(taf_therm_ThermalZoneRef_t ThermalZoneRef, uint32_t *currTempPtr)
Definition: taf_therm_client.c:905
taf_therm_CoolingDeviceRef_t taf_therm_GetCoolingDeviceByName(const char *LE_NONNULL CoolingDevice)
Definition: taf_therm_client.c:1554
le_result_t taf_therm_GetBoundCoolingId(taf_therm_BoundCoolingDeviceRef_t BoundCoolingDeviceRef, uint32_t *boundCoolingIdPtr)
Definition: taf_therm_client.c:1130
le_result_t taf_therm_GetBoundTripPointHysterisis(taf_therm_TripPointRef_t TripPointRef, uint32_t *boundHysterisisPtr)
Definition: taf_therm_client.c:1229
le_result_t taf_therm_GetThermalZonesListSize(taf_therm_ThermalZoneListRef_t ThermalZoneListRef, uint32_t *thermalZoneListSizePtr)
Definition: taf_therm_client.c:656
taf_therm_CoolingDeviceRef_t taf_therm_GetFirstCoolingDevice(taf_therm_CoolingDeviceListRef_t CDevListRef)
Definition: taf_therm_client.c:1370
le_result_t taf_therm_TryConnectService(void)
Definition: taf_therm_client.c:323
le_result_t taf_therm_GetTripPointTripID(taf_therm_TripPointRef_t TripPointRef, uint32_t *tripIDPtr)
Definition: taf_therm_client.c:1079
void(* taf_therm_CoolingLevelChangeEventHandlerFunc_t)(taf_therm_CoolingDeviceRef_t coolingDevice, void *contextPtr)
Definition: taf_therm_common.h:162
le_result_t taf_therm_GetCDevMaxCoolingLevel(taf_therm_CoolingDeviceRef_t CDevListRef, uint32_t *maxCoolingLevelPtr)
Definition: taf_therm_client.c:1464
le_result_t taf_therm_ReleaseCoolingDeviceRef(taf_therm_CoolingDeviceRef_t coolingDeviceRef)
Definition: taf_therm_client.c:1596
struct taf_therm_CoolingDevice * taf_therm_CoolingDeviceRef_t
Definition: taf_therm_common.h:65
struct taf_therm_CoolingLevelChangeEventHandler * taf_therm_CoolingLevelChangeEventHandlerRef_t
Definition: taf_therm_common.h:138
struct taf_therm_TripEventHandler * taf_therm_TripEventHandlerRef_t
Definition: taf_therm_common.h:130
le_result_t taf_therm_GetCoolingDeviceListSize(taf_therm_CoolingDeviceListRef_t CDevListRef, uint32_t *listSizePtr)
Definition: taf_therm_client.c:1345
taf_therm_TripPointRef_t taf_therm_GetFirstBoundTripPoint(taf_therm_BoundCoolingDeviceRef_t BoundCoolingDeviceRef)
Definition: taf_therm_client.c:812
le_result_t taf_therm_GetBoundTripPointType(taf_therm_TripPointRef_t TripPointRef, char *BoundTripType, size_t BoundTripTypeSize)
Definition: taf_therm_client.c:1178
void(* taf_therm_DisconnectHandler_t)(void *)
Definition: taf_therm_interface.h:414
taf_therm_TripPointRef_t taf_therm_GetNextTripPoint(taf_therm_ThermalZoneRef_t ThermalZoneRef)
Definition: taf_therm_client.c:747
le_result_t taf_therm_GetBoundCoolingDeviceListSize(taf_therm_ThermalZoneRef_t ThermalZoneRef, uint32_t *boundCoolingDeviceListSizePtr)
Definition: taf_therm_client.c:977
void taf_therm_RemoveCoolingLevelChangeEventHandler(taf_therm_CoolingLevelChangeEventHandlerRef_t handlerRef)
Definition: taf_therm_client.c:616
le_result_t taf_therm_GetCDevID(taf_therm_CoolingDeviceRef_t CDevListRef, uint32_t *cDevIDPtr)
Definition: taf_therm_client.c:1413
taf_therm_CoolingDeviceRef_t taf_therm_GetNextCoolingDevice(taf_therm_CoolingDeviceListRef_t CDevListRef)
Definition: taf_therm_client.c:1392
le_result_t taf_therm_GetBoundTripPointTripID(taf_therm_TripPointRef_t TripPointRef, uint32_t *boundTripIDPtr)
Definition: taf_therm_client.c:1255
le_result_t taf_therm_ReleaseTripEventRef(taf_therm_TripPointRef_t tripEventRef)
Definition: taf_therm_client.c:1575
le_result_t taf_therm_GetTripPointThermalZoneID(taf_therm_TripPointRef_t TripPointRef, uint32_t *tZoneIDPtr)
Definition: taf_therm_client.c:1106
taf_therm_CoolingDeviceListRef_t taf_therm_GetCoolingDeviceList(void)
Definition: taf_therm_client.c:1326
le_result_t taf_therm_GetCDevCurrentCoolingLevel(taf_therm_CoolingDeviceRef_t CDevListRef, uint32_t *currentCoolingLevelPtr)
Definition: taf_therm_client.c:1488
LE_FULL_API void taf_therm_SetServerDisconnectHandler(taf_therm_DisconnectHandler_t disconnectHandler, void *contextPtr)
Definition: taf_therm_client.c:380
taf_therm_ThermalZoneListRef_t taf_therm_GetThermalZonesList(void)
Definition: taf_therm_client.c:637
taf_therm_TripPointRef_t taf_therm_GetFirstTripPoint(taf_therm_ThermalZoneRef_t ThermalZoneRef)
Definition: taf_therm_client.c:725
le_result_t taf_therm_GetCDevDescription(taf_therm_CoolingDeviceRef_t CDevListRef, char *Description, size_t DescriptionSize)
Definition: taf_therm_client.c:1437
le_result_t taf_therm_GetTripPointListSize(taf_therm_ThermalZoneRef_t ThermalZoneRef, uint32_t *tripPointListSizePtr)
Definition: taf_therm_client.c:953
le_result_t taf_therm_GetTripPointType(taf_therm_TripPointRef_t TripPointRef, char *TripType, size_t TripTypeSize)
Definition: taf_therm_client.c:1001
struct taf_therm_BoundCoolingDevice * taf_therm_BoundCoolingDeviceRef_t
Definition: taf_therm_common.h:73
le_result_t taf_therm_GetThermalZoneID(taf_therm_ThermalZoneRef_t ThermalZoneRef, uint32_t *thermalZoneIDPtr)
Definition: taf_therm_client.c:854
struct taf_therm_CoolingDeviceList * taf_therm_CoolingDeviceListRef_t
Definition: taf_therm_common.h:57
taf_therm_TripPointRef_t taf_therm_GetNextBoundTripPoint(taf_therm_BoundCoolingDeviceRef_t BoundCoolingDeviceRef)
Definition: taf_therm_client.c:833
#define LE_NONNULL
Definition: le_basics.h:368
void(* taf_therm_TripEventHandlerFunc_t)(taf_therm_TripPointRef_t tripPoint, taf_therm_TripEventType_t type, void *contextPtr)
Definition: taf_therm_common.h:147
struct taf_therm_TripPoint * taf_therm_TripPointRef_t
Definition: taf_therm_common.h:49
taf_therm_ThermalZoneRef_t taf_therm_GetFirstThermalZone(taf_therm_ThermalZoneListRef_t ThermalZoneListRef)
Definition: taf_therm_client.c:681
le_result_t
Definition: le_basics.h:45
le_result_t taf_therm_GetThermalZoneType(taf_therm_ThermalZoneRef_t ThermalZoneRef, char *ThermalZoneType, size_t ThermalZoneTypeSize)
Definition: taf_therm_client.c:878
le_result_t taf_therm_DeleteCoolingDeviceList(taf_therm_CoolingDeviceListRef_t CDevListRef)
Definition: taf_therm_client.c:1512
taf_therm_CoolingLevelChangeEventHandlerRef_t taf_therm_AddCoolingLevelChangeEventHandler(taf_therm_CoolingLevelChangeEventHandlerFunc_t handlerPtr, void *contextPtr)
Definition: taf_therm_client.c:596
struct taf_therm_ThermalZoneList * taf_therm_ThermalZoneListRef_t
Definition: taf_therm_common.h:33
#define LE_FULL_API
Definition: le_apiFeatures.h:42
le_result_t taf_therm_GetBoundTripPointThreshold(taf_therm_TripPointRef_t TripPointRef, uint32_t *boundThresholdPtr)
Definition: taf_therm_client.c:1205
le_result_t taf_therm_GetThermalZonePassiveTemp(taf_therm_ThermalZoneRef_t ThermalZoneRef, uint32_t *passiveTempPtr)
Definition: taf_therm_client.c:929
le_result_t taf_therm_ReleaseThermalZoneRef(taf_therm_ThermalZoneRef_t thermalZoneeRef)
Definition: taf_therm_client.c:1617
le_result_t taf_therm_DeleteThermalZoneList(taf_therm_ThermalZoneListRef_t ThermalZoneListRef)
Definition: taf_therm_client.c:1305
le_result_t taf_therm_GetTripPointHysterisis(taf_therm_TripPointRef_t TripPointRef, uint32_t *hysterisisPtr)
Definition: taf_therm_client.c:1052
void taf_therm_DisconnectService(void)
Definition: taf_therm_client.c:503