CFDP SOURCE handler #157
@ -82,4 +82,4 @@ ReturnValue_t cfdp::SourceHandler::checksumGeneration() {
|
|||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t cfdp::SourceHandler::putRequest() { return 0; }
|
ReturnValue_t cfdp::SourceHandler::putRequest(PutRequestFull& putRequest) { return 0; }
|
||||||
|
@ -31,7 +31,7 @@ class SourceHandler {
|
|||||||
* the state machine
|
* the state machine
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
ReturnValue_t putRequest();
|
ReturnValue_t putRequest(PutRequestFull& putRequest);
|
||||||
void stateMachine();
|
void stateMachine();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -47,6 +47,16 @@ template <size_t SIZE>
|
|||||||
using PacketInfoList = etl::list<PacketInfo, SIZE>;
|
using PacketInfoList = etl::list<PacketInfo, SIZE>;
|
||||||
using PacketInfoListBase = etl::ilist<PacketInfo>;
|
using PacketInfoListBase = etl::ilist<PacketInfo>;
|
||||||
|
|
||||||
|
struct PutRequestFull {
|
||||||
|
EntityId destId;
|
||||||
|
TransmissionMode transmissionMode;
|
||||||
|
char destName[524];
|
||||||
|
size_t destNameSize;
|
||||||
|
char sourceName[524];
|
||||||
|
size_t sourceNameSize;
|
||||||
|
bool closureRequested;
|
||||||
|
};
|
||||||
|
|
||||||
namespace events {
|
namespace events {
|
||||||
|
|
||||||
static constexpr Event STORE_ERROR = event::makeEvent(SSID, 0, severity::LOW);
|
static constexpr Event STORE_ERROR = event::makeEvent(SSID, 0, severity::LOW);
|
||||||
|
Loading…
Reference in New Issue
Block a user