kopia lustrzana https://github.com/rs1729/RS
MkIIa: sync-header
rodzic
36d81a7535
commit
ba2589c849
|
@ -166,7 +166,7 @@ int read_bits_fsk(FILE *fp, int *bit, int *len) {
|
||||||
#define HEADOFS 0
|
#define HEADOFS 0
|
||||||
// CA CA CA 24 52
|
// CA CA CA 24 52
|
||||||
char header[] = "0010100111""0010100111""0010100111""0001001001"; //"0010010101";
|
char header[] = "0010100111""0010100111""0010100111""0001001001"; //"0010010101";
|
||||||
|
// moeglicherweise auch anderes sync-byte als 0xCA moeglich
|
||||||
char sync[] = "0010100111""0010100111""0010100111""0010100111"; // CA CA CA CA
|
char sync[] = "0010100111""0010100111""0010100111""0010100111"; // CA CA CA CA
|
||||||
|
|
||||||
#define FRAMESTART 0
|
#define FRAMESTART 0
|
||||||
|
|
|
@ -11,6 +11,8 @@ bytes: big endian
|
||||||
sync:
|
sync:
|
||||||
... 0 01010011 10 01010011 10 01010011 10 01010011 1
|
... 0 01010011 10 01010011 10 01010011 10 01010011 1
|
||||||
CA CA CA CA
|
CA CA CA CA
|
||||||
|
(moeglicherweise auch anderes sync-byte moeglich)
|
||||||
|
|
||||||
head:
|
head:
|
||||||
0 00100100 10 01001010 1
|
0 00100100 10 01001010 1
|
||||||
24 52
|
24 52
|
||||||
|
|
Ładowanie…
Reference in New Issue