Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Jordan Yates <jordan.yates@data61.csiro.au>
- Loading branch information