set eot status bit for ysf last packet

pull/239/head
narspt 2 years ago
parent e658e818b4
commit a5556d689d

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

Loading…
Cancel
Save

Powered by TurnKey Linux.