Commit Graph

9 Commits

Author SHA1 Message Date
Matthijs Kooijman 234459a1b3
Merge 9735e00c0c into 139e8d28bc 2025-03-12 02:30:53 +01:00
Rania JMAI 9d77b66f25 Release v1.3.1 2025-01-30 09:55:17 +01:00
Matthijs Kooijman 17482cea0d Add additional debug output
This adds some more details about RX and TX bytes and TX config. There
is also some code for RX config, but to minimize the impact on RX
timing, that is commented out.
2022-12-15 20:28:25 +01:00
Matthijs Kooijman 1c17e31589 Fix printf format warnings
These warnings are caused because frequencies are stored as `uint32_t`,
which is `unsigned long`, while the printf format expects `int`. In
practice, this does not actually cause problems, since on STM32 gcc
`long` and `int` are both 32-bits and frequencies are never large enough
to cause signed vs unsigned ambiguity.

Since printf has no format specifiers for e.g. uint32_t (libc does have
some macros for this, but those really hurt readability), this is tricky
to fix in a portable way (other architectures or compilers might have
`uint32_t` equal to `unsigned int` instead of `unsigned long`), this fix
just casts the frequency to `unsigned` before passing it to printf (and
for good measure, also convert the specifier from `%d` to `%u`). This
does mean this printing will break if `int` is not at least 32-bits
(e.g. on AVR), but given the scope of this library, that should be
acceptable.
2022-12-15 20:27:13 +01:00
Matthijs Kooijman 8372970ad4 Fix comments in LoRaMacCallback_t
It seems the comment for GetDevAddress was copied from GetUniqueId, but
not changend sufficiently to be correct.
2022-12-15 08:53:55 +01:00
Ali Labbene 378e461e46 Release v1.3.0 2022-12-08 15:37:52 +01:00
Ali Labbene 6d27fec2e5 Release v1.2.0 2022-12-07 18:38:46 +01:00
Eya 1555f88ae1 Release v1.1.0 2021-07-23 11:28:25 +01:00
Ali Labbene 747d4e27df Release v1.0.0 2020-12-18 15:30:45 +01:00