Browse Source

packet demod PACKETDEMOD_CHASE_MAX missing

chirpmodem-v8.0.0
Tomas Jura 3 months ago
parent
commit
6ddd5bd2e1
  1. 11
      plugins/channelrx/demodpacket/packetdemodframer.h

11
plugins/channelrx/demodpacket/packetdemodframer.h

@ -50,14 +50,15 @@ @@ -50,14 +50,15 @@
// bit stuffing and flags is under 5000 symbols.
#define PACKETDEMOD_SYM_HIST 8192
// Largest Chase depth honoured, matching the GUI spin box. The work is 2^n - 1 rebuilt
// and re-CRC'd frames for every CRC failure on every detector, so 12 is already 4095;
// the value reaches here from presets and the REST API, neither of which bounds it,
// and 1u << n is undefined once n reaches 32.
#define PACKETDEMOD_CHASE_MAX 12
class PacketDemodFramer
{
public:
// Largest Chase depth honoured, matching the GUI spin box. The work is 2^n - 1 rebuilt
// and re-CRC'd frames for every CRC failure on every detector, so 12 is already 4095;
// the value reaches here from presets and the REST API, neither of which bounds it,
// and 1u << n is undefined once n reaches 32.
static const int PACKETDEMOD_CHASE_MAX = 12;
// Returns true if the frame was accepted - the caller's deduplication decides, and the
// framer reports that back so callers can count distinct packets rather than the

Loading…
Cancel
Save