DHB TM better handling #291
2
fsfw
2
fsfw
@ -1 +1 @@
|
||||
Subproject commit 141dcb1f149b824b5bd6e5d3339ecb712835751e
|
||||
Subproject commit 2fa76d366325372e92a2188f71f143a485e652fc
|
@ -1830,7 +1830,7 @@ ReturnValue_t StarTrackerHandler::handleChecksumReply() {
|
||||
}
|
||||
PoolReadGuard rg(&checksumSet);
|
||||
checksumSet.checksum = checksumReply.getChecksum();
|
||||
handleDeviceTm(util::DataWrapper(checksumSet), startracker::CHECKSUM);
|
||||
handleDeviceTm(checksumSet, startracker::CHECKSUM);
|
||||
#if OBSW_VERBOSE_LEVEL >= 1 && OBSW_DEBUG_STARTRACKER == 1
|
||||
checksumReply.printChecksum();
|
||||
#endif /* OBSW_VERBOSE_LEVEL >= 1 && OBSW_DEBUG_STARTRACKER == 1 */
|
||||
|
@ -43,7 +43,7 @@ void ACUHandler::letChildHandleHkReply(DeviceCommandId_t id, const uint8_t *pack
|
||||
}
|
||||
|
||||
void ACUHandler::letChildHandleConfigReply(DeviceCommandId_t id, const uint8_t *packet) {
|
||||
handleDeviceTm(util::DataWrapper(packet, ACU::CONFIG_TABLE_SIZE), id);
|
||||
handleDeviceTm(packet, ACU::CONFIG_TABLE_SIZE, id);
|
||||
}
|
||||
|
||||
LocalPoolDataSetBase *ACUHandler::getDataSetHandle(sid_t sid) {
|
||||
|
@ -177,9 +177,7 @@ ReturnValue_t GomspaceDeviceHandler::interpretDeviceReply(DeviceCommandId_t id,
|
||||
switch (id) {
|
||||
case (GOMSPACE::PING): {
|
||||
SerializeElement<uint32_t> replyTime = *packet;
|
||||
util::DataWrapper wrapper;
|
||||
wrapper.setSerializable(replyTime);
|
||||
handleDeviceTm(wrapper, id, true);
|
||||
handleDeviceTm(replyTime, true);
|
||||
break;
|
||||
}
|
||||
case (GOMSPACE::PARAM_GET): {
|
||||
@ -206,7 +204,7 @@ ReturnValue_t GomspaceDeviceHandler::interpretDeviceReply(DeviceCommandId_t id,
|
||||
uint16_t address = cspGetParamReply.getAddress();
|
||||
/* Pack relevant information into a tm packet */
|
||||
ParamReply paramReply(action, tableId, address, payloadLength, tempPayloadBuffer);
|
||||
handleDeviceTm(util::DataWrapper(paramReply), id, true);
|
||||
handleDeviceTm(paramReply, id, true);
|
||||
break;
|
||||
}
|
||||
case (GOMSPACE::PARAM_SET): {
|
||||
|
@ -268,5 +268,5 @@ void P60DockHandler::printHkTableLatchups() {
|
||||
void P60DockHandler::setDebugMode(bool enable) { this->debugMode = enable; }
|
||||
|
||||
void P60DockHandler::letChildHandleConfigReply(DeviceCommandId_t id, const uint8_t *packet) {
|
||||
handleDeviceTm(util::DataWrapper(packet, P60Dock::CONFIG_TABLE_SIZE), id);
|
||||
handleDeviceTm(packet, P60Dock::CONFIG_TABLE_SIZE, id);
|
||||
}
|
||||
|
@ -80,9 +80,7 @@ ReturnValue_t PDU1Handler::setParamCallback(SetParamMessageUnpacker &unpacker,
|
||||
}
|
||||
|
||||
void PDU1Handler::letChildHandleConfigReply(DeviceCommandId_t id, const uint8_t *packet) {
|
||||
util::DataWrapper wrapper;
|
||||
wrapper.setRawData({packet, PDU::CONFIG_TABLE_SIZE});
|
||||
handleDeviceTm(wrapper, id);
|
||||
handleDeviceTm(packet, PDU::CONFIG_TABLE_SIZE, id);
|
||||
}
|
||||
|
||||
void PDU1Handler::parseHkTableReply(const uint8_t *packet) {
|
||||
|
@ -25,9 +25,7 @@ void PDU2Handler::letChildHandleHkReply(DeviceCommandId_t id, const uint8_t *pac
|
||||
}
|
||||
|
||||
void PDU2Handler::letChildHandleConfigReply(DeviceCommandId_t id, const uint8_t *packet) {
|
||||
util::DataWrapper wrapper;
|
||||
wrapper.setRawData({packet, PDU::CONFIG_TABLE_SIZE});
|
||||
handleDeviceTm(wrapper, id);
|
||||
handleDeviceTm(packet, PDU::CONFIG_TABLE_SIZE, id);
|
||||
}
|
||||
|
||||
void PDU2Handler::assignChannelHookFunction(GOMSPACE::ChannelSwitchHook hook, void *args) {
|
||||
|
Loading…
Reference in New Issue
Block a user