1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

102 Commits

Author SHA1 Message Date
9467f04008
pkg/semtech-loramac/doc: sx1261 and sx1262 are also supported 2023-04-30 21:56:52 +02:00
be54114b6d
pkg/semtech-loramac: fix makefile highlighting in documentation 2023-04-03 08:15:50 +02:00
Marian Buschsieweke
16df27c51d
makefiles/cflags.inc.mk: Add -Wno-missing-field-initializers to CXXFLAGS
This allows including C headers from C++. It sadly reduced the
diagnostics on C++ code as well, were there warning may make sense as
unintended side effect. We may be able to drop that later on, when more
C APIs are properly wrapped in native C++ APIs, so that C headers do no
longer need to be compatible with C++ compilers.
2022-10-27 14:28:06 +02:00
Geovane Fedrecheski
eabeee0ebe sys/shell+pkg/semtech-loramac: add get ch_mask
Also, set LORAMAC_CHANNELS_MASK_LEN based on the
selected LORA_REGION configuration.
2022-03-18 14:26:01 -03:00
Geovane Fedrecheski
d5b4492cf3 pkg/semtech-loramac: enable setting channels mask
- user can set the channel mask
- includes a patch due to LoRa v1.0.3rA spec change
2022-03-17 23:37:47 -03:00
75f5048b68
Merge pull request #17497 from jia200x/pr/lora/fix_rssi_val
[treewide] lora: use int16_t for RSSI value
2022-01-17 18:57:37 +01:00
Jose Alamos
9955a35c63
[treewide] lora: use int16_t for RSSI value
The RSSI values reported by LoRa transceiver can be less than -127.
Therefore, `int8_t` is not enough. This commit defines the RSSI of
`netdev_lora_rx_info` as `int16_t` and adapt the drivers accordingly
(sx126x, sx127x).
2022-01-17 17:54:18 +01:00
4f9c28eee8
pkg/semtech-loramac: use CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK 2022-01-14 10:21:20 +01:00
Francisco Molina
8177563f74 pkg/semtech-loramac: fix cppcheck comments 2021-11-03 10:05:46 +01:00
Francisco Molina
c29e900c42 pkg/semtech-loramac: fix get/set dr command 2021-11-02 22:03:16 +01:00
Jose Alamos
b11e58f843 pkg/semtech-loramac: forward uplink schedule request to upper layer 2021-10-18 14:07:21 +02:00
Jose Alamos
6ffecfe8d6
Revert "pkg/semtech-loramac: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT"
This reverts commit 79e194783c.
2021-07-13 21:14:19 +02:00
Jose Alamos
084bcf3ea6
semtech-loramac: avoid explicit cast to netdev 2021-07-09 11:35:20 +02:00
Jose Alamos
79e194783c
pkg/semtech-loramac: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT 2021-07-01 11:59:22 +02:00
581d78561e
pkg/semtech-loramac: don't force ztimer periph_rtt backend 2021-06-17 13:06:15 +02:00
Ollrogge
427d2bd06e sys/crypto: Enable support for AES-192, AES-256 2021-05-03 17:34:49 +02:00
Oleg Artamonov
a3cbeee9ce
pkg/semtech-loramac: switch to RIOT AES 2021-04-12 11:13:50 +02:00
Francisco
7b65dda691
Merge pull request #16190 from aabadie/pr/pkg/make_silent_ci_build
pkg: silent make commands with RIOT_CI_BUILD=1
2021-03-30 10:28:12 +02:00
90b74104f2
pkg/semtech-loramac: use common time on air computation helper 2021-03-15 09:48:42 +01:00
9bd22dba79
pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
f337a9025a
pkg/semtech-loramac: only handle CAD/FHSS events with sx127x 2021-03-12 14:40:12 +01:00
5aff617512
pkg/semtech-loramac: rework to only use netdev interface 2021-03-12 14:40:12 +01:00
25a613ba93
pkg/semtech-loramac: use netdev interface to set sleep state 2021-03-12 11:38:14 +01:00
Akshai M
c7691035a6 pkg/semtech-loramac : Translate the configs
Translate Kconfigs and CFLAGS
2021-01-26 16:56:05 +01:00
Akshai M
42eb6c4097 net/lorawan : Update documentation
Marked as non-supported:
LORAMAC_DEFAULT_ADR_ACK_LIMIT
LORAMAC_DEFAULT_ADR_ACK_DELAY
LORAMAC_DEFAULT_ADR_TIMEOUT
2021-01-26 16:56:05 +01:00
Akshai M
9600ebf536 net/lorawan : Expose to Kconfig 2021-01-26 16:56:02 +01:00
Akshai M
a2f505f116 net/lorawan : Move 'LORAMAC_DEFAULT_MIN_RX_SYMBOLS' to 'CONFIG_' 2021-01-26 16:52:59 +01:00
Akshai M
216956d7b0 net/lorawan : Move 'LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR' to 'CONFIG_' 2021-01-26 16:52:59 +01:00
Akshai M
97d873a5bd net/lorawan : Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_' namespace and model
'CONFIG_LORAMAC_DEFAULT_ADR' as BOOL for Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
d2d90fbce5 net/lorawan : Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_' and added symbols
for Kconfig exposure
2021-01-26 16:52:58 +01:00
Akshai M
aa3b1da0c4 net/lorawan : Move 'LORAMAC_DEFAULT_TX_PORT' to 'CONFIG_' 2021-01-26 16:52:58 +01:00
Akshai M
55f196095d net/lorawan : Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_' and enable options for
Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
1befae9022 net/lorawan : Invert 'LORAMAC_DEFAULT_PUBLIC_NETWORK'
Introduced a bool 'LORAMAC_DEFAULT_PRIVATE_NETWORK' to invert
the semantics of 'LORAMAC_DEFAULT_PUBLIC_NETWORK'. Move
'LORAMAC_DEFAULT_PRIVATE_NETWORK' to 'CONFIG_' namespace.
2021-01-26 16:52:58 +01:00
Akshai M
3c5c429541 net/lorawan : Move 'LORAMAC_DEFAULT_NETID' to 'CONFIG_' 2021-01-26 16:52:58 +01:00
Akshai M
e46c4401a9 net/lorawan : Move 'LORAMAC_DEFAULT_DEVICE_CLASS' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_DEVICE_CLASS' to 'CONFIG_' and added
additional symbols for Kconfig exposure.
2021-01-26 16:52:57 +01:00
Fabian Hüßler
c526a34770 sx127x: make use of netdev_register()
Call netdev_register() in sx127x_setup()
and pass the index in auto_init_sx127x()
and semtech_loramac_init()
2020-12-01 16:34:11 +01:00
Bas Stottelaar
9dd3b7a3ec pkg/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:49:39 +01:00
Alexander Podshivalov
a82318d4ec pkg/semtech-loramac: reduce scope of radio_payload and make CI happy 2020-10-31 18:09:51 +03:00
Alexander Podshivalov
4d5812eded pkg/semtech-loramac: check return value of recv() in NETDEV_EVENT_RX_COMPLETE 2020-10-31 00:22:11 +03:00
Bas Stottelaar
38a5ff7d4b pkg/*: realign ENABLE_DEBUG 2020-10-23 02:43:10 +02:00
abfbc8a813
pkg/semtech-loramac: add documentation about ztimer 2020-08-20 14:08:03 +02:00
52748dd935
pkg/semtech-loramac: migrate to ztimer usage 2020-08-20 13:41:40 +02:00
Benjamin Valentin
e3fd43861c pkg/semtech-loramac: allow pointer <-> function pointer cast
Building on native reveals

    error: ISO C forbids initialization between function pointer and ‘void *’

Let's disable that.
2020-07-31 13:38:03 +02:00
385ad95701
pkg: adapt 'simple' packages to the new organization 2020-06-26 09:25:43 +02:00
12044356de
pkg/semtech-loramac: cleanup build system integration
Avoid copying Makefile in the cloned directory
2020-06-10 14:11:22 +02:00
ca4c9c38f5
pkg/semtech-loramac: fix rx thread documentation 2020-04-22 10:16:34 +02:00
2f9b77920d pkg/semtech-loramac: TimerInit(): use static struct initializer
Previously, TimerInit() explicitly set some values of the xtimer truct
to "0". This commit changes it to use a static struct initializer
`(xtimer_t){0}`. The advantage is that now this is independent of the
actual xtimer structure.

Now this also resets the remaining xtimer fields, but they're properly
re-populated elsewhere (by using xtimer_set_msg()).
2020-04-21 11:26:57 +02:00
Hyungsin
3289acccfb pkg/semtech-loramac/contrib: reflecting xtimer's member change 2020-01-10 13:21:14 -08:00
Gaëtan Harter
ca5d13cc2a pkg/*: adapt to new state file targets
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00
05f5d5d638 pkg/semtech-loramac: fix typos 2019-11-23 22:39:38 +01:00