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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dabOutput/edi/AFPacket.h b/src/dabOutput/edi/AFPacket.h
index 0826a35..1451085 100644
--- a/src/dabOutput/edi/AFPacket.h
+++ b/src/dabOutput/edi/AFPacket.h
@@ -35,13 +35,15 @@
#define EDI_AFPACKET_PROTOCOLTYPE_TAGITEMS ('T')
+typedef std::vector<uint8_t> AFPacket;
+
// ETSI TS 102 821, 6.1 AF packet structure
-class AFPacket
+class AFPacketiser
{
public:
- AFPacket(char protocolType) : protocol_type(protocolType) {};
+ AFPacketiser(char protocolType) : protocol_type(protocolType) {};
- std::vector<uint8_t> Assemble(TagPacket tag_packet);
+ AFPacket Assemble(TagPacket tag_packet);
private:
static const bool have_crc = true;