1
0
mirror of https://github.com/sandeepmistry/arduino-LoRa.git synced 2025-04-25 09:22:31 +03:00

106 Commits

Author SHA1 Message Date
Pedro L
55d49c577a Use binary literals
Fix deprecated warnings
2022-06-23 20:17:23 -04:00
IoTThinks.com
01bf044b76 Update API.md
Fix typo 866E6 to 868E6
2021-02-27 07:18:14 -05:00
Boba0514
c1bb134755
fixed old URLs in readme.md (#425)
* fixed old URLs in readme.md

* changed to https

forgot first and i couldn't help my ocd, sorry
2021-01-09 09:28:28 -05:00
Sandeep Mistry
b0e38b6962
Create FUNDING.yml 2020-12-08 19:29:14 -05:00
Sandeep Mistry
5e0e6f0794 Version 0.8.0 0.8.0 2020-12-05 10:38:41 -05:00
Sergio
75caa6ba00
fix mid band threshold and add function to get current RSSI value (#288)
* correct mid band threshold on rssi calculatio
* add function to get current rssi value from RegRssiValue
2020-11-18 20:10:58 -05:00
IoTThinks.com
090fe65108
Added setGain for LNA Gain (#408)
* Added setGain for LNA Gain

Added setGain for LNA Gain

* Update API.md

Added API for setGain

* Added example to use setGain

Just use setGain after LoRa.begin
// set maximum LNA for better RX sensitivity
// 0: ADC is used and LNA gain is not used.
// 1-6: ADC is not used and LNA gain is used.
LoRa.setGain(6);

* Fixed spacing only

To change tabs to spaces.

* Delete LoRaReceiverCallbackWithLNAGain.ino

To remove as unnecessary.

* To add example for setGain

To add example for setGain as an optional setting.

* Added setGain

To add setGain

* Fixed typo for AGC

Fixed typo for AGC

* Fixed comment for LoRa.setGain(6)

* Make comment for setGain simpler

Make comment for setGain simpler
2020-11-10 20:51:26 -05:00
Boba0514
21ec3d44bd fixed errors
Europe's designated LoRa frequency is  actually 868MHz and 500Mhz bandwidth is also supported by the library
2020-08-13 06:12:17 -04:00
Morgan 'ARR\!' Allen
7edf89a982 bump version to 0.7.2 0.7.2 2020-03-28 10:38:51 -07:00
Morgan 'ARR\!' Allen
4f90e754f1 accidental re-inclusion of FIFO PTR reset in dio0 handler 2020-03-28 10:38:21 -07:00
Morgan 'ARR\!' Allen
8eb6a51b99 Release 0.7.1 includes onTxDone callback
Merge branch 'ontxpr'
0.7.1
2020-03-12 07:38:11 -07:00
Morgan 'ARR\!' Allen
921f4308ae sending once a second is too aggressive 2020-03-12 07:37:15 -07:00
Luiz Henrique Cassettari
3e4b803b26 Version 0.7.1 2020-03-10 22:42:43 -03:00
Morgan 'ARR!' Allen
26640bc6b7
Merge pull request #320 from ricaun/pr/10
Looks good, thanks a lot, this feature is a great addition
2020-01-23 06:00:40 -08:00
Luiz Henrique Cassettari
4eefce887a Update API.md
Remove this warning
Add dio0 interrupt callbacks
2020-01-23 09:46:50 -03:00
Luiz Henrique Cassettari
1095e4ebb1 Update Example
Update SimpleNode and SimpleGateway
2020-01-13 19:32:57 -03:00
Luiz Henrique Cassettari
d0ee20860f Create LoRaSenderNonBlockingCallback.ino
Simple Example non-blocking callback
2020-01-13 19:17:41 -03:00
Luiz Henrique Cassettari
e641518510 OnTxDone
Add callback onTxDone
2020-01-13 19:01:39 -03:00
Sandeep Mistry
ed97efd1ed Version 0.7.0 0.7.0 2019-11-05 13:42:13 -05:00
Martino Facchin
7c7812073a Travis: add mkrwan1310 target 2019-10-28 12:23:07 -04:00
Martino Facchin
c2987d5952 Slowdown SPi bus to take extra ASM into account 2019-10-28 12:23:07 -04:00
Martino Facchin
731854ba4d Port to MKRWAN1310 2019-10-28 12:23:07 -04:00
Morgan 'ARR\!' Allen
1069ad7592 bump 0.6.1 0.6.1 2019-09-01 18:20:15 -07:00
Morgan 'ARR!' Allen
5a26c3258b
Merge pull request #284 from Paraphraser/isr-prefix-fix
Corrects conditional compilation problem on ESP8266 and ESP32
2019-09-01 12:28:02 -07:00
Phill Kelley
896df75082 Corrects conditional compilation problem on ESP8266 and ESP32
Version 0.6.0 introduced a mechanism to supply the ICACHE_RAM_ATTR
prefix to the onDio0Rise() interrupt service routine when compiling
for ESP32 or ESP8266 boards. As written, "#ifdef ESP8266 || ESP32"
produces "warning: extra tokens at end of #ifdef directive" when
compiling in the Arduino IDE 1.8.9. If the board is an ESP8266 then
ISR_PREFIX has the value ICACHE_RAM_ATTR (correct) but if the board is
an ESP32, ISR_PREFIX is null (incorrect) This PR proposes alternative
syntax "#if (ESP8266 || ESP32)" which compiles without warning and
provides ICACHE_RAM_ATTR to both ESP8266 and ESP32 boards.
2019-09-01 14:03:44 +10:00
Morgan 'ARR!' Allen
22000b2816
Merge pull request #282 from sandeepmistry/0.6.0
release 0.6.0
2019-08-27 22:27:24 -07:00
Morgan 'ARR\!' Allen
9618b68dfa release 0.6.0 0.6.0 2019-08-27 21:48:42 -07:00
Morgan 'ARR!' Allen
f4a1d27644
Merge pull request #269 from torntrousers/issue-218
Don't reset REG_FIFO_ADDR_PTR
2019-07-12 09:19:57 -07:00
Anthony Elder
e272b2ef6a Don't reset REG_FIFO_ADDR_PTR 2019-07-12 14:41:24 +01:00
Morgan 'ARR!' Allen
ce11ade7be
Created issue template
hopefully this will have people read the `setPins` API before submitting an issue.
2019-07-10 12:16:11 -07:00
Morgan 'ARR!' Allen
ea3458133a
Merge pull request #257 from torntrousers/fix-ISR-not-in-IRAM
Fix Crash: ISR not in IRAM when #254
2019-06-12 17:27:16 -07:00
Anthony Elder
1cf44e5bb9 Merge branch 'master' into fix-ISR-not-in-IRAM 2019-06-08 10:31:45 +01:00
Anthony Elder
dee0fdb887 Merge remote-tracking branch 'upstream/master' 2019-06-08 10:31:13 +01:00
Anthony Elder
77a7643dee Add ISR_PREFIX for ESP8266 and ESP32 2019-06-08 10:25:50 +01:00
Morgan 'ARR!' Allen
dff276e268
Merge pull request #187 from per1234/keywords-separator
Use correct field separator in keywords.txt
2018-08-27 12:09:18 -07:00
per1234
510cc003e2
Use correct field separator in keywords.txt
The Arduino IDE requires the use of a single true tab separator between the keyword name and identifier. When spaces are used rather than a true tab the keyword is not highlighted.

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
2018-08-27 05:35:16 -07:00
Sandeep Mistry
baf0d73849
Update README.md
Add more info. about the MKR WAN 1300 firmware.
2018-08-19 10:38:43 -04:00
Samuel Lang
9d2a8c9c82 non blocking functions added (#62) 2018-08-19 10:34:32 -04:00
Luiz
07bfead143 Add function to invert IQ signal register (#179)
Add function to change register (REG_INVERTIQ) to support communication node and gateway

The register does not exist in datasheet but use on but used in Semtech code.
Reference : https://github.com/intel-iot-devkit/upm/blob/master/src/sx1276/sx1276.cxx

* Add LoRa Simple Gateway/Node Exemple

Example how to use InvertIQ function to create a simple Gateway/Node logic.
2018-08-19 09:53:52 -04:00
Sandeep Mistry
403738660b Fix warning 2018-08-06 19:26:01 -04:00
Sandeep Mistry
6a6e9c39d0 Remove trailing white space 2018-08-06 19:25:34 -04:00
Evgeny Dontsov
884769e206 sx127x 20dBm support (#153) 2018-08-06 19:23:53 -04:00
Morgan Allen
4db4095f92 Fix incorrect sync word in API.md
API currently states the default sync word is 0x34 when in fact it\'s 0x12. 0x34 is the sync word when using LoRaWAN
2018-07-30 18:57:13 -04:00
Sandeep Mistry
5f62ed2ce9 Version 0.5.0 0.5.0 2018-05-07 13:03:15 -04:00
Sandeep Mistry
039b138d80
Add support for Arduino MKR WAN 1300 boards (#105)
* Add support for Arduino MKR WAN 1300 board
* Add new LoRa.setSPI(...) API to use radio with a different SPI interface
* Disable LoRa.onReceive(...) and LoRa.receive() on Arduino MKR WAN 1300
* Add errors on sketches not compatible with the Arduino MKR WAN 1300
2018-05-07 13:02:06 -04:00
Sandeep Mistry
a2636d10a9 Version 0.4.0 0.4.0 2018-05-05 16:14:33 -04:00
Anthony Elder
cd0df701a9 Issue 85 setting ldo flag (#121)
* Add getting the frequency error of a packet

* Update for review comments

* Add functions to set low data rate optimization flag

* Typo

* Fixes

* Add packetFrequencyError to API.md

* WIP

* Simplify

* Make getSpreadingFactor private

* Correct LDO bit calculation

* Update LDO determination

* Correct calculation

* Correct calculation

* Revert back to old LDO calculation
2018-05-05 16:12:22 -04:00
torntrousers
1bb95fdd3d Merge branch 'master' of git://github.com/sandeepmistry/arduino-LoRa 2018-03-19 13:46:29 +00:00
torntrousers
5d6a7a398a Correct type of _frequency from int to long 2018-03-18 20:06:04 -04:00
torntrousers
27e2963c97 Add getting the frequency error of a packet (#111) 2018-03-18 20:02:47 -04:00