1 /* Generate tables for CCSDS code
2 * Copyright 2002 Phil Karn, KA9Q
3 * May be used under the terms of the GNU General Public License (GPL)
12 rs = init_rs_char(8,0x187,112,11,32); /* CCSDS standard */
13 printf("unsigned char CCSDS_alpha_to[] = {");
17 printf("0x%02x,",rs->alpha_to[i]);
19 printf("\n};\n\nunsigned char CCSDS_index_of[] = {");
23 printf("%3d,",rs->index_of[i]);
25 printf("\n};\n\nunsigned char CCSDS_poly[] = {");
30 printf("%3d,",rs->genpoly[i]);