mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 06:26:42 +00:00
Add the sync and RRC 0.5 data and code.
This commit is contained in:
parent
0334b5a791
commit
f2d2033733
5 changed files with 15 additions and 15 deletions
14
M17Defines.h
14
M17Defines.h
|
|
@ -30,18 +30,18 @@ const unsigned int M17_SYNC_LENGTH_BITS = 16U;
|
|||
const unsigned int M17_SYNC_LENGTH_SYMBOLS = M17_SYNC_LENGTH_BITS / 2U;
|
||||
const unsigned int M17_SYNC_LENGTH_SAMPLES = M17_SYNC_LENGTH_SYMBOLS * M17_RADIO_SYMBOL_LENGTH;
|
||||
|
||||
const uint8_t M17_SYNC_BYTES[] = {0xCDU, 0xF5U}; // XXX
|
||||
const uint8_t M17_SYNC_BYTES[] = {0x32U, 0x43U};
|
||||
const uint8_t M17_SYNC_BYTES_LENGTH = 2U;
|
||||
|
||||
const uint16_t M17_SYNC_BITS = 0xCDF5U; // XXX
|
||||
const uint16_t M17_SYNC_BITS = 0x3243U;
|
||||
|
||||
// C D F 5 // XXX
|
||||
// 11 00 11 01 11 11 01 01 // XXX
|
||||
// -3 +1 -3 +3 -3 -3 +3 +3 // XXX
|
||||
// 3 2 4 3
|
||||
// 00 11 00 10 01 00 00 11
|
||||
// +1 -3 +1 -1 +3 +1 +1 -3
|
||||
|
||||
const int8_t M17_SYNC_SYMBOLS_VALUES[] = {-3, +1, -3, +3, -3, -3, +3, +3}; // XXX
|
||||
const int8_t M17_SYNC_SYMBOLS_VALUES[] = {+1, -3, +1, -1, +3, +1, +1, -3};
|
||||
|
||||
const uint16_t M17_SYNC_SYMBOLS = 0x014DU; // XXX
|
||||
const uint8_t M17_SYNC_SYMBOLS = 0xAEU;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue