How to declare pending state in MATLAB?

Hello all, I am having the following doubt:
Suppose there are two transmitters and three receivers. Then at beginning of every time slot the link betwwen each transmitter and each receiver is in Pending state.
My query is that how can I model the above statement related to pending state in MATLAB. For simplicity we assume total time slots as 5.
Any help in this regard will be highly appreciated.

5 Comments

Is this a wired connection or a wireless (radio, light) connection? With a wired connection it might be feasible to have Pending state at the beginning of each time slot if the link state can be quickly checked by examining (for example) CTS (clear to send). But for wireless then you need a transmit and receive and respond cycle to examine link state, and those cycles occur during time slots themselves, so you would not embed such a check within each time slot and would instead establish a link and use snooping to verify that the link is still available.
Thank you so much sir for your response.... This is a wireless connection.
But how could one implement this for wireless system....
You cannot, not unless you use sub-timeslots and your timeslots are a few times longer than the speed of light times the transmission distance.
You just would not do this. You would establish link state first and then start time slots in which the link state is not considered to be Pending. Establishing link state for each time slot is a waste.
Exceptions:
  • if the link distance is very far you would instead send multiple copies of state configuration without waiting for a reply for one. The receiver would reply multiple with a copy of the state. When the transmitter has verified the receiver has the proper configuration the transmitter would send Activate commands. Time slots would become less meaningful.
  • unless, that is, your time slots are something like "2 AM sidereal time for 30 minutes" during which the receiver orients its antenna towards you, and you establish a connection link. In that kind of limited meaning of time slot, then Yes it might make sense to establish state at the beginning of each time slot.

Sign in to comment.

Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Asked:

on 7 Apr 2023

Commented:

on 7 Apr 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!