Redundant PD default state should be follower
Hello Bernd and Gari, The use case described by Gari in this ticket seems to be already handled in the code. The function trdp_checkSequenceCounter() verifies that the sequence counter of the received PD is greater than the last received sequence counter. However, the last sequence counters are maintained separately in tuples of {sequence counter, source IP , msg Type} for each comId. Because the last received sequence counters are separately maintained for each source IP on the receiver, in case...
The standard (in A.7.8.2) states that: "In case of a unicast request message to a not registered listener or to a listener expecting another value of the topography counters an error message (MsgType = βMeβ) shall be sent indicating the error with replyStatus == -3 (no replier instance)." As per the current design, session-level topocounts are being checked in mdCheck() much before the appropriate listener is searched for. Sending 'Me' form mdCheck() assumes that a matching listener for this received...
Ticket #327 : Send 'Me' in case a matching listener is not found for the received unicast 'Mr' or listener expecting different topocounts
'Me' missing for unicast 'Mr' to not registered listener or with topo count
As confirmed from Armin, another modification also required is - to send the MD error 'Me' only for "unicast request message" i.e. only for unicast 'Mr' requests and NOT for MD Notification 'Mn'. Propose to have this modification implemented in the same ticket, as it is also related to 'Me'.
TRDP_NOSESSION_ERR should be returned from tlm_reply() and tlm_replyQuery() in case of incorrect session (id)
Units for certain standard timeout values inconsistent with their intended usage