Fix LoRaWAN PHY settings for SX126x driver
* Set preamble length to 8 symbols * Set polarity to inverted for received messages
This commit is contained in:
parent
2528f45138
commit
81dc532d2d
1 changed files with 3 additions and 3 deletions
|
@ -87,7 +87,7 @@ where
|
||||||
config.rf.spreading_factor.into(),
|
config.rf.spreading_factor.into(),
|
||||||
config.rf.bandwidth.into(),
|
config.rf.bandwidth.into(),
|
||||||
config.rf.coding_rate.into(),
|
config.rf.coding_rate.into(),
|
||||||
4,
|
8,
|
||||||
false,
|
false,
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
|
@ -119,14 +119,14 @@ where
|
||||||
config.spreading_factor.into(),
|
config.spreading_factor.into(),
|
||||||
config.bandwidth.into(),
|
config.bandwidth.into(),
|
||||||
config.coding_rate.into(),
|
config.coding_rate.into(),
|
||||||
4,
|
8,
|
||||||
4,
|
4,
|
||||||
false,
|
false,
|
||||||
0u8,
|
0u8,
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
0,
|
0,
|
||||||
false,
|
true,
|
||||||
true,
|
true,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue