1. How to configure:
- Set Window Size (SNs) β size of receive window.
- Set Loss Probability β chance that a transmitted PDU is lost.
- Set t-Reordering (slots) β timer to detect missing PDUs.
- Set t-StatusProhibit (slots) β minimum interval between STATUS reports.
- Set Polling bit β if enabled, transmitted PDUs include a poll to request STATUS.
- Use Send PDU to transmit next SN.
- Use Advance Slot to move time forward (triggers timers).
- Use Send STATUS to manually trigger a STATUS PDU (if allowed).
2. What will be the flow:
- Transmitter sends PDUs; some may be lost according to loss probability.
- Receiver updates receive window; when a gap is detected, t-Reordering starts.
- If t-Reordering expires, a STATUS PDU is triggered (unless t-StatusProhibit is running).
- Polling bit in a received PDU also triggers STATUS (if prohibit not running).
- STATUS PDU contains ACK_SN and NACK_SN(s) for missing PDUs [citation:1][citation:7].
3. What student can expect:
- Transmitter buffer (left) and receiver buffer (right) with colourβcoded PDUs.
- Receive window showing RX_Next, RX_Highest_Status, and window bounds.
- STATUS PDU format displayed when one is sent.
- Timers (t-Reordering, t-StatusProhibit) shown with remaining time.
4. Recommended exploration:
- Set loss > 0, send several PDUs β observe gap and t-Reordering start.
- When t-Reordering expires, see STATUS PDU generated.
- Enable polling to trigger immediate STATUS.
- Adjust t-StatusProhibit to see how it prevents frequent reports.