SOTAmat / SOTAcat

CAT control for Elecraft KX radios and SOTAMAT
https://sotamat.com
Other
9 stars 2 forks source link

Protect critical operations like FT8 transmission from interruption by webserver calls #19

Closed jeffkowalski closed 4 months ago

jeffkowalski commented 4 months ago

Due to the RTOS and FT8 timing issues we need some way to mutex and or buffer serial communication with the radio. If the HTML page is polling the radio via serial at the same time that the user does a click-to-pounce REST call, multi-step UART commands would get messed up. The ESP-IDF has a nice RTOS priority model similar to VAX VMS (absolute priority levels, and then shared time within a priority level).

Splitting this issue from #8, which will now simply be about the web UI to show radio is connected.