- Thread starter
- #11
MisterD,
this is similar to what I tried just to have a test:
This will report more info if you log the channelName somewhere, but not solve the issue.
I mean it happens that the on 20 tries some of them have the correct channel name others have the "WX FOX JUMP..." description. So I think that if the channelName is not ending with a "20" char it should be discarded or something like that...
Simone
BTW, I would like to log in a teletext.log all lines, not only packet 30 just to see what is recorded for every page, maybe the error is this famous if (packetNumber == 30)...
this is similar to what I tried just to have a test:
if (packetNumber == 30)
{
/*
byte type = (byte)(Hamming.Decode[rowData[off + 2]]);
if ((type != 0) && (type != 2))
{
continue;
}
*/
//Log.Write("Packet Number:{0}, type:{1}", packetNumber, type);
string channelName = "";
for (int i = 0; i < 20; i++)
This will report more info if you log the channelName somewhere, but not solve the issue.
I mean it happens that the on 20 tries some of them have the correct channel name others have the "WX FOX JUMP..." description. So I think that if the channelName is not ending with a "20" char it should be discarded or something like that...
Simone
BTW, I would like to log in a teletext.log all lines, not only packet 30 just to see what is recorded for every page, maybe the error is this famous if (packetNumber == 30)...
Italy