astuder/dAISy

Make serial communication asynchronous

Opened this issue · 2 comments

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.

non-critical with reworked packet handler ISR

oops, wrong issue referenced in commit