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0 1 1 1 1 1 0 0 1 0 1 1 0 0 0 0 1 0 1 0 0 0 1 1 0 1 0 0 0 1 1 0 0 1 1 0 1 0 1 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 1 0 0 0 0 0 0 1 1 1 1 0 1 0 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 1 0 1 0 1 1 0 1 1 1 1 1 1 0 0 0 1 1 1 1 0 1 0 1 0 1 1 0 1 1 1 0 0 0 1 0 0 0 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 0 1 0 1 1 1 0 0 1 0 0 1 1 1 0 0 0 1 1 0 0 1 0 1 1 1 1 0 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 0 1 1 0 1 1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 0 0 1 0 0 0
\ No newline at end of file
}
if (hstates->mode == HORUS_MODE_BINARY) {
valid_packet = extract_horus_binary(hstates, ascii_out, uw_loc);
+ //#define DUMP_BINARY_PACKET
+ #ifdef DUMP_BINARY_PACKET
+ FILE *f = fopen("packetbits.txt", "wt"); assert(f != NULL);
+ for(i=0; i<hstates->max_packet_len; i++) {
+ fprintf(f,"%d ", hstates->rx_bits[uw_loc+i]);
+ }
+ fclose(f);
+ exit(0);
+ #endif
}
}