From a5556d689d29d05f5eb17783b71ae3b23131c058 Mon Sep 17 00:00:00 2001 From: narspt Date: Fri, 8 Dec 2023 19:39:25 +0000 Subject: [PATCH] set eot status bit for ysf last packet --- src/cysfprotocol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cysfprotocol.cpp b/src/cysfprotocol.cpp index 572464f..38e11c7 100644 --- a/src/cysfprotocol.cpp +++ b/src/cysfprotocol.cpp @@ -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