An error occurred while retrieving approval data for this merge request.
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.
Activity
added 1 commit
- 6a3ceab0 - drop TX if RX on-going and a signal is detected
mentioned in merge request lora-rs!2 (closed)
Closed in favour of internal MR (https://gitlab.int.grepit.se/grepit-evse/longfi-device/merge_requests/2).
Edited by Viktor Sonesten
Please register or sign in to reply