Merge pull request #239 from narspt/patch-26

set eot status bit for ysf last packet
pull/221/merge
LX3JL 2 years ago committed by GitHub
commit f0cc8dcced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.