Open echecazz opened 2 years ago
You have to put those two lines in a file (e.g. filter.txt), then call decoder as "asterix --filter filter.txt".
You have to put those two lines in a file (e.g. filter.txt), then call decoder as "asterix --filter filter.txt".
Thank you for your answer. Yes, I use the txt for filtering, my txt contains the following lines:
CAT062:I070:ToT time
CAT062:I105:Lat lat
CAT062:I105:Lon lon
CAT062:I245:TId id
CAT062:I340:SIC sic
CAT062:I340:TYP typ
CAT062:IRE:SIC sic2
CAT062:IRE:TYP typ2
The output file contains all fields except IRE items (I verified they exist in Asterix recording).
If I don't use any filter, in the output file IRE items are shown correctly as in the following example:
{"id":1, "cat":62, "length":120, "crc":"B5423983", "timestamp":49352833.000000, "hexdata":".........", "CAT062":{ .......... ..........
"IRE":{
"CSN":[{
"SAC":34,
"SIC":33,
"spare":0,
"TYP":8}]},
.............
.............
I don't know if I use wrong sintax or maybe it's a software bug...?
Hi, I'm trying to filter RE data item on cat62:
CAT062:IRE:SIC sic CAT062:IRE:TYP typ
but it doesn't work.. could you help please?