Hidden Terminal Workbench
Hidden Terminal Workbench
Carrier sensing answers a sender-side question: “Can I detect activity here?” Delivery is decided at the receiver. In a hidden-terminal case, two senders cannot hear one another, both judge the channel idle, and their frames can overlap at the same receiver.
Hidden terminal narrated tour
Narrated audio tour. The full transcript is below.
Play the tour to open the simulator. Pause, replay a beat, or read the full transcript below.
Some beats explain situations this teaching model cannot show; those beats keep the existing frame and provide captions only.
Full transcript — Hidden terminal (8 beats)
B1 — Warehouse reports
You are responsible for a warehouse's inventory sensors. Sensors behind metal shelving send periodic reports to a gateway, but some reports are lost even though average channel use is low. Your task is to understand why listening before sending can still leave the gateway with a collision.
Model caption: Warehouse inventory sensors behind shelving may lose reports despite low average channel load. The diagram represents the senders and gateway, not the warehouse.
B2 — Hidden senders
Carrier sensing means listening for activity before transmitting. Call the sensors A and C, and their shared gateway B. A and C cannot hear each other, but both can reach B. They are hidden terminals: hidden from each other, not from their receiver.
Model caption: A and C cannot hear each other, but both reach B. Carrier sensing listens locally before transmission.
B3 — Reservation threshold
Use the teaching model's example with a small data frame, a packet sent over the radio link. Each frame has two hundred fifty-six bytes. A reservation asks the gateway for airtime. The reservation threshold is five hundred twelve bytes. The model reserves airtime for frames at or above the threshold. Our smaller frame goes ahead without a reservation.
Model caption: 256 bytes is less than 512 bytes. Threshold mode skips reservation for this frame; at 512 bytes or more it would use reservation.
B4 — Collision at the receiver
Both sensors sense an idle channel because neither hears the other. Both send toward B at the same time. Their signals overlap at the gateway, which cannot decode either sensor reading. The model reports a collision and a small retry cost, rather than successful delivery.
Model caption: Both sensors send. B cannot decode either payload. The model labels the result ‘collision at B’ and the cost ‘small retry.’
B5 — Local sensing limit
A common mistake is to assume an idle channel guarantees the receiver is free, but an idle channel tells us only that the sender hears no activity. A and C each correctly sense no activity within hearing range, yet their transmissions collide at B.
Model caption: Idle at a sender describes local hearing. It does not prove the shared receiver is free.
B6 — Forced reservation
Keep the same frame size and force a reservation instead. A asks B for airtime. B answers with a grant. C hears B's grant, even though C cannot hear A. C starts a timer and stays quiet for the advertised duration. The timer provides virtual carrier sensing. A sends, and B decodes the frame and returns an acknowledgement.
Model caption: Forced reservation: A requests airtime; B's grant reaches C. C waits for the advertised duration. B decodes A's frame and acknowledges it. The data frame remains 256 bytes.
B7 — Reservation limits
The exchange costs airtime, so protecting a tiny frame may cost more than retrying it. Reservation can reduce some hidden-terminal collisions, but the request itself can still collide. It also cannot remove interference or a weak receiver. For your warehouse, the benefit must justify the extra airtime.
Model caption: Reservation consumes airtime and may cost more than retrying a tiny frame. Requests can still collide; interference and receiver weakness remain possible. These limits come from the chapter, not simulated failures.
B8 — Judge at the receiver
Listen at the sender, but judge success at the receiver.
Model caption: Listen at the sender, but judge success at the receiver.