Skip to content

Commit

Permalink
Fix other config
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Apr 8, 2019
1 parent 442971f commit cb17013
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=LoRaNow
version=1.0.1
version=1.0.2
author=Luiz Henrique Cassettari
maintainer=Luiz Henrique Cassettari <[email protected]>
sentence=LoRaNow Library is a simple LoRa Node <> Gateway communication protocol.
Expand Down
5 changes: 5 additions & 0 deletions src/LoRaNow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,11 @@ void LoRaNowClass::txMode()
LoRa.idle();
LoRa.setFrequency(frequency);
LoRa.setSpreadingFactor(sf);
LoRa.setSignalBandwidth(125E3);
LoRa.setCodingRate4(5);
LoRa.setPreambleLength(8);
LoRa.setSyncWord(0x12);
LoRa.disableCrc();

if (LoRaNow._gateway == true)
LoRa.enableInvertIQ();
Expand Down

0 comments on commit cb17013

Please sign in to comment.