Changelog for HylaFAX
+* improve identification of ECM blocks with zero frames (16 Mar 2005)
* fix potential error in ECM reception frame counting (16 Mar 2005)
* add CRP usage in receiving when message frames
are received corrupt (14 Mar 2005)
tracePPM("RECV recv", rtncframe.getFCF());
if (rtncframe.getLength() > 5) {
u_int fc = frameRev[rtncframe[6]] + 1;
- if (fc == 256 && !dataseen) fc = 0; // distinguish between 0 and 256
+ if ((fc == 256 || fc == 1) && !dataseen) fc = 0; // distinguish 0 from 1 and 256
if (fcount < fc) fcount = fc;
tracePPM("RECV recv", rtncframe.getFCF2());
protoTrace("RECV received %u frames of block %u of page %u", \
case FCF_PPS:
{
u_int fc = frameRev[ppsframe[6]] + 1;
- if (fc == 256 && !dataseen) fc = 0; // distinguish between 0 and 256
+ if ((fc == 256 || fc == 1) && !dataseen) fc = 0; // distinguish 0 from 1 and 256
if (fcount < fc) fcount = fc;
protoTrace("RECV received %u frames of block %u of page %u", \
fc, frameRev[ppsframe[5]]+1, frameRev[ppsframe[4]]+1);