jgromes
fa1760d0b1
[SX126x] Pass scan config by const reference
2024-08-28 19:36:12 +02:00
jgromes
cc299053b1
[SX126x] Rework generic IRQ to allow multiple flags
2024-08-25 18:15:52 +02:00
jgromes
21bf99cfe6
[SX126x] Added missing override specifiers
2024-08-20 20:51:00 +02:00
jgromes
fcdc1d782e
[SX126x] Added generalized IRQ handling via PHY
2024-08-20 20:36:01 +02:00
jgromes
b0f9ed6d78
[SX126x] Added channel scan configuration
2024-08-18 11:08:44 +02:00
StevenCellist
0bc0e3d9c8
[PHY, modules, LoRaWAN] Integrate feedback
2024-08-17 22:03:48 +02:00
StevenCellist
3a73ed8c1f
[SX126x] Generalize IRQ checks
2024-08-16 00:04:42 +02:00
GUVWAF
0620d8edda
[SX126x] Start reading from Rx buffer offset
...
Remove setting RxBaseAddr to 0
2024-08-10 12:56:12 +02:00
jgromes
fffb1fae9f
[PHY] Make transmit data const ( #1156 )
2024-07-13 16:42:46 +01:00
jgromes
ce8e6fdfb0
[SX126x] Added missing PHY getRSSI ( #1132 )
2024-06-25 16:56:26 +01:00
jgromes
77bc8fb33e
[SX126x] Added missing override
2024-05-26 08:44:12 +02:00
jgromes
63ef9e0977
Fixup doxygen comments ( #1089 )
2024-05-15 18:43:19 +02:00
Dominic Moffat
b336dd59f9
Fixes overload warning when building with ESP IDF ( #1089 )
...
* fixes overload
* fixes overload
* fixes overload warnings in ESP-IDF
2024-05-15 18:40:08 +02:00
jgromes
3d9815f93d
Use explicit constructors for base classes
2024-05-11 17:22:57 +01:00
jgromes
bfb7c8dd3b
[SX126x] Use 32-bit IRQ flags
2024-05-08 14:54:22 +02:00
jgromes
3b62c88a2e
[SX126x] Fixed issues found by cppcheck
2024-05-05 20:11:02 +01:00
Elizabeth Myers
205031550b
Use RadioLibTime_t (aka unsigned long) when dealing with millis() and micros() ( #1075 )
...
* Use unsigned long when dealing with millis() and micros().
Although sizeof(uint32_t) == sizeof(unsigned long) on Arduino, this is
not the case on 64-bit Linux, where sizeof(unsigned long) ==
sizeof(uint64_t).
Most timestamp arithmetic and comparisons have been left alone, to
reduce code churn. This is fine, as uint32_t is perfectly wide to store
most timestamp deltas this library will deal with, and C will promote
the integer rather than do a narrowing conversion. The real problem
arises with narrowing conversions being done by assuming timestamps are
32-bit.
No functional changes intended for platforms where sizeof(uint32_t) ==
sizeof(unsigned long) (so most 8/16/32-bit platforms).
Signed-off-by: Elizabeth Myers <elizabeth.jennifer.myers@gmail.com>
* Change most timestamps to use RadioLibTime_t.
This makes it obvious what is and isn't a timestamp.
Not everything has been converted; anything dealing with protocol and
chip-level timestamps has been left alone on purpose, to make it clear
that these functions do require 32-bit timestamps.
No functional changes intended on platforms where sizeof(uint32_t) ==
sizeof(unsigned long).
Signed-off-by: Elizabeth Myers <elizabeth.jennifer.myers@gmail.com>
* Use uint32_t internally in getTimeOnAir.
We need to not overflow the integers with the shifts and
multiplications, so this is correct behaviour.
Signed-off-by: Elizabeth Myers <elizabeth.jennifer.myers@gmail.com>
---------
Signed-off-by: Elizabeth Myers <elizabeth.jennifer.myers@gmail.com>
2024-04-25 21:50:58 +02:00
jgromes
f61be0d273
[SX126x] Added public method to set PA ramp time ( #1054 )
2024-04-05 17:30:05 +02:00
jgromes
5d741779a1
[SX126x] Use predefined image calibration bands ( #1051 )
2024-04-04 21:27:12 +02:00
jgromes
e7ee407b0d
[Doc] Additional doxygen fixes
2024-04-01 12:11:13 +02:00
Jan Gromeš
e57c9b08ea
[Doxygen] Warnings fixes ( #1046 )
...
* [APRS] Fix Doxygen warnings
* [Print] Fix Doxygen warnings
* [CC1101] Fixed doxygen warnings
* [nRF24] Fixed doxygen warnings
* [RF69] Fixed doxygen warnings
* [SX126x] Fixed doxygen warnings
* [SX127x] Fixed doxygen warnings
* [AFSK] Fixed doxygen warnings
* [APRS] Fixed doxygen warnings
* [Bell] Fixed doxygen warnings
* [Ext] Fixed doxygen warnings
* [LoRaWAN] Fixed doxygen warnings
* [PHY] Fixed doxygen warnings
* [Print] Fixed doxygen warnings
* [Mod] Fixed doxygen warnings
2024-04-01 11:11:24 +02:00
jgromes
b288485d6c
[SX126x] Added option to select standby mode ( #1008 )
2024-03-12 21:52:17 +01:00
jgromes
a642f5a8df
[SX126x] Implemented data rate check
2024-01-27 18:46:22 +01:00
jgromes
d301aa6a37
[SX126x] Fix txMode made private
2024-01-14 16:48:06 +01:00
jgromes
34d80faaf0
[SX126x] Cleanup private/protected members
2024-01-12 20:00:08 +01:00
jgromes
3478d90819
[SX126x] Improved image calibration
2024-01-04 18:21:35 +01:00
jgromes
49feff6df2
[SX126x] Reworked macro configuration system
2023-11-27 19:43:01 +01:00
StevenCellist
82258105b7
[LoRaWAN] Rework bands, official Rx windows, support ADR, confirm frames, improve EEPROM handling, support clock drift ( #867 )
...
* [LoRaWAN] rework bands, add ADR, partial MAC support
Known problem: terribly bad at receiving downlinks
Mask-list bands (e.g. US915) untested, likely a few bugs
* [LoRaWAN] Change Rx windows from CAD to RxSingle
* [LoRaWAN] improve persistence, better Rx windows, wear leveling, confirmed frames
* [LoRaWAN] Module-independent (OTAA) Rx windows, fix confirming downlinks
* [LoRaWAN] Implement SX127x support, fix MAC uplinking, support clock drift
* [ArduinoHal] fix clock drift calculation
* [LoRaWAN] Improve band & ADR logic, allow setting ADR, DR, subband, update examples
* [LoRaWAN] Fix EU868 coding rate, improve example
* [LoRaWAN] fix unused channel index
* [LoRaWAN] fix merge issue (deleted line)
* [LoRaWAN] fix CSMA calling now incorrect function
* [LoRaWAN] fix include logic
* [LoRaWAN] fix warnings, remove duplicate function
* [LoRaWAN] improve examples, add unified sendReceive, bugfixes, add FSK
* [LoRaWAN] improve examples
* [LoRaWAN] add new keywords, add debug guard
* [SX127x] Updated startReceive interface to be more in line with SX126x
* [SX127x] Added public method to convert from bytes to symbols
* [LoRaWAN] Update start receive for SX127x
* Added note about LoRaWAN beta
* [SX127x] Fixed potential float overflow
---------
Co-authored-by: jgromes <jan.gromes@gmail.com>
2023-11-12 14:02:39 +01:00
jgromes
29c891e017
[SX126x] Fixed duplicate setPaConfig
2023-10-20 19:45:50 +02:00
jgromes
f1f3336e59
[SX126x] Make setPaConfig public ( #852 )
2023-10-20 19:37:44 +02:00
jgromes
44bdf0dba4
[SX126x] Changed default whitening initial value for SX127x/LoRaWAN compatibility ( #832 )
2023-09-25 06:42:15 +02:00
jgromes
db3ac8bf19
[SX126x] Implemented common CAD methods
2023-08-12 18:45:42 +02:00
jgromes
86724197ec
[SX126x] Added default channel scan override
2023-08-06 16:07:28 +02:00
jgromes
d1e3691c32
Added notes about getPacketLength ( #214 )
2023-07-15 19:40:07 +02:00
jgromes
8fd0a67a78
Typo fixes
2023-07-15 19:13:16 +02:00
jgromes
d561d41e95
[SX126x] Implemented new common PHY methods
2023-07-06 11:14:44 +02:00
jgromes
787ebde43e
[SX126x] Implemented generic IRQ actions ( #773 )
2023-06-21 22:21:55 +02:00
jgromes
cf677e6b15
[SX126x] Fixed default parameters
2023-05-28 22:32:24 +02:00
jgromes
2b28296c94
[SX128x] Added default startReceive method
2023-05-28 22:20:54 +02:00
jgromes
89f909fc6e
[SX126x] Added force wakeup to standby ( #740 )
2023-05-02 21:05:13 +02:00
jgromes
bdc5bb0bba
[SX126x] Wakeup device on standby() call ( #740 )
2023-05-02 18:59:33 +02:00
jgromes
d4365a3b1e
[SX126x] Fixed variable shadowing
2023-04-23 22:04:40 +02:00
jgromes
f1c9423035
[SX126x] Fixed typo
2023-04-23 21:11:27 +02:00
jgromes
a015e541f6
[SX126x] General reformatting
2023-04-23 19:06:45 +02:00
Jan Gromeš
b76b819b12
Merge pull request #730 from Mesteery/new-hal
...
Improve hardware abstraction layer
2023-04-22 16:26:31 +02:00
jgromes
2e8d0ae8a3
[SX126x] Fixed IQ inversion not caching ( #731 )
2023-04-17 19:10:26 +02:00
Mestery
9a68a3c901
use uint32 instead of uint8 for pin type
2023-04-16 21:39:00 +02:00
Mestery
ec3d4eaf20
Improve hardware abstraction layer
2023-04-12 23:16:18 +02:00
jgromes
cb385f5946
[SX126x] Remove standby before data read ( #703 )
2023-04-10 14:05:25 +02:00
jgromes
9dde85598b
[SX126x] Added IQ inversion
2023-04-08 21:44:51 +02:00