1
0
Fork 0

track sequence numbers per universe

This commit is contained in:
Kevin Matz 2021-08-29 01:01:20 -04:00
parent 3bad5e0d3e
commit 5101e0d22c
1 changed files with 10 additions and 0 deletions

View File

@ -54,6 +54,16 @@ protected:
private:
std::unordered_map <uint16_t, Universe *> universes_;
/// > \cite sACN 6.2.5 E1.31 Data Packet: Sequence Number
/// >
/// > Sources shall maintain a sequence for each universe they transmit.
/// > The sequence number for a universe shall be incremented by one for
/// > every packet sent on that universe. There is no implied relationship
/// > between the sequence number of an E1.31 Synchronization Packet and
/// > the sequence number of an E1.31 Data Packet on that same universe.
std::unordered_map <uint16_t, uint8_t> data_sequences_;
std::unordered_map <uint16_t, uint8_t> sync_sequences_;
};