Skip to content
Discussion options

You must be logged in to vote

This is a very good question. Here is my take:

  1. For doing work in response to port invocations, avoid using tasks inside passive components. Prefer using active components with health monitoring.
  2. To block on external input, as in the UART driver, currently you have to use a task inside a passive component. We have an issue open to provide a better way of doing this. See nasa/fpp#261. For now, a task inside a passive component is the way to do it.
  3. When you are blocking on external input, you can't monitor health in the same way as for active components. The task is blocked on external input, so it can't respond to health pings. You could have some other kind of health monitoring. For examp…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ebenezerarunkumar
Comment options

Answer selected by ebenezerarunkumar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants