summaryrefslogtreecommitdiffstats
path: root/src/dabOutput/edi/AFPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dabOutput/edi/AFPacket.h')
-rw-r--r--src/dabOutput/edi/AFPacket.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dabOutput/edi/AFPacket.h b/src/dabOutput/edi/AFPacket.h
index c4f33bf..1fd0d16 100644
--- a/src/dabOutput/edi/AFPacket.h
+++ b/src/dabOutput/edi/AFPacket.h
@@ -49,11 +49,13 @@ class AFPacket
public:
AFPacket();
- std::vector<uint8_t> Assemble();
+ std::vector<uint8_t> Assemble(char protocol_type, std::vector<uint8_t> payload);
private:
+ static const bool have_crc = true;
+
AFHeader header;
- std::vector<uint8_t> packet_;
+ uint16_t seq; //counter that overflows at 0xFFFF
};
#endif