- 25 Feb, 2020 1 commit
-
-
Viktor Sonesten authored
Additionally, if a message is not sent, an enum type describes the reason why.
6a3ceab0
-
- 24 Feb, 2020 1 commit
-
-
Viktor Sonesten authored7a34520f
-
This patch polls the modem status register before sending a message: if a message is currently being received the outgoing message is dropped and an appropriate error enum is returned. Additionally, if the buffer happens to be too small for the outgoing message, another error is returned.
Note that the radio must be set to receive after a longfi_send
so that the status register is reset.
While this patch may should lower the chance of collision, it does not protect against it.
Additionally, if a message is not sent, an enum type describes the reason why.