mcandre / rouge

a work in progress BPSK modem
Other
9 stars 1 forks source link

Count null bytes #15

Open mcandre opened 3 years ago

mcandre commented 3 years ago

as a weak indicator of which bit mapping is likelier.

mcandre commented 3 years ago

hexdump -e '16/1 "%02x " "\n"' file.bin

and

:%s/00//gn <Enter> in vi.

Assuming my bit flip is correct, the original dump has 23 nulls and the bit flipped dump has 21 nulls.

This proximity unfortunately does not provide much evidence for one binary mapping or the other. It may actually indicate that the BPSK analog decoding is faulty, producing output that is too uniform, as if it is still largely analog.

A QPSK decoder may reveal more interesting data.

Or maybe the 6 peak BPSK implementation needs to be reconfigured to include more peaks per bit.