diff --git a/devicehandlers/DeviceHandlerBase.cpp b/devicehandlers/DeviceHandlerBase.cpp index d0f9d8b2..4eb9f504 100644 --- a/devicehandlers/DeviceHandlerBase.cpp +++ b/devicehandlers/DeviceHandlerBase.cpp @@ -53,7 +53,6 @@ DeviceHandlerBase::~DeviceHandlerBase() { ReturnValue_t DeviceHandlerBase::performOperation(uint8_t counter) { this->pstStep = counter; - if (counter == 0) { cookieInfo.state = COOKIE_UNUSED; readCommandQueue(); @@ -670,7 +669,6 @@ void DeviceHandlerBase::replyRawData(const uint8_t *data, size_t len, } CommandMessage message; - DeviceHandlerMessage::setDeviceHandlerRawReplyMessage(&message, getObjectId(), address, isCommand); diff --git a/serialize/SerializeAdapter.h b/serialize/SerializeAdapter.h index 67c37493..6e2f3e5f 100644 --- a/serialize/SerializeAdapter.h +++ b/serialize/SerializeAdapter.h @@ -20,6 +20,13 @@ * * The AutoSerializeAdapter functions can also be used as an alternative to memcpy * to retrieve data out of a buffer directly into a class variable with data type T while being able to specify endianness. + * + * In the SOURCE mission , the target architecture is little endian, + * so any buffers must be deSerialized with bool bigEndian = false if + * the parameters are used in the FSFW. + * When serializing for downlink, the packets are generally serialized into big endian for the network when using a TC/UDP client + * like seen in TmPacketStored.cpp for example. + * * \ingroup serialize */ template diff --git a/serialize/SerializeIF.h b/serialize/SerializeIF.h index 50555d37..14f6995e 100644 --- a/serialize/SerializeIF.h +++ b/serialize/SerializeIF.h @@ -10,6 +10,13 @@ /** * An interface for alle classes which require translation of objects data into data streams and vice-versa. + * + * In the SOURCE mission , the target architecture is little endian, + * so any buffers must be deSerialized with bool bigEndian = false if + * the parameters are used in the FSFW. + * When serializing for downlink, the packets are generally serialized into big endian for the network when using a TC/UDP client + * like seen in TmPacketStored.cpp for example. + * * \ingroup serialize */ class SerializeIF {