Mendelson responds with ESID just after receiving EFPA command from Listener, not in-sync with RFC-5024

You are here

Mendelson responds with ESID just after receiving EFPA command from Listener, not in-sync with RFC-5024

2 posts / 0 new
Last post
manoja422002
manoja422002's picture
Mendelson responds with ESID just after receiving EFPA command from Listener, not in-sync with RFC-5024

Hi,

I am transferring the file from Mendelson to SI. The sequence is shown below:
1. Mendelson transfers the file and sends EFID
2. Listener responds with EFPA
3. Mendelson responds with ESID

[3:56:58 PM] [1283855206996347] Send command: EFID
[3:56:58 PM] [1283855206996347] Send command:
o-----------------------------------------------------
| EFID End File
o-----------------------------------------------------
| 0 | X(1) | ESIDCMD | EFID Command | 'T' | [54]
| 1 | 9(17) | EFITRCNT | Record Count | '00000000000000000' | [30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30]
| 18 | 9(17) | EFIDUCNT | Unit Count | '00000000000008285' | [30 30 30 30 30 30 30 30 30 30 30 30 30 38 32 38 35]
o-----------------------------------------------------
[3:57:20 PM] [1283855206996347] Received stream transmission header (10 00 00 06) indicating 2 following bytes
[3:57:20 PM] [1283855206996347] Received bytes 34 4e
[3:57:20 PM] [1283855206996347] Received command EFPA
[3:57:20 PM] [1283855206996347] Received command
o--------------------------------------------------
| EFPA End File Positive Answer
o--------------------------------------------------
| 0 | X(1) | EFPACMD | EFPA Command | '4' | [34]
| 1 | X(1) | EFPACD | Change Direction Indicator | 'N' | [4e]
o--------------------------------------------------
[3:57:20 PM] [1283855206996347] Statemachine "Speaker State Machine" received signal "EFPA", state is "CLOP"
[3:57:20 PM] [1283855206996347] Statemachine "Speaker State Machine" received signal "F_CLOSE_FILE_CF_OUTBOUND", state is "CLOP"
[3:57:20 PM] [1283855206996347] Session state: CLOP --> IDLESPCD
[3:57:20 PM] [1283855206996347] Processing unit received signal "SYSTEM_IS_IDLE_SPEAKER", state is "IDLESPCD"
[3:57:20 PM] [1283855206996347] Send stream transmission header (10 00 00 0b)
[3:57:20 PM] [1283855206996347] Send bytes: 46 30 30 30 30 30 0d
[3:57:20 PM] [1283855206996347] Send command: ESID
[3:57:20 PM] [1283855206996347] Send command:
o----------------------------------------------
| ESID End Session
o----------------------------------------------
| 0 | X(1) | ESIDCMD | ESID Command | 'F' | [46]
| 1 | 9(2) | ESIDREAS | Reason Code | '00' | [30 30]
| 3 | 9(3) | ESIDREASL | Reason Text Length | '000' | [30 30 30]
| 6 | T(n) | ESIDREAST | Reason Text | '' | []
| 6 | X(1) | ESIDCR | Carriage Return | '
' | [0d]
o----------------------------------------------

As per RFC-5024, ESID command can not immediately be sent after receiving the EFPA command. See the RFC notes below:
“The Speaker terminates the session by sending an End Session (ESID)
command. The Speaker may only do this if the Listener has just
relinquished its role as speaker."

A listener relinquishes its role as speaker by receiving CD command. That means the speaker can end the session (by sending ESID) only if the last received command was CD.

However, Mendelson responds with ESID immediately after receiving the EFPA command, which is not in-sync with RFC.

Can you check and correct me if my understanding is wrong?

--
Thanks,
Manoj Kumar

heller
heller's picture

Manoj Kumar,

I think its ok because the listener answered with EFPACD=N:

o--------------------------------------------------
| EFPA End File Positive Answer
o--------------------------------------------------
| 0 | X(1) | EFPACMD | EFPA Command | '4' | [34]
| 1 | X(1) | EFPACD | Change Direction Indicator | 'N' | [4e]
o--------------------------------------------------

In this case the speaker could not send a CD command to relinquish its speaker state, this is declined by the EFPA change directions indicator. That means in my understanding the following sequences are possible:

speaker: EFID
listener: EFPA (EFPACD=N)
speaker: ESID

and

speaker EFID
listener: EFPA (EFPACD=Y)
speaker: CD
listener: takes the role as speaker and goes on

Whats your opinion?

Regards
Heller