// // Created by zemon on 06.08.24. // #ifndef SMART_COMPONENTS_COMINTPOWERMANAGER_H #define SMART_COMPONENTS_COMINTPOWERMANAGER_H #include "XfcProtProcessorUtilDefines.h" #include "PowerManagment.h" typedef enum { VOLTAGE, } tXfcPowerType; typedef struct { tPowerManagement *powerManagement; uint16_t voltage; bool *fl_telematicaIsActive; bool *fl_telematicaServerIsActive; } tXfcPower; void XfcProtMethodsAdd_PowerManager(tXfcProtTable *protTab, tXfcPower *audioCodec); void XfcProtMethodsAdd_PowerManagerInit(tXfcPower *env, tPowerManagement *power, bool *fl_telematicaIsActive, bool *telematicaServerIsActive); uint16_t XfcProtMethod_BattaryVoltageGet(tXfcArray *request, tXfcArray *response, tXfcPower *power); uint16_t XfcProtMethod_BoardVoltageGet(tXfcArray *request, tXfcArray *response, tXfcPower *power); #endif //SMART_COMPONENTS_COMINTPOWERMANAGER_H