Compare commits
No commits in common. "ad717a6978041127ef0bef366f1aada06eae51f8" and "c690e3d4254397e6b1d0b9f4908c632f7b10394d" have entirely different histories.
ad717a6978
...
c690e3d425
1 changed files with 11 additions and 7 deletions
|
@ -97,11 +97,11 @@
|
|||
|
||||
#define ERR_LOR_VERSION_MISMATCH (01)
|
||||
|
||||
#define LORA32_DEFAULT_CONFIG() {\
|
||||
#define LORA32_DEFAULT_CONFIG {\
|
||||
.bandwidth = 7,\
|
||||
.codingRate = 5,\
|
||||
.frequency = 915000000,\
|
||||
.spreadingFactor = 8,\
|
||||
.spreadingFactor = 11,\
|
||||
.preamble = DEFAULT_PREAMBLE,\
|
||||
.implicitHeader = false,\
|
||||
.useCRC = false,\
|
||||
|
@ -109,14 +109,18 @@
|
|||
.copi = 23,\
|
||||
.cipo = 19,\
|
||||
.clk = 18,\
|
||||
.dio0 = 5,\
|
||||
.dio1 = 12,\
|
||||
.dio2 = 13,\
|
||||
.nss = 15,\
|
||||
.reset = 4,\
|
||||
.dio0 = -1,\
|
||||
.dio1 = -1,\
|
||||
.dio2 = -1,\
|
||||
.nss = -1,\
|
||||
.reset = -1,\
|
||||
.spi_host = 1,\
|
||||
}
|
||||
|
||||
enum freq {
|
||||
F433, F866, F915
|
||||
} lora32_freq;
|
||||
|
||||
typedef enum {
|
||||
B78, B104, B156, B208, B3125, B417, B625, B125, B250, B500
|
||||
} bandwidth;
|
||||
|
|
Loading…
Reference in a new issue