Pira.cz Technical Forum

Magic RDS 4 => Bug Reports => Topic started by: nealuk on December 07, 2020, 03:10:48 pm

Title: Terminal query of PTY RS232 and IP
Post by: nealuk on December 07, 2020, 03:10:48 pm
Hello,

for BW/Readbest and currently Magic RDS 4.0.20 on Serial connectivity.

If I use the Terminal window and query the PTY I get back an unexpected response (Operaton times out), and usually have to restart the program to fix.

[2020/12/04 10:03:15.167]
TX:
VER
[2020/12/04 10:03:15.422]
RX:
RDS 1.4
+

[2020/12/04 10:03:22.474]
TX:
<FE><00><00><00><05><17><03><07><01><00><EA><7F><FF>

I find the Overview and Communication Monitor to be very hepful, thank you.

I made a temporary rearrange so I could try a comparison via IP.

PTY
12
+


This seemed to work ok. I'm not sure why querying the PTY is ok on IP, but not for RS232.

Regards,


Neal.
Title: Re: Terminal query of PTY RS232 and IP
Post by: Jan on December 07, 2020, 03:28:20 pm
Thank you for the report, we'll look at it.

The Readbest encoder supports both the ASCII and UECP protocols for the PTY. In general, the ASCII is preferred by the Magic RDS 4 if the address and site selection is 0. It seems there's something strange.
Title: Re: Terminal query of PTY RS232 and IP
Post by: Jan on December 07, 2020, 09:46:11 pm
So it follows from the log that your BW does not reply to UECP request command (MEC 0x17) on the serial port. (For this device, the PTY command entered via terminal is always encoded into UECP.)

What's the reason? The request command is maybe disabled on that port using the UECP feature called 'Encoder Access Right'. There was a bug in the Magic RDS 4, using this feature the user may unintentionally disable another command. It is fixed in current build 2020-12-07 so it is necessary to download it.

Then type in the terminal

Code: [Select]
EAR FF,17=1

Complete listing from the test:

ear FF,17=0
#

pty
Operation timed out

ear FF,17=1
#

pty
0
+
Title: Re: Terminal query of PTY RS232 and IP
Post by: nealuk on December 15, 2020, 03:18:34 pm
Hello,

I re-downloaded latest 4.0.20 Magic RDS 4. However, I don't think the problem is solved for me.

EAR FF,17=1
#
!
pty
Operation timed out
EAR FF,17=0
#
pty
Operation timed out
ear FF,17=1
#
pty
Operation timed out


VER
RDS 1.4
+