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
5400ab7284
pkg/semtech-loramac: blacklist MSP430 based boards
EXIT_SUCCESS/EXIT_FAILURE macros are not provided by the toolchain, which ends-up in a failing build
2019-11-15 18:14:25 +01:00
900e7c4040
pkg/semtech-loramac: fix failed assertion in randr function 2019-10-07 15:30:31 +02:00
Francisco Molina
1357f46c47 pkg/semtech-loramac: add uplink_counter get/set functions 2019-09-05 16:01:32 +02:00
Francisco Molina
41e440a0ef pkg/semtech-loramac: extended return code doc and debug msg
- Add SEMTECH_LORAMAC_ALREADY_JOINED ret code for semtech_loramac_join
- Add SEMTECH_LORAMAC_TX_CNF_FAILED ret code for semtech_loramac_send
- Update shell commands to notify when no ACK is received on cnf tx
2019-07-22 16:12:23 +02:00
Francisco Molina
cdf687ceba examples/lorawan: fix semtech_loramac_send TX ret code
- with #11541 TX notification are only sent after mcps confirm event
  this will send a SEMTECH_LORAMAC_TX_DONE instead of
  SEMTECH_LORAMAC_TX_OK.
2019-07-19 12:22:53 +02:00
Francisco Molina
aff7ee3732 pkg/semtech_loramac: fix memcpy to uninitialized pointer 2019-07-16 10:47:36 +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
ce9b1e3826 pkg: remove not needed git-downloaded dependencies
This is implicitly done by the "pkg-prepare"-step of the main make
instance.
2019-06-28 09:38:44 +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
bcad9ee517
pkg/semtech-loramac: update documentation with persistence mecanism 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
032f89145a
pkg-semtech-loramac: update/simplify doxygen documentation 2019-05-29 16:24:23 +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
d87cf66473
pkg/semtech-loramac: move lora region cflags to pkg makefile 2019-05-26 11:47:16 +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
81eed53776
pkg/semtech-loramac: cleanup in doc file
- fix badly rendered github url
- add missing newline at end of file
2019-04-10 08:21:41 +02:00
1f57c0bd2e
pkg/semtech-loramac: update send function snippet
If the send fails, just return. This avoid recv to be stuck afterward and shows a good practice
2019-04-10 08:20:40 +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
f7abe8415d
pkg/semtech-loramac: fixing missing directive in doc
Setting the LORAMAC_ACTIVE_REGION define via cflags is required for any lorawan application to build
2019-02-20 21:39:16 +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
Jose Alamos
5b4a26cd69 pkg/semtech-loramac: add timer calibration functions 2019-01-25 14:17:12 +01:00
Jose Alamos
b3d81af38a pkg/semtech-loramac: remove timer tweaks from contrib 2019-01-25 14:16:11 +01:00
Leandro Lanzieri
0aa12b9f77 pkg/semtech-loramac: Reduce timeout in timer 2018-10-18 08:08:12 +02:00
2f2512601f pkg/semtech-loramac: add config storage to eeprom in API 2018-10-15 14:15:29 +02:00
Oleg Artamonov
71460be40d pkg/semtech-loramac: RU864 band added 2018-09-26 16:31:29 +03: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
bd1968cac4 pkg/semtech-loramac: avoid conversion issue with timers 2018-09-25 22:22:13 +02:00
dylad
193491f6e9 pkg/semtech-loramac: fix wrong behaviour in time functions
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
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
Gaëtan Harter
ea06482b25
pkg/semtech-loramac: Fix -Wformat llvm warning
Fixed warning

    format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
2018-08-02 17:20:43 +02:00
Jose Alamos
f963c684f4 semtech-loramac: fix uninitialized datarate 2018-07-24 11:49:14 +02:00
a528f96d7d pkg/semtech-loramac: use random_uin32() to generate random integer
Then the patched srand1 function used by loramac is closer to the original code and won't crash because of negative values
2018-07-10 08:58:46 +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
f4efb5b761 pkg/semtech-loramac: update documentation 2018-04-19 11:44:52 +02:00
5b76fdf46e pkg/semtech-loramac: refactor API to make it thread-safe 2018-04-19 11:44:51 +02:00
7f33127d92 pkg/semtech-loramac: better handle radio init errors 2018-04-12 12:49:46 +02:00
Martine Lenders
89127d7e60
Merge pull request #8740 from aabadie/pr/pkg/semtech-loramac-make-fix
pkg/semtech-loramac: small enhancements in package Makefile
2018-03-07 11:05:16 +01:00
c4b1fa6e32 pkg/semtech-loramac: adapt to iolist netdev 2018-03-06 14:00:32 +01:00
d6cf5a1c2f pkg/semtech-loramac: small enhancement in Makefile
- use https protocol in source url
- hide cp commands used for package Makefiles
2018-03-05 18:06:04 +01:00
76fcb1df68 pkg/semtech-loramac: fix doxygen documentation 2018-03-01 14:06:54 +01:00
9b286c73d3 pkg/semtech-loramac: small fixes
- link to loramac-node github repository is broken
- the example code should return after a failed join procedure
2018-02-28 23:46:43 +01:00
87d322cc9e pkg/semtech-loramac: improve package documentation 2018-02-25 14:22:30 +01:00
96e059d88a pkg: add Semtech LoRaMAC package 2018-01-18 15:31:01 +01:00