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
LowPowerLab
ec90680e00
Revert "add SPI transaction support"
...
This reverts commit c38928ecb4 .
2016-02-29 21:21:52 -05:00
LowPowerLab
c38928ecb4
add SPI transaction support
...
Based on this commit:
e707b9a3ad
And also on Tom's SPI transaction branch:
https://github.com/TomWS1/RFM69/tree/With-SPI-and-transmit-power-updates
2016-02-29 17:37:42 -05:00
LowPowerLab
c24051e933
minor tweaks & SPCR/SPSR filters
2016-02-29 14:36:24 -05:00
LowPowerLab
0c8fbacc5c
+TomWS1's virtualization & more; +deadlock checks
...
Integrate TomWS1's virtualized changes, and virtual interruptHook().
Set ACK_REQUESTED = 0 in sendACK() to avoid ACK infinite looping.
Protect while(true) calls against infinite looping.
2015-10-01 12:15:28 -04:00
Felix Rusu
9de0c3ba9d
Update RFM69.cpp
2015-08-22 22:13:20 -04:00
Ryan Pipkin
c3c9c7df1b
Merge remote-tracking branch 'upstream/master'
...
- Manually resolved RFM69.cpp
Conflicts:
RFM69.cpp
2015-08-22 20:03:51 -05:00
LowPowerLab
4b82e285b0
add more comments
2015-05-19 15:08:41 -04:00
LowPowerLab
5502c186db
Fix setPowerLevel
2015-04-01 16:26:54 -04:00
Daniel A. Maierhofer
c9440c9249
Save program space by calculating CTLbyte instead of fixed literal
...
by fca63f659d
2015-02-06 12:21:13 +01:00