comparison trau-decode/parse-main.c @ 43:95acde708ce2

trau-parse: add knowledge of HR-data frame types
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 12 Sep 2024 23:59:16 +0000
parents d7674c80426c
children 59d1d15b6f7e
comparison
equal deleted inserted replaced
42:61181373875d 43:95acde708ce2
134 fputs(" (data UL)", stdout); 134 fputs(" (data UL)", stdout);
135 break; 135 break;
136 case 0x16: 136 case 0x16:
137 fputs(" (data DL)", stdout); 137 fputs(" (data DL)", stdout);
138 break; 138 break;
139 case 0x09:
140 fputs(" (HR data UL)", stdout);
141 break;
142 case 0x17:
143 fputs(" (HR data DL)", stdout);
144 break;
139 case 0x14: 145 case 0x14:
140 fputs(" (D144 sync)", stdout); 146 fputs(" (D144 sync)", stdout);
141 break; 147 break;
142 } 148 }
143 putchar('\n'); 149 putchar('\n');
155 collect_d_bits(); 161 collect_d_bits();
156 check_efr_crc(d_bits); 162 check_efr_crc(d_bits);
157 print_efr_frame(d_bits); 163 print_efr_frame(d_bits);
158 break; 164 break;
159 case 0x08: 165 case 0x08:
166 case 0x09:
160 case 0x16: 167 case 0x16:
168 case 0x17:
161 case 0x14: 169 case 0x14:
162 print_data_frame(); 170 print_data_frame();
163 return; 171 return;
164 } 172 }
165 printf(" C16=%u C17=%u C18=%u C19=%u C20=%u C21=%u\n", 173 printf(" C16=%u C17=%u C18=%u C19=%u C20=%u C21=%u\n",