Benjamin Valentin
312a550f1a
treewide: remove THREAD_CREATE_STACKTEST from thread creation
2024-07-29 11:45:58 +02:00
4f9c28eee8
pkg/semtech-loramac: use CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK
2022-01-14 10:21:20 +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
084bcf3ea6
semtech-loramac: avoid explicit cast to netdev
2021-07-09 11:35:20 +02: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
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
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
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
05f5d5d638
pkg/semtech-loramac: fix typos
2019-11-23 22:39:38 +01:00
Francisco Molina
1357f46c47
pkg/semtech-loramac: add uplink_counter get/set functions
2019-09-05 16:01:32 +02:00
01195a073f
pkg/semtech-loramac: handle rx started event in mac event callback
...
This is only used for debugging purpose when ENABLE_DEBUG is set and avoid having a message about an unexpected event received
2019-07-04 19:34:24 +02:00
2703316900
pkg/semtech-loramac: update rx parameters type
...
System max RX error is in ms and should be uint32_t, min RX symbols is supposed to be uint8_t in loramac-node code
2019-06-05 18:46:03 +02:00
ba8e7e5eaf
pkg/semtech-loramac: persist updated RX2 params
...
After a successful OTAA join procedure, the network may change the RX2 channel datarate. It's
required to also persist to be able to correctly receive downlink after a reboot
2019-05-30 13:41:54 +02:00
b4d905471f
pkg/semtech-loramac: persist OTAA join information in eeprom
...
This allows to continue sending data even after a reboot of a device that provide non volatile storage, e.g. eeprom
2019-05-30 13:41:54 +02:00
b5c48ef04e
pkg/semtech-loramac: make RX optional
2019-05-29 16:24:52 +02:00
b7890b3031
pkg/semtech-loramac: refactor send and recv interactions with the MAC
...
Now TX notification messages are only sent after mcps confirm event. RX message notification message is sent after mcps indication
2019-05-29 16:24:23 +02:00
d1798375e0
pkg/semtech-loramac: reduce MAC thread message queue
2019-05-29 16:24:22 +02:00
Guillaume Gonnet
f5c9fef096
pkg/semtech_loramac: fix DEBUG message when payload is NULL
...
In function `_semtech_loramac_send` parameter `payload` can be NULL (that the
case when scheduling an immediate TX, line 726). As DEBUG macro use printf,
a %s parameter can't be NULL so we have to handle that case.
2019-05-15 20:50:55 +02:00
4e827085f7
pkg/semtech-loramac: provide a way to disable dutycycle
...
Duty cycle can be disabled by building the application using CFLAGS=-DDISABLE_LORAMAC_DUTYCYCLE
2019-03-23 07:38:38 +01:00
d562af40e6
Merge pull request #11144 from jia200x/pr/netdev_lora_rx_info
...
netdev/lora: add netdev_lora_rx_info structure for RX info
2019-03-08 18:36:02 +01:00
Jose Alamos
dd2e0bb7a7
pkg/semtech_loramac: use netdev_lora_rx_info structure for RX info
2019-03-08 17:47:22 +01:00
Jose Alamos
ee93796975
pkg/semtech_loramac: add null guards to radio_events descriptor
2019-03-07 17:36:29 +01:00
afc85e3daa
pkg/semtech-loramac: improve send and recv functions doc
2019-01-30 18:58:43 +01:00
1f0b2c390e
pkg/semtech-loramac: better handle TX status from the MAC
2019-01-30 18:58:28 +01:00
Jose Alamos
3c2617dfeb
pkg/semtech-loramac: set default timer calibration values
2019-01-25 14:18:46 +01:00
2f2512601f
pkg/semtech-loramac: add config storage to eeprom in API
2018-10-15 14:15:29 +02:00
46c711152c
pkg/semtech-loramac: improve MAC status management
...
- better handler duty cycle restriction of the MAC when joining and sending
- remove state attribute and rely on internal loramac busy state
- don't join if already joined
2018-09-25 22:22:13 +02:00
6eb1facac5
pkg/semtech-loramac: adapt to v4.4.1
2018-09-25 22:22:13 +02:00
87090072cf
pkg/semtech-loramac: handle all mcps confirm cases
2018-05-08 11:14:05 +02:00
8329bc2c68
pkg/semtech-loramac: add link check request support
2018-04-19 13:29:47 +02:00
5b76fdf46e
pkg/semtech-loramac: refactor API to make it thread-safe
2018-04-19 11:44:51 +02:00
96e059d88a
pkg: add Semtech LoRaMAC package
2018-01-18 15:31:01 +01:00