NXDN: Add DCALL / SDCALL Header and Data Block Assembly; SDCALL_IV Function;

NXDN: Disable LICH "dividing" offbits check on sync detection, causes too many blips on still okay signal, particularly trunking;
This commit is contained in:
lwvmobile
2026-03-13 14:43:14 -04:00
parent f72eb31b30
commit ad77f266c4
4 changed files with 708 additions and 57 deletions

View File

@@ -7,7 +7,7 @@
* NXDN Encoder/Decoder (C) Copyright 2019 Max H. Parke KA1RBI
*
* LWVMOBILE
* 2026-01 DSD-FME Florida Man Edition
* 2026-03 DSD-FME Florida Man Edition
*-----------------------------------------------------------------------------*/
#include "dsd.h"
@@ -15,7 +15,7 @@
#define LICH_ERR_THRESHOLD 7 //Threshold for lich dibit "dividing" errors (8 is perfect, 7 is 1 bit error)
// #define NXDN_DEBUG_LICH //print LICH debug info on err on payload == 1
#define NXDN_LICH_OFFBITS //use the offbits to help determine sync status (disable if bad signal / bad sample)
// #define NXDN_LICH_OFFBITS //use the offbits to help determine sync status (disable if bad signal / bad sample)
//NXDN Type Enablement (handled by cmake -DTYPEC=OFF , -DTYPED=OFF, -DDCR=OFF)
// #define JPNDCR_DECODE //Include Japanese DCR Decoding