Currently, sending of data over serial is blocking the main thread. The result is, that in case of a channel hop request, the packet handler state machine is blocked until the current serial transmission is complete. (solve by moving hop logic inside packet handler ISR)
Implement serial TX as ISR, add isBusy() to UART that needs to be checked before reusing TX buffer.
Currently, sending of data over serial is blocking the main thread.
The result is, that in case of a channel hop request, the packet handler state machine is blocked until the current serial transmission is complete.(solve by moving hop logic inside packet handler ISR)Implement serial TX as ISR, add isBusy() to UART that needs to be checked before reusing TX buffer.