Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 3 made on Friday December 11, 2020 at 19:22
canavan
Lurking Member
Joined:
Posts:
July 2004
9
The VT420 is configured as 9600 8N1, and it can send and receive with both the TMA-1 and the RFX9600, which makes the whole affair pretty weird. I've tried 19200 for the TMA-1 and the RFX, and I get nothing if the bit rate is not the same on both sides, and (almost?) exactly the same responses when they are the same for both. Sending clearly seems to be working, I can turn on/off and control other devices that are connected to the TMA-1, the Status request should be correct as well, otherwise no response is sent.

Actually runnable test code that exhibits the problem for me:

var e = CF.extender[0];
var s = e.serial[1];

try {
s.bitrate = 9600;
s.databits = 8;
s.parity = 0;
s.stopbits = 1;
s.send("TMA AVP 1 STATUS\n");
var x = " "; var i = 0;
try {
do {
r = s.receive(null, 1, 100);
x += r; i+=1;
} while (r !="" && r!= null && i< 500);
} catch (e) {
System.print("READ ERROR: " + i + ":\n" + x);
}
System.print("READ : " + i + ":\n" + x);
} catch (e) {
System.print("ERROR: " + e);
}


Hosting Services by ipHouse