Skip to content
Commit df66cca6 authored by Jordan Yates's avatar Jordan Yates Committed by Ioannis Glaropoulos
Browse files

lorawan: always wait for MAC ops to complete



Wait for MAC operations to complete when transmitting. Unconfirmed
messages still open receive windows and can cause error conditions,
which are currently dropped.

It is also possible for a second send to be requested before the first
one has finished processing, which results in `LORAMAC_STATUS_BUSY`.
Empty frames (due to insufficient payload space) now also block until
the MAC layer is ready to accept new commands.

This change means the application no longer needs to guess-and-check
when it is possible to send unconfirmed messages.

Fixes #33456.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent facd0f57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment