You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to write test-cases I couldn't work out how SupervisorType/SupervisorOutPin is supposed
to work. (AFAICT it isn't supported in the Orchestrator yet, but I'm trying to work out what the
semantics are supposed to be, in order to see how to replace external devices and have tests
for simulated supervisors)
I'm assuming only a single implicit supervisor output pin, as the grammar and documentation
describe it as [0..1].
For replying within SupervisorInPin it is reasonably clear (I think?):
We can use RTSREPLY to send a reply to the sender of the incoming packet.
We can use RTSBCAST to send a message to all devices.
We can (presumably) do both a reply and a broadcast (AFAICT it is not disallowed).
Both RTSREPLY and RTSBCAST are not asking for the opportunity to send. They mean "the messages
I have prepared within this handler must be sent."
That means RTSBCAST as it appears in the SupervisorInPin handler is not related to being
ready-to-send in the normal way, and RTSREPLY has no meaning outside the receive handler.
So how does a supervisor indicate that it wants to send on the SupervisorOutPin?
e.g. if during OnSupervisorIdle it decides that it now has something to send, how does it
express that? Or if it wants to do a broadcast after OnInit, how does it indicate that?
The text was updated successfully, but these errors were encountered:
When trying to write test-cases I couldn't work out how SupervisorType/SupervisorOutPin is supposed
to work. (AFAICT it isn't supported in the Orchestrator yet, but I'm trying to work out what the
semantics are supposed to be, in order to see how to replace external devices and have tests
for simulated supervisors)
I'm assuming only a single implicit supervisor output pin, as the grammar and documentation
describe it as [0..1].
For replying within SupervisorInPin it is reasonably clear (I think?):
I have prepared within this handler must be sent."
That means RTSBCAST as it appears in the SupervisorInPin handler is not related to being
ready-to-send in the normal way, and RTSREPLY has no meaning outside the receive handler.
So how does a supervisor indicate that it wants to send on the SupervisorOutPin?
e.g. if during OnSupervisorIdle it decides that it now has something to send, how does it
express that? Or if it wants to do a broadcast after OnInit, how does it indicate that?
The text was updated successfully, but these errors were encountered: