Menu

#33 Query Reply - length is incorrect

v1.0 (example)
wont-fix
nobody
None
5
2023-10-17
2007-12-22
Chris Jones
No

The reply from TN5250 to a Query Command (see RFC1205) is 2 bytes too long. The error is somewhere between bytes 40-48 (i.e. Device Serial number -> Display Capabilities)
60 bytes are sent when the total for this response should be 58 (0x003A)

Full response is below, highlighting section where 2 extra bytes occur

00 47 12 a0 00 00 04 00 00 00 00 00 88 00 3a d9 70 80 06 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 f3 f1 f7 f9 00 f0 f2 02 00
-- Correct to here --
00 00 61 50 00 ff ff ff ff 00 00 00
-- Correct from here --
23 31 00 00 00 00 00 00 00 00 00 00 ff ef

Discussion

  • Korinne Adler

    Korinne Adler - 2023-10-17
    • status: open --> wont-fix
     
  • Korinne Adler

    Korinne Adler - 2023-10-17

    Hi, if you are still experiencing this problem, please open an issue at https://github.com/tn5250/tn5250/issues

     

Log in to post a comment.

MongoDB Logo MongoDB