Skip to content

Lab 7 Check

sh
machinelab test uart
machinelab run --headless -- build/examples/uart_loopback
machinelab run-pair --headless build/examples/uart_peer_sender --right build/examples/uart_peer_receiver

Discussion Prompts

  • What fields would you add to a packet protocol built on UART bytes?
  • How should a receiver recover if it starts mid-packet?
  • Why is loopback useful before two-machine communication?

External Reading

Course/docs licensed CC BY 4.0. Code licensed MIT.