Commit Graph

74 Commits

Author SHA1 Message Date
Jonas Scharpf ba99d94215 Fixup some whitespaces and alignments/formatting in the code 2025-01-03 13:22:35 +01:00
strange_v 4b91c6c1b6 Restructured a bit 2022-07-11 20:51:58 +03:00
strange_v ada0e6abcd Added ISR callback 2022-07-10 17:55:33 +03: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
Max Prokhorov 2efd5b9b9f
Move back the RF69_SPI_CS line 2021-01-26 22:24:22 +03:00
Max Prokhorov 56a4556ef3
Do not redefine RF69_SPI_CS
Avoids `RFM69.h:141:0: warning: "RF69_SPI_CS" redefined [enabled by default]'
Remove esp8266 & esp32 flags, always infer the value through SS
2021-01-24 19:20:22 +03:00
Jonas Scharpf 561995be16 fix IRQ pin define for STM32duino package, see issue #154 2020-11-06 21:30:33 +01:00
Felix Rusu e9f527ec18 remove LowPower dependency, example update 2020-09-28 20:09:43 -04:00
Hendrik Ohrdes 617988a7db set canSend to virtual 2020-08-29 13:02:17 +02:00
Felix Rusu 4235208c68 AVR_ATtinyxy6/7 support
Addresses #145
2020-06-23 11:02:01 -04:00
Felix Rusu 1729bef7fa Add Teensy support
Fixes #144
2020-06-09 09:51:25 -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 4c9aa5ea33
Update RFM69.h 2020-06-02 15:54:44 +02:00
ortegafernando 8d8e42a2ac
Update RFM69.h 2020-06-02 15:53:56 +02:00
Auri 07c3e9ed16
Custom SPI support 2020-06-02 13:27:30 +02:00
ortegafernando 7f4a88b233
Add readPowerLevel function 2020-06-02 08:12:21 +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 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 ff432ab7f5 SAMD arduino cores fix for digitalPinToInterrupt() 2020-01-21 13:00:04 -05:00
Felix Rusu 8cb6eaf46b Add ESP8266 IRQ and SPI_CS defs 2020-01-21 12:58:55 -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 3705da88eb fix broadcast address notes, take2 2019-06-06 19:22:12 -04:00
Felix Rusu 1b2ac4a8c2 fix broadcast address notes
per issue #122
2019-06-06 19:06:01 -04:00
Felix Rusu 3913d5689c null terminate radio.DATA 2019-06-05 11:38:14 -04:00
Felix Rusu 999933b7bf define RFM69_ACK_TIMEOUT 2019-06-05 11:30:45 -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
Christine Yen a480b84b04 Modifying comment per Felix correction 2018-08-23 16:29:26 -07:00
Christine Yen e479f1da28 Update RFM69.h with comment differentiating RSSI and readRSSI() 2018-08-23 00:29:36 -07: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 ba3c3943c8 IRQ def fix for MoteinoM0 2018-05-25 17:33:26 -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
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