forked from ROMEO/obsw
starting fsfw
This commit is contained in:
17
bsp_z7/objects/communication/SerialTCPCookie.h
Normal file
17
bsp_z7/objects/communication/SerialTCPCookie.h
Normal file
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include <fsfw/devicehandlers/CookieIF.h>
|
||||
#include <stddef.h>
|
||||
|
||||
class SerialTCPCookie : public CookieIF {
|
||||
public:
|
||||
SerialTCPCookie(const char* host, uint16_t port, bool flush, size_t bufferSize);
|
||||
virtual ~SerialTCPCookie();
|
||||
|
||||
const char* const host;
|
||||
const uint16_t port;
|
||||
const bool flush;
|
||||
uint8_t *buffer;
|
||||
const size_t bufferSize;
|
||||
int socket;
|
||||
};
|
Reference in New Issue
Block a user