Relative Paths
This commit is contained in:
@ -8,8 +8,8 @@
|
||||
#ifndef MISSION_PUS_SERVICEPACKETS_SERVICE1PACKETS_H_
|
||||
#define MISSION_PUS_SERVICEPACKETS_SERVICE1PACKETS_H_
|
||||
|
||||
#include <framework/serialize/SerializeAdapter.h>
|
||||
#include <framework/tmtcservices/VerificationCodes.h>
|
||||
#include "../../serialize/SerializeAdapter.h"
|
||||
#include "../../tmtcservices/VerificationCodes.h"
|
||||
|
||||
/**
|
||||
* @brief FailureReport class to serialize a failure report
|
||||
|
@ -1,63 +1,63 @@
|
||||
#ifndef FRAMEWORK_PUS_SERVICEPACKETS_SERVICE200PACKETS_H_
|
||||
#define FRAMEWORK_PUS_SERVICEPACKETS_SERVICE200PACKETS_H_
|
||||
|
||||
#include <framework/serialize/SerialLinkedListAdapter.h>
|
||||
#include <framework/modes/ModeMessage.h>
|
||||
#include <framework/serialize/SerializeIF.h>
|
||||
|
||||
/**
|
||||
* @brief Subservice 1, 2, 3, 4, 5
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class ModePacket : public SerialLinkedListAdapter<SerializeIF> { //!< [EXPORT] : [SUBSERVICE] 1, 2, 6
|
||||
public:
|
||||
|
||||
ModePacket() {
|
||||
setLinks();
|
||||
}
|
||||
|
||||
ModePacket(object_id_t objectId, Mode_t mode, Submode_t submode) :
|
||||
objectId(objectId), mode(mode), submode(submode) {
|
||||
setLinks();
|
||||
}
|
||||
|
||||
Mode_t getMode() {
|
||||
return mode.entry;
|
||||
}
|
||||
|
||||
Submode_t getSubmode() {
|
||||
return submode.entry;
|
||||
}
|
||||
|
||||
// Forbid copying, pointers are used.
|
||||
ModePacket(const ModePacket&) = delete;
|
||||
ModePacket& operator=(const ModePacket&) = delete;
|
||||
private:
|
||||
|
||||
void setLinks() {
|
||||
setStart(&objectId);
|
||||
objectId.setNext(&mode);
|
||||
mode.setNext(&submode);
|
||||
}
|
||||
SerializeElement<object_id_t> objectId; //!< [EXPORT] : [COMMENT] Target or source object
|
||||
SerializeElement<Mode_t> mode; //!< [EXPORT] : [COMMENT] 0: MODE_OFF, 1: MODE_ON, 2: MODE_NORMAL, 3: MODE_RAW
|
||||
SerializeElement<Submode_t> submode; //!< [EXPORT] : [COMMENT] Usually 0, device specific submode possible
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Subservice 7
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class CantReachModePacket: public SerialLinkedListAdapter<SerializeIF> { //!< [EXPORT] : [SUBSERVICE] 7
|
||||
public:
|
||||
CantReachModePacket(object_id_t objectId, ReturnValue_t reason):
|
||||
objectId(objectId), reason(reason) {
|
||||
setStart(&this->objectId);
|
||||
this->objectId.setNext(&this->reason);
|
||||
}
|
||||
|
||||
SerializeElement<object_id_t> objectId; //!< [EXPORT] : [COMMENT] Reply source object
|
||||
SerializeElement<ReturnValue_t> reason; //!< [EXPORT] : [COMMENT] Reason the mode could not be reached
|
||||
};
|
||||
|
||||
#endif /* FRAMEWORK_PUS_SERVICEPACKETS_SERVICE200PACKETS_H_ */
|
||||
#ifndef FRAMEWORK_PUS_SERVICEPACKETS_SERVICE200PACKETS_H_
|
||||
#define FRAMEWORK_PUS_SERVICEPACKETS_SERVICE200PACKETS_H_
|
||||
|
||||
#include "../../serialize/SerialLinkedListAdapter.h"
|
||||
#include "../../modes/ModeMessage.h"
|
||||
#include "../../serialize/SerializeIF.h"
|
||||
|
||||
/**
|
||||
* @brief Subservice 1, 2, 3, 4, 5
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class ModePacket : public SerialLinkedListAdapter<SerializeIF> { //!< [EXPORT] : [SUBSERVICE] 1, 2, 6
|
||||
public:
|
||||
|
||||
ModePacket() {
|
||||
setLinks();
|
||||
}
|
||||
|
||||
ModePacket(object_id_t objectId, Mode_t mode, Submode_t submode) :
|
||||
objectId(objectId), mode(mode), submode(submode) {
|
||||
setLinks();
|
||||
}
|
||||
|
||||
Mode_t getMode() {
|
||||
return mode.entry;
|
||||
}
|
||||
|
||||
Submode_t getSubmode() {
|
||||
return submode.entry;
|
||||
}
|
||||
|
||||
// Forbid copying, pointers are used.
|
||||
ModePacket(const ModePacket&) = delete;
|
||||
ModePacket& operator=(const ModePacket&) = delete;
|
||||
private:
|
||||
|
||||
void setLinks() {
|
||||
setStart(&objectId);
|
||||
objectId.setNext(&mode);
|
||||
mode.setNext(&submode);
|
||||
}
|
||||
SerializeElement<object_id_t> objectId; //!< [EXPORT] : [COMMENT] Target or source object
|
||||
SerializeElement<Mode_t> mode; //!< [EXPORT] : [COMMENT] 0: MODE_OFF, 1: MODE_ON, 2: MODE_NORMAL, 3: MODE_RAW
|
||||
SerializeElement<Submode_t> submode; //!< [EXPORT] : [COMMENT] Usually 0, device specific submode possible
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Subservice 7
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class CantReachModePacket: public SerialLinkedListAdapter<SerializeIF> { //!< [EXPORT] : [SUBSERVICE] 7
|
||||
public:
|
||||
CantReachModePacket(object_id_t objectId, ReturnValue_t reason):
|
||||
objectId(objectId), reason(reason) {
|
||||
setStart(&this->objectId);
|
||||
this->objectId.setNext(&this->reason);
|
||||
}
|
||||
|
||||
SerializeElement<object_id_t> objectId; //!< [EXPORT] : [COMMENT] Reply source object
|
||||
SerializeElement<ReturnValue_t> reason; //!< [EXPORT] : [COMMENT] Reason the mode could not be reached
|
||||
};
|
||||
|
||||
#endif /* FRAMEWORK_PUS_SERVICEPACKETS_SERVICE200PACKETS_H_ */
|
||||
|
@ -1,76 +1,76 @@
|
||||
#ifndef FRAMEWORK_PUS_SERVICEPACKETS_SERVICE2PACKETS_H_
|
||||
#define FRAMEWORK_PUS_SERVICEPACKETS_SERVICE2PACKETS_H_
|
||||
|
||||
#include <framework/action/ActionMessage.h>
|
||||
#include <framework/objectmanager/SystemObjectIF.h>
|
||||
#include <framework/serialize/SerialLinkedListAdapter.h>
|
||||
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
||||
|
||||
/**
|
||||
* @brief Subservice 128
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class RawCommand { //!< [EXPORT] : [SUBSERVICE] 128
|
||||
public:
|
||||
RawCommand(const uint8_t* buffer, size_t size) {
|
||||
// Deserialize Adapter to get correct endianness
|
||||
SerializeAdapter::deSerialize(&objectId, &buffer, &size,
|
||||
SerializeIF::Endianness::BIG);
|
||||
commandBuffer = buffer;
|
||||
// size is decremented by AutoSerializeAdapter,
|
||||
// remaining size is data size
|
||||
dataSize = size;
|
||||
}
|
||||
object_id_t getObjectId() const {
|
||||
return objectId;
|
||||
}
|
||||
|
||||
const uint8_t* getCommand() {
|
||||
return commandBuffer;
|
||||
}
|
||||
|
||||
size_t getCommandSize() const {
|
||||
return dataSize;
|
||||
}
|
||||
private:
|
||||
object_id_t objectId = 0;
|
||||
const uint8_t* commandBuffer = nullptr; //!< [EXPORT] : [MAXSIZE] 256 Bytes
|
||||
size_t dataSize = 0; //!< [EXPORT] : [IGNORE]
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @brief Subservice 129: Command packet to set wiretapping mode
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class WiretappingToggle: public SerialLinkedListAdapter<SerializeIF>{ //!< [EXPORT] : [SUBSERVICE] 129
|
||||
public:
|
||||
static const size_t WIRETAPPING_COMMAND_SIZE = 5;
|
||||
WiretappingToggle(){
|
||||
setStart(&objectId);
|
||||
objectId.setNext(&wiretappingMode);
|
||||
}
|
||||
|
||||
uint8_t getWiretappingMode() const {
|
||||
return wiretappingMode.entry;
|
||||
}
|
||||
private:
|
||||
SerializeElement<object_id_t> objectId;
|
||||
SerializeElement<uint8_t> wiretappingMode; //!< [EXPORT] : [INPUT] Mode 0: OFF, Mode 1: RAW
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @brief Subservices 130 and 131: TM packets
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class WiretappingPacket { //!< [EXPORT] : [SUBSERVICE] 130, 131
|
||||
public:
|
||||
object_id_t objectId; //!< [EXPORT] : [COMMENT] Object ID of source object
|
||||
const uint8_t* data; //!< [EXPORT] : [MAXSIZE] Raw Command Max. Size
|
||||
WiretappingPacket(object_id_t objectId, const uint8_t* buffer):
|
||||
objectId(objectId), data(buffer) {
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* FRAMEWORK_PUS_SERVICEPACKETS_SERVICE2PACKETS_H_ */
|
||||
#ifndef FRAMEWORK_PUS_SERVICEPACKETS_SERVICE2PACKETS_H_
|
||||
#define FRAMEWORK_PUS_SERVICEPACKETS_SERVICE2PACKETS_H_
|
||||
|
||||
#include "../../action/ActionMessage.h"
|
||||
#include "../../objectmanager/SystemObjectIF.h"
|
||||
#include "../../serialize/SerialLinkedListAdapter.h"
|
||||
#include "../../serviceinterface/ServiceInterfaceStream.h"
|
||||
|
||||
/**
|
||||
* @brief Subservice 128
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class RawCommand { //!< [EXPORT] : [SUBSERVICE] 128
|
||||
public:
|
||||
RawCommand(const uint8_t* buffer, size_t size) {
|
||||
// Deserialize Adapter to get correct endianness
|
||||
SerializeAdapter::deSerialize(&objectId, &buffer, &size,
|
||||
SerializeIF::Endianness::BIG);
|
||||
commandBuffer = buffer;
|
||||
// size is decremented by AutoSerializeAdapter,
|
||||
// remaining size is data size
|
||||
dataSize = size;
|
||||
}
|
||||
object_id_t getObjectId() const {
|
||||
return objectId;
|
||||
}
|
||||
|
||||
const uint8_t* getCommand() {
|
||||
return commandBuffer;
|
||||
}
|
||||
|
||||
size_t getCommandSize() const {
|
||||
return dataSize;
|
||||
}
|
||||
private:
|
||||
object_id_t objectId = 0;
|
||||
const uint8_t* commandBuffer = nullptr; //!< [EXPORT] : [MAXSIZE] 256 Bytes
|
||||
size_t dataSize = 0; //!< [EXPORT] : [IGNORE]
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @brief Subservice 129: Command packet to set wiretapping mode
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class WiretappingToggle: public SerialLinkedListAdapter<SerializeIF>{ //!< [EXPORT] : [SUBSERVICE] 129
|
||||
public:
|
||||
static const size_t WIRETAPPING_COMMAND_SIZE = 5;
|
||||
WiretappingToggle(){
|
||||
setStart(&objectId);
|
||||
objectId.setNext(&wiretappingMode);
|
||||
}
|
||||
|
||||
uint8_t getWiretappingMode() const {
|
||||
return wiretappingMode.entry;
|
||||
}
|
||||
private:
|
||||
SerializeElement<object_id_t> objectId;
|
||||
SerializeElement<uint8_t> wiretappingMode; //!< [EXPORT] : [INPUT] Mode 0: OFF, Mode 1: RAW
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @brief Subservices 130 and 131: TM packets
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class WiretappingPacket { //!< [EXPORT] : [SUBSERVICE] 130, 131
|
||||
public:
|
||||
object_id_t objectId; //!< [EXPORT] : [COMMENT] Object ID of source object
|
||||
const uint8_t* data; //!< [EXPORT] : [MAXSIZE] Raw Command Max. Size
|
||||
WiretappingPacket(object_id_t objectId, const uint8_t* buffer):
|
||||
objectId(objectId), data(buffer) {
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* FRAMEWORK_PUS_SERVICEPACKETS_SERVICE2PACKETS_H_ */
|
||||
|
@ -1,8 +1,8 @@
|
||||
#ifndef MISSION_PUS_SERVICEPACKETS_SERVICE5PACKETS_H_
|
||||
#define MISSION_PUS_SERVICEPACKETS_SERVICE5PACKETS_H_
|
||||
|
||||
#include <framework/serialize/SerializeAdapter.h>
|
||||
#include <framework/tmtcservices/VerificationCodes.h>
|
||||
#include "../../serialize/SerializeAdapter.h"
|
||||
#include "../../tmtcservices/VerificationCodes.h"
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,121 +1,121 @@
|
||||
#ifndef FRAMEWORK_PUS_SERVICEPACKETS_SERVICE8PACKETS_H_
|
||||
#define FRAMEWORK_PUS_SERVICEPACKETS_SERVICE8PACKETS_H_
|
||||
|
||||
#include <framework/action/ActionMessage.h>
|
||||
#include <framework/objectmanager/SystemObjectIF.h>
|
||||
#include <framework/serialize/SerialBufferAdapter.h>
|
||||
#include <framework/serialize/SerializeElement.h>
|
||||
#include <framework/serialize/SerialLinkedListAdapter.h>
|
||||
#include <framework/serialize/SerialFixedArrayListAdapter.h>
|
||||
|
||||
|
||||
/**
|
||||
* @brief Subservice 128
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class DirectCommand: public SerialLinkedListAdapter<SerializeIF> { //!< [EXPORT] : [SUBSERVICE] 128
|
||||
public:
|
||||
|
||||
DirectCommand(const uint8_t* tcData, size_t size) {
|
||||
SerializeAdapter::deSerialize(&objectId, &tcData, &size,
|
||||
SerializeIF::Endianness::BIG);
|
||||
SerializeAdapter::deSerialize(&actionId, &tcData, &size,
|
||||
SerializeIF::Endianness::BIG);
|
||||
parameterBuffer = tcData;
|
||||
parametersSize = size;
|
||||
}
|
||||
|
||||
ActionId_t getActionId() const {
|
||||
return actionId;
|
||||
}
|
||||
|
||||
object_id_t getObjectId() const {
|
||||
return objectId;
|
||||
}
|
||||
|
||||
const uint8_t* getParameters() {
|
||||
return parameterBuffer;
|
||||
}
|
||||
|
||||
uint32_t getParametersSize() const {
|
||||
return parametersSize;
|
||||
}
|
||||
|
||||
private:
|
||||
DirectCommand(const DirectCommand &command);
|
||||
object_id_t objectId;
|
||||
ActionId_t actionId;
|
||||
uint32_t parametersSize; //!< [EXPORT] : [IGNORE]
|
||||
const uint8_t * parameterBuffer; //!< [EXPORT] : [MAXSIZE] 65535 Bytes
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @brief Subservice 130
|
||||
* Data reply (subservice 130) consists of
|
||||
* 1. Target Object ID
|
||||
* 2. Action ID
|
||||
* 3. Data
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class DataReply: public SerialLinkedListAdapter<SerializeIF> { //!< [EXPORT] : [SUBSERVICE] 130
|
||||
public:
|
||||
typedef uint16_t typeOfMaxDataSize;
|
||||
static const uint16_t MAX_DATA_LENGTH = sizeof(typeOfMaxDataSize);
|
||||
DataReply(object_id_t objectId_, ActionId_t actionId_,
|
||||
const uint8_t * replyDataBuffer_ = NULL, uint16_t replyDataSize_ = 0):
|
||||
objectId(objectId_), actionId(actionId_), replyData(replyDataBuffer_,replyDataSize_){
|
||||
setLinks();
|
||||
}
|
||||
|
||||
private:
|
||||
DataReply(const DataReply &reply);
|
||||
void setLinks() {
|
||||
setStart(&objectId);
|
||||
objectId.setNext(&actionId);
|
||||
actionId.setNext(&replyData);
|
||||
}
|
||||
SerializeElement<object_id_t> objectId;
|
||||
SerializeElement<ActionId_t> actionId;
|
||||
SerializeElement<SerialBufferAdapter<uint16_t>> replyData;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @brief Subservice 132
|
||||
* @details
|
||||
* Not used yet. Telecommand Verification takes care of this.
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class DirectReply: public SerialLinkedListAdapter<SerializeIF> { //!< [EXPORT] : [SUBSERVICE] 132
|
||||
public:
|
||||
typedef uint16_t typeOfMaxDataSize;
|
||||
static const uint16_t MAX_DATA_LENGTH = sizeof(typeOfMaxDataSize);
|
||||
|
||||
DirectReply(object_id_t objectId_, ActionId_t actionId_, ReturnValue_t returnCode_,
|
||||
bool isStep_ = false, uint8_t step_ = 0):
|
||||
isStep(isStep_), objectId(objectId_), actionId(actionId_),
|
||||
returnCode(returnCode_),step(step_) {
|
||||
setLinks();
|
||||
}
|
||||
private:
|
||||
|
||||
void setLinks() {
|
||||
setStart(&objectId);
|
||||
objectId.setNext(&actionId);
|
||||
actionId.setNext(&returnCode);
|
||||
if(isStep) {
|
||||
returnCode.setNext(&step);
|
||||
}
|
||||
}
|
||||
|
||||
bool isStep; //!< [EXPORT] : [IGNORE]
|
||||
SerializeElement<object_id_t> objectId; //!< [EXPORT] : [IGNORE]
|
||||
SerializeElement<ActionId_t> actionId; //!< [EXPORT] : [IGNORE]
|
||||
SerializeElement<ReturnValue_t> returnCode; //!< [EXPORT] : [IGNORE]
|
||||
SerializeElement<uint8_t> step; //!< [EXPORT] : [OPTIONAL] [IGNORE]
|
||||
|
||||
};
|
||||
|
||||
#endif /* FRAMEWORK_PUS_SERVICEPACKETS_SERVICE8PACKETS_H_ */
|
||||
#ifndef FRAMEWORK_PUS_SERVICEPACKETS_SERVICE8PACKETS_H_
|
||||
#define FRAMEWORK_PUS_SERVICEPACKETS_SERVICE8PACKETS_H_
|
||||
|
||||
#include "../../action/ActionMessage.h"
|
||||
#include "../../objectmanager/SystemObjectIF.h"
|
||||
#include "../../serialize/SerialBufferAdapter.h"
|
||||
#include "../../serialize/SerializeElement.h"
|
||||
#include "../../serialize/SerialLinkedListAdapter.h"
|
||||
#include "../../serialize/SerialFixedArrayListAdapter.h"
|
||||
|
||||
|
||||
/**
|
||||
* @brief Subservice 128
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class DirectCommand: public SerialLinkedListAdapter<SerializeIF> { //!< [EXPORT] : [SUBSERVICE] 128
|
||||
public:
|
||||
|
||||
DirectCommand(const uint8_t* tcData, size_t size) {
|
||||
SerializeAdapter::deSerialize(&objectId, &tcData, &size,
|
||||
SerializeIF::Endianness::BIG);
|
||||
SerializeAdapter::deSerialize(&actionId, &tcData, &size,
|
||||
SerializeIF::Endianness::BIG);
|
||||
parameterBuffer = tcData;
|
||||
parametersSize = size;
|
||||
}
|
||||
|
||||
ActionId_t getActionId() const {
|
||||
return actionId;
|
||||
}
|
||||
|
||||
object_id_t getObjectId() const {
|
||||
return objectId;
|
||||
}
|
||||
|
||||
const uint8_t* getParameters() {
|
||||
return parameterBuffer;
|
||||
}
|
||||
|
||||
uint32_t getParametersSize() const {
|
||||
return parametersSize;
|
||||
}
|
||||
|
||||
private:
|
||||
DirectCommand(const DirectCommand &command);
|
||||
object_id_t objectId;
|
||||
ActionId_t actionId;
|
||||
uint32_t parametersSize; //!< [EXPORT] : [IGNORE]
|
||||
const uint8_t * parameterBuffer; //!< [EXPORT] : [MAXSIZE] 65535 Bytes
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @brief Subservice 130
|
||||
* Data reply (subservice 130) consists of
|
||||
* 1. Target Object ID
|
||||
* 2. Action ID
|
||||
* 3. Data
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class DataReply: public SerialLinkedListAdapter<SerializeIF> { //!< [EXPORT] : [SUBSERVICE] 130
|
||||
public:
|
||||
typedef uint16_t typeOfMaxDataSize;
|
||||
static const uint16_t MAX_DATA_LENGTH = sizeof(typeOfMaxDataSize);
|
||||
DataReply(object_id_t objectId_, ActionId_t actionId_,
|
||||
const uint8_t * replyDataBuffer_ = NULL, uint16_t replyDataSize_ = 0):
|
||||
objectId(objectId_), actionId(actionId_), replyData(replyDataBuffer_,replyDataSize_){
|
||||
setLinks();
|
||||
}
|
||||
|
||||
private:
|
||||
DataReply(const DataReply &reply);
|
||||
void setLinks() {
|
||||
setStart(&objectId);
|
||||
objectId.setNext(&actionId);
|
||||
actionId.setNext(&replyData);
|
||||
}
|
||||
SerializeElement<object_id_t> objectId;
|
||||
SerializeElement<ActionId_t> actionId;
|
||||
SerializeElement<SerialBufferAdapter<uint16_t>> replyData;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @brief Subservice 132
|
||||
* @details
|
||||
* Not used yet. Telecommand Verification takes care of this.
|
||||
* @ingroup spacepackets
|
||||
*/
|
||||
class DirectReply: public SerialLinkedListAdapter<SerializeIF> { //!< [EXPORT] : [SUBSERVICE] 132
|
||||
public:
|
||||
typedef uint16_t typeOfMaxDataSize;
|
||||
static const uint16_t MAX_DATA_LENGTH = sizeof(typeOfMaxDataSize);
|
||||
|
||||
DirectReply(object_id_t objectId_, ActionId_t actionId_, ReturnValue_t returnCode_,
|
||||
bool isStep_ = false, uint8_t step_ = 0):
|
||||
isStep(isStep_), objectId(objectId_), actionId(actionId_),
|
||||
returnCode(returnCode_),step(step_) {
|
||||
setLinks();
|
||||
}
|
||||
private:
|
||||
|
||||
void setLinks() {
|
||||
setStart(&objectId);
|
||||
objectId.setNext(&actionId);
|
||||
actionId.setNext(&returnCode);
|
||||
if(isStep) {
|
||||
returnCode.setNext(&step);
|
||||
}
|
||||
}
|
||||
|
||||
bool isStep; //!< [EXPORT] : [IGNORE]
|
||||
SerializeElement<object_id_t> objectId; //!< [EXPORT] : [IGNORE]
|
||||
SerializeElement<ActionId_t> actionId; //!< [EXPORT] : [IGNORE]
|
||||
SerializeElement<ReturnValue_t> returnCode; //!< [EXPORT] : [IGNORE]
|
||||
SerializeElement<uint8_t> step; //!< [EXPORT] : [OPTIONAL] [IGNORE]
|
||||
|
||||
};
|
||||
|
||||
#endif /* FRAMEWORK_PUS_SERVICEPACKETS_SERVICE8PACKETS_H_ */
|
||||
|
Reference in New Issue
Block a user