1
0
Fork 0

transmit sequence number

This commit is contained in:
Kevin Matz 2021-08-28 12:54:46 -04:00
parent 287ae5f6cc
commit ea3abc97b5
1 changed files with 2 additions and 1 deletions

View File

@ -112,8 +112,9 @@ TEST_F(sACNdataTest, stream_in) {
e131_data[637] = univ & 0xff;
// send enough to get the rate up
for (int r = 0; r < 3; r++)
for (int seq = 1; seq < 4; seq++)
{
e131_data[111] = seq; // sequence number
ACN::PDU::Stream stream(new ACN::PDU::pdu_stream(e131_data, sizeof(e131_data)));
ASSERT_EQ(stream->data(), e131_data) << "failed to create stream";
node.UdpPayloadReceiver(stream);