Merge pull request #239 from narspt/patch-26

set eot status bit for ysf last packet
This commit is contained in:
LX3JL 2023-12-12 13:18:44 +01:00 committed by GitHub
commit f0cc8dcced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -803,8 +803,8 @@ bool CYsfProtocol::EncodeDvLastPacket(const CDvHeaderPacket &Header, CBuffer *Bu
Buffer->Append((uint8 *)sz, YSF_CALLSIGN_LENGTH);
// dest
Buffer->Append(dest, 10);
// net frame counter
Buffer->Append((uint8)0x00);
// eot status bit + net frame counter (<<1)
Buffer->Append((uint8)0x01);
// FS
Buffer->Append((uint8 *)YSF_SYNC_BYTES, YSF_SYNC_LENGTH_BYTES);
// FICH