Commit Graph

102 Commits

Author SHA1 Message Date
franchioping 034caf2f11 add custom bitrate command 2026-04-02 16:29:51 +01:00
franchioping 240306de6e formating and logging 2026-03-29 18:04:36 +01:00
Felix Rusu ec42b5e51b Update RFM69.cpp 2025-10-17 14:23:05 -04:00
Felix Rusu bfcd7a4762 Default 433mhz to legal 433.92mhz
Solves #202
2025-10-17 14:07:34 -04:00
Felix Rusu e29316c40e revert to working getPowerLevel() 2025-02-12 21:20:36 -05:00
Jonas Scharpf 2021234261 Add new getter functions to RFM69 and RFM69 ATC
- getVersion() to read RFM version
- getAddress() to return configured node ID
- getNetwork() to return configured network ID
- getFrequencyDeviation() to read frequency deviation
- getBitRate() to read the modulation bitrate in bits/second
- getSpyMode() to return spy mode setting
- isSyncOn()
- getSyncSize()
- isCrcOn() to check if CRC is activated
- isAesOn() to check if encryption is enabled
- isHighPower() to check if module is configured as HCW or not
- dBm_to_mW() to convert dBm to mW
- getOutputPower() to get the configured output power instead of returning the last set value
- getTargetRssi() to get the configured RSSI value, only for RFM69_ATC
- `_networkID` made public to get it via getNetwork() function
2025-01-03 15:12:16 +01:00
Jonas Scharpf ba99d94215 Fixup some whitespaces and alignments/formatting in the code 2025-01-03 13:22:35 +01:00
Felix Rusu 8b564899c7 bit of refactoring 2023-08-12 21:29:01 -04:00
Felix Rusu 06a4a7ba25 Update RFM69.cpp
Fixes #187
2022-12-27 11:33:28 -05:00
haschler 52df472c32
Revert redundant pin numbering for ESP32
spi->begin() chooses VSPI pin numbering by default.
2022-11-15 21:40:30 +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 b65f6c4eb1
Merge pull request #168 from jdede/esp8266-ACK-fix
Fix for esp8266 ACK problem. Solution as suggested in #49 and #105
2022-02-25 11:03:28 -05:00
Jens Dede d8d4ee6ffe
Also adapt code for send function. Added some comments. 2022-02-25 11:02:39 +01:00
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
Jens Dede e11dc1e059
Fix for esp8266 ACK problem. Solution as suggested in #49 and #105 2021-07-15 22:33:27 +02: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