Skip to content

Commit cb17013

Browse files
committed
Fix other config
1 parent 442971f commit cb17013

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=LoRaNow
2-
version=1.0.1
2+
version=1.0.2
33
author=Luiz Henrique Cassettari
44
maintainer=Luiz Henrique Cassettari <[email protected]>
55
sentence=LoRaNow Library is a simple LoRa Node <> Gateway communication protocol.

src/LoRaNow.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,11 @@ void LoRaNowClass::txMode()
494494
LoRa.idle();
495495
LoRa.setFrequency(frequency);
496496
LoRa.setSpreadingFactor(sf);
497+
LoRa.setSignalBandwidth(125E3);
498+
LoRa.setCodingRate4(5);
499+
LoRa.setPreambleLength(8);
500+
LoRa.setSyncWord(0x12);
501+
LoRa.disableCrc();
497502

498503
if (LoRaNow._gateway == true)
499504
LoRa.enableInvertIQ();

0 commit comments

Comments
 (0)