foxsi / foxsi-4matter

Code for FOXSI-4 formatter.
https://foxsi.umn.edu/
1 stars 3 forks source link

Write an asynchronous UART listener #34

Closed KriSun95 closed 10 months ago

KriSun95 commented 1 year ago

This is tied to #32 and then, by extension, #33.

After launch we will receive uplink commands over UART. We want to catch these anytime they arrive using an asynchronous listener. We also want to receive data from Timepix over UART. Can you perform a synchronous UART read call (from some TBD UART library for Pi) from a function that has been posted (assigned as work) to a boost::asio::io_context?

From Thanasi's Google Doc

thanasipantazides commented 10 months ago

This is addressed by boost::asio::serial_port introduced (minimally) in c7a976a. Closing.