mbed-os/features/lorawan
Kimmo Vaisanen 5d98839092 Improve error handling & robustness
This commit also introduces API change for disconnect(). disconnect() will
now return LORAWAN_STATUS_DEVICE_OFF for successfull disconnect.

 * LoRaWANStack::handle_tx() can be called with NULL buffer when length is 0.
   This commit fixes the case where user has provided NULL buffer and length
   is > max_possible_size.

handle_tx() now always returns LORAWAN_STATUS_PARAMETER_INVALID if given
buffer is NULL pointer and length > 0.

General error checking is added and some asserts are added for events.
2018-02-11 00:31:47 +02:00
..
lorastack Improve error handling & robustness 2018-02-11 00:31:47 +02:00
system Improve error handling & robustness 2018-02-11 00:31:47 +02:00
LICENSE Adding license text and BSD-Clause 3 2018-02-09 11:00:56 -06:00
LoRaWANInterface.cpp Improve error handling & robustness 2018-02-11 00:31:47 +02:00
LoRaWANInterface.h Improve error handling & robustness 2018-02-11 00:31:47 +02:00
LoRaWANStack.cpp Improve error handling & robustness 2018-02-11 00:31:47 +02:00
LoRaWANStack.h Improve error handling & robustness 2018-02-11 00:31:47 +02:00
mbed_lib.json Remove duplicate configuration flags 2018-02-11 00:31:47 +02:00