Crsarmv7l
32a277e625
Change comment back
2024-04-29 18:14:45 -04:00
Crsarmv7l
9d0b24ae26
byteBuff as intermediate buffer so we aren't writing straight to the buffer
...
Start to hopefully be able to access the buffer directly.
2024-04-29 18:02:38 -04: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
4ee17cc168
Debugging rework
2024-03-10 11:07:23 +01:00
jgromes
b734e23460
[PHY] Added data rate check method
2024-01-27 18:23:52 +01:00
jgromes
395101ec20
[PHY] Reworked macro configuration system
2023-11-27 21:17:58 +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
58da2a28ac
[PHY] Added channel scan methods to common interface
2023-08-12 18:42:37 +02:00
jgromes
532caaa089
[PHY] Added virtual channel scan method
2023-08-06 16:02:24 +02:00
jgromes
91787eb269
[PHY] Implemented more common methods
2023-07-06 11:10:20 +02:00
jgromes
be7dc572a6
[PHY] Added generic actions
2023-06-21 22:02:40 +02:00
jgromes
f513226376
[PHY] Added default start receive
2023-05-28 22:22:00 +02:00
jgromes
3968e611af
[PHY] Fixed long prints
2023-05-21 18:26:59 +02:00
jgromes
03d2a9bf26
[MOD] Added common reflect method
2023-05-12 20:55:51 +02:00
jgromes
78a576df12
[PHY] Use compact Doxygen and stop using reserved format
2023-04-23 09:12:47 +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
Mestery
220b4dad7f
use printf in both build
2023-04-10 09:13:58 +00:00
Mestery
7b6fd24c8e
fix non arduino build
2023-04-10 09:13:57 +00:00
jgromes
0c15424419
[PHY] Fixed startReceive compatibility ( #700 )
2023-03-26 22:17:19 +02:00
Davide Lasagna
9c94111e73
add functions to PhysicalLayer interface
2023-03-16 19:35:27 +00:00
jgromes
2b2dc2925f
[PHY] Fixed unused variable warning
2023-02-19 17:14:31 +01:00
jgromes
5ca2c8533c
[PHY] Added standby types abstraction
2023-01-14 23:13:27 +01:00
jgromes
02de83f941
[PHY] Made virtual overloads non-pure
2023-01-08 15:10:48 +01:00
jgromes
81c5504260
[PHY] Added debug direct mode output
2022-12-22 16:18:50 +01:00
jgromes
c3d6700e76
[PHY] Added support for interrupt-based timing
2022-11-18 17:04:52 +01:00
jgromes
f68bef2877
[PHY] Added option to keep received data despite CRC error
2022-11-16 19:21:52 +01:00
jgromes
88f528a789
[PHY] Added method to manually drop synchronization in direct mode
2022-10-19 18:10:45 +02:00
jgromes
a1aa52cbea
[PHY] Suppress unused arguments
2022-09-18 16:18:56 +02:00
jgromes
da0993a6ed
Added RADIOLIB_EXCLUDE_DIRECT_RECEIVE exclusion macro ( #557 )
2022-08-15 19:19:59 +02:00
jgromes
8675f13e5d
[Morse] Added basic Morse receive support ( #545 ) CI_BUILD_ALL
2022-07-30 08:53:57 +02:00
obones
e421ab4272
Introduce setDIOMapping on the PhysicalLayer class which, by default, returns "not implemented"
2022-07-07 15:36:25 +02:00
jgromes
ffe271b0c6
[PHY] Fix unknown string length buffer overrun ( #413 )
2021-11-29 08:05:46 +01:00
jgromes
77689e81e0
[PHY] Fixed known binary receive length
2021-11-21 21:16:23 +01:00
jgromes
e775bfc22e
[PHY] Update to 5.0.0
2021-11-14 11:40:06 +01:00
jgromes
2125dfe276
[PHY] Added option to disable sync word matching ( #337 )
2021-09-26 17:45:35 +02:00
jgromes
c843680e07
[PHY] Fixed negative random numbers ( #328 )
2021-07-18 10:19:07 +02:00
jgromes
d645f5ab73
[PHY] Renamed TRNG method
2021-07-18 10:17:19 +02:00
jgromes
7690298d25
[PHY] Added direct reception support
2021-06-14 20:59:38 +02:00
jgromes
7ecd56d2ca
[PHY] Disable shaping in startDirect
2021-02-13 17:43:28 +01:00
jgromes
1a2d66305d
[PHY] Added method to set direct mode parameters ( #177 )
2021-02-13 15:43:16 +01:00
jgromes
e7fb555192
[PHY] Added TRNG support ( #178 )
2020-09-13 17:52:40 +02:00
jgromes
cc06be04de
[PHY] Added Module overrides for all Arduino core functions
2020-08-01 16:36:18 +02:00
jgromes
c429563deb
[PHY] Fixes from cppcheck scan
2020-07-04 15:42:41 +02:00
jgromes
318de480ab
Reworked PhysicalLayer to accept frequency step directly
2020-02-07 18:31:51 +01:00
jgromes
915f3780cc
Reworked directory structure
2019-11-20 17:19:15 +01:00