コンテンツへスキップ

Lesson 67: Wait for the ACK

English

No reply? Send it again

  • In a positive ARQ (automatic repeat query), the receiver sends an acknowledgement (ACK) for each packet that arrives without errors.
  • The sender starts a timer when it sends a packet. No ACK before the timeout: it sends the packet again.
  • millis() is the timer: the time since the board started, in ms.

Words for this lesson

Word Meaning
acknowledgement a message back: "I got it"
timeout the time limit for the ACK
resend send the same packet again

ログインまたはアカウント作成

IGCSE, A-Level & AP