(hopefully) basic sensible default radio settings
This commit is contained in:
parent
150a23dbaf
commit
e8b52e7c78
1 changed files with 11 additions and 0 deletions
|
@ -80,6 +80,17 @@
|
||||||
|
|
||||||
#define ERR_LOR_VERSION_MISMATCH (01)
|
#define ERR_LOR_VERSION_MISMATCH (01)
|
||||||
|
|
||||||
|
#define LORA32_DEFAULT_CONFIG {\
|
||||||
|
.bandwidth = B250,\
|
||||||
|
.codingRate = 5,\
|
||||||
|
.frequency = 915000000,\
|
||||||
|
.spreadingFactor = 11,\
|
||||||
|
.preamble = DEFAULT_PREAMBLE,\
|
||||||
|
.implicitHeader = false,\
|
||||||
|
.useCRC = false,\
|
||||||
|
.fifoIdx = 0,\
|
||||||
|
}
|
||||||
|
|
||||||
enum freq {
|
enum freq {
|
||||||
F433, F866, F915
|
F433, F866, F915
|
||||||
} lora32_freq;
|
} lora32_freq;
|
||||||
|
|
Loading…
Reference in a new issue