Commit Graph

87 Commits

Author SHA1 Message Date
Felix Rusu 6469dac833 v1.5.1 - setPowerLevelDBm() fix
https://lowpowerlab.com/forum/general-topics/power-levels-again/
2022-02-07 14:19:22 -05:00
Jeremy Gillula 0005bb4846 Since initialize() erases the encryption key, we need to store that we have it (or not) before calling initialize(), and then use that stored value 2021-09-18 18:38:01 -07:00
Felix Rusu b4f3f11b90 SetPowerLevel() fix & ATC refactoring
Fixes #61
2021-08-30 16:52:42 -04:00
Felix Rusu adee271304 add set300KBPS() 2021-07-20 13:58:25 -04:00
Sébastien RAILLARD b4f535d68d update 2021-05-04 00:11:00 +02:00
Sébastien RAILLARD d598b7b1c2 fixing some warnings 2021-05-03 23:24:50 +02:00
renno-bih f26d73afe4
Fix typo in listenModeInterruptHandler method.
When enabling RF69_LISTENMODE_ENABLE we get compile error. Just a small typo.
2020-12-19 09:27:35 +01:00
Felix Rusu 175fae023a Update RFM69.cpp
Fixes #158
2020-11-19 09:17:35 -05:00
Jonas Scharpf 315f0a508a fixed PR remark, added setIrq to keywords file 2020-11-08 08:19:06 +01:00
Jonas Scharpf 5237f7420f add function to set the IRQ explicitly 2020-11-06 21:31:11 +01:00
Felix Rusu e9f527ec18 remove LowPower dependency, example update 2020-09-28 20:09:43 -04:00
Peter adc2d7a523 Add divider for faster SPI for __STM32F1__ board. 2020-08-04 23:39:00 +02:00
Felix Rusu 89b37ff869 Address #148
Address #148
2020-08-01 19:47:33 -04:00
Felix Rusu fe6ccf1624 fix encrypt() for null or "" keys 2020-06-05 13:50:31 -04:00
Felix Rusu b8b22cec79
Merge pull request #143 from Atalonica/master
Custom SPI support
2020-06-03 15:19:04 -04:00
Felix Rusu 8b0c3c9278
Merge pull request #142 from ortegafernando/master
Add getPowerLevel function
2020-06-02 10:28:02 -04:00
ortegafernando aef898228b
Update RFM69.cpp 2020-06-02 15:56:38 +02:00
Auri 78447f61ef
Custom SPI support 2020-06-02 13:43:09 +02:00
ortegafernando 5dedaea406
Add readPowerLevel function 2020-06-02 08:14:53 +02:00
Felix Rusu d3c706cc9a listenModeSleep():AVR only, remove promiscuous() 2020-05-22 12:20:48 -04:00
Felix Rusu 64eb36ba85 add listenModeSleep() + example 2020-05-18 13:54:21 -04:00
Felix Rusu 1bc4b02f22 8mhz SPI clock 2020-05-18 11:12:28 -04:00
Felix Rusu 9bd3608a2a promiscuous deprecated (pragma message) 2020-04-16 09:57:48 -04:00
Felix Rusu 1fe8191663 SAMD21 faster SPI clk, SAMD51 IRQ_PIN 2020-03-31 11:53:58 -04:00
Felix Rusu 1e1236d4b4 ESP32 SPI/pinout support 2020-03-31 11:51:11 -04:00
Felix Rusu aec150f747 1.4.0 changeset 2020-03-03 22:57:06 -05:00
Maxim Prokhorov 6728abaca0 Use relative includes 2020-02-14 14:02:28 +03:00
Felix Rusu d8f8892377 SPI settings fix for ESP 2020-01-21 12:57:21 -05:00
Felix Rusu e6adf4e6d5 ACKRequested() more explicit 2020-01-21 12:56:23 -05:00
Felix Rusu fbc65dedcf Replace promiscuous() with spyMode() 2020-01-21 12:52:45 -05:00
Felix Rusu 4a6f77ad47 A few optimizations 2019-08-02 16:38:00 -04:00
Felix Rusu 6ddfb2ff7d Add ISR_PREFIX for ESP
See Issue #124
2019-07-25 10:41:14 -04:00
Felix Rusu 3913d5689c null terminate radio.DATA 2019-06-05 11:38:14 -04:00
Felix Rusu 3ace1ac2a4 10bit addressing
Uses 4 least significant bits in the CTL header byte to upgrade from 8bit to 10bit addressing, thus extending from 256 to 1024 possible addresses.
2019-05-01 12:02:03 -04:00
Felix Rusu f072131779 Address issue #120 2019-05-01 11:35:34 -04:00
Felix Rusu 32a80592e2 Remove volatiles per issue #115 2019-01-15 19:29:39 -05:00
Felix Rusu 6b9d0c91b9 Add SPI_Transactions 2018-12-13 19:39:20 -05:00
Felix Rusu 3d4a8c99c4 Handle interrupt outside actual ISR
### Commit adapted from 2793a5a909

Handling an interrupt from the RFM69 inside an actual ISR given the
complexity of the handler appears to conflict with I2C devices, blocking
the Arduino indefinitely after a few seconds of concurrent use. In
general, complex ISRs are to be avoided.
2018-08-08 15:34:31 -04:00
Felix Rusu 65fe6dda5f fix hardcoded F_STEP
Thanks to Markus Kettner for spotting this.
2018-04-15 14:57:45 -04:00
Felix Rusu f1cbbea15a Update copyrights 2018-04-09 14:19:14 -04:00
Felix Rusu e1145c9543 Merge ListenMode branch code 2018-04-05 16:20:12 -04:00
Felix Rusu dfffbba7b8 update interrupt, move ctor 2018-04-05 16:00:36 -04:00
Felix Rusu e1faeefdb7
Revert "Allow choosing the SPI interface" 2018-04-05 15:15:36 -04:00
Adam Demuri dd5dc9a706 Allow caller specify a specific SPIClass in the constructor 2018-03-27 22:10:44 -06:00
Felix Rusu dcda86fb90 STM32 M3 support 2018-01-25 19:35:46 -05:00
LowPowerLab 928de01a2b add readAllRegsCompact() 2017-07-24 13:41:41 -04:00
LowPowerLab 18494fe085 merge new RFM69_OTA; upgrade wireless programming 2016-11-17 21:13:22 -05:00
Felix Rusu c4dd545556 Revert "Declare RFM69 interrupt with SPI.usingInterrupt()" 2016-07-13 08:51:55 -04:00
Mark Bergsma bc0665b018 Declare RFM69 interrupt with SPI.usingInterrupt()
This interrupt is then masked during SPI transactions of other
code/libraries that use SPI transactions, to prevent the RFM69
interrupt handler (which does SPI transfers) preempting other SPI
transfers.
2016-06-19 10:18:39 +02:00
Mark Bergsma 2133bbfe79 Don't reenable interrupts in the ISR
The unselect() method, liberally called directly and indirectly
from the interrupt handler, always reenables interrupts after it's
done. In ISRs, interrupts are disabled by default, and although
reenabling is allowed, the interrupt handler doesn't seem to have
reentrant code. Therefore, only reenable when not in an ISR.

This was causing problems in certain circumstances, e.g. with
an Arduino Ethernet shield, most packet receptions would cause
resets.
2016-06-04 20:22:45 +02:00