GNU Radio's LORA Package
demod.h File Reference
#include <lora/api.h>
#include <gnuradio/block.h>

Go to the source code of this file.

Classes

class  gr::lora::demod
 <+description of block+> More...
 

Namespaces

 gr
 
 gr::lora
 

Macros

#define DEMOD_HISTORY_DEPTH   3
 
#define REQUIRED_PREAMBLE_CHIRPS   4
 
#define REQUIRED_SFD_CHIRPS   2
 
#define LORA_SFD_TOLERANCE   1
 
#define LORA_PREAMBLE_TOLERANCE   1
 
#define DEMOD_SYNC_RECOVERY_COUNT   (8-REQUIRED_PREAMBLE_CHIRPS)+(2-REQUIRED_SFD_CHIRPS)+4
 

Enumerations

enum  gr::lora::demod_state_t {
  gr::lora::S_RESET, gr::lora::S_PREFILL, gr::lora::S_DETECT_PREAMBLE, gr::lora::S_SFD_SYNC,
  gr::lora::S_READ_HEADER, gr::lora::S_READ_PAYLOAD, gr::lora::S_OUT
}
 

Macro Definition Documentation

◆ DEMOD_HISTORY_DEPTH

#define DEMOD_HISTORY_DEPTH   3

◆ DEMOD_SYNC_RECOVERY_COUNT

#define DEMOD_SYNC_RECOVERY_COUNT   (8-REQUIRED_PREAMBLE_CHIRPS)+(2-REQUIRED_SFD_CHIRPS)+4

◆ LORA_PREAMBLE_TOLERANCE

#define LORA_PREAMBLE_TOLERANCE   1

◆ LORA_SFD_TOLERANCE

#define LORA_SFD_TOLERANCE   1

◆ REQUIRED_PREAMBLE_CHIRPS

#define REQUIRED_PREAMBLE_CHIRPS   4

◆ REQUIRED_SFD_CHIRPS

#define REQUIRED_SFD_CHIRPS   2