syrlinks fault flag
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit

This commit is contained in:
Jakob Meier
2022-04-01 09:20:35 +02:00
parent b29a0cd0fb
commit ca1e8f3dc1
5 changed files with 47 additions and 3 deletions

View File

@ -5,12 +5,13 @@
#include "OBSWConfig.h"
SyrlinksHkHandler::SyrlinksHkHandler(object_id_t objectId, object_id_t comIF, CookieIF* comCookie,
power::Switch_t powerSwitch)
power::Switch_t powerSwitch, Gpio fault)
: DeviceHandlerBase(objectId, comIF, comCookie),
rxDataset(this),
txDataset(this),
temperatureSet(this),
powerSwitch(powerSwitch) {
powerSwitch(powerSwitch),
fault(fault){
if (comCookie == NULL) {
sif::warning << "SyrlinksHkHandler: Invalid com cookie" << std::endl;
}
@ -442,6 +443,10 @@ LocalPoolDataSetBase* SyrlinksHkHandler::getDataSetHandle(sid_t sid) {
}
}
void SyrlinksHkHandler::performOperationHook() {
}
std::string SyrlinksHkHandler::convertUint16ToHexString(uint16_t intValue) {
std::stringstream stream;
stream << std::setfill('0') << std::setw(4) << std::hex << std::uppercase << intValue;