Description:
This will send an ASCII command out of the RS322 com port 2 to an external device. This function makes an Adtec unit not only a player, but a CONTROLLER too.
Form:
PORT2|PR2|P2 [ASCII TEXT STRING]
Argument List:
Argument Description
ASCII TEXT STRING The protocol that the controlled devices need to be controlled.
[32] Used to represent a space.
[13] Used to represent a carriage return.
[10] Used to represent a line feed.
Response:
PORT2 RESPONSE
Verbose- "OK\r\n" to acknowledge receipt of command, or
"ERROR- [Description]\r\n" if error, ending command
Terse- "0\r\n" to acknowledge receipt of command, or
"[NON-ZERO NUMERIC VALUE]\r\n" if error, ending command
"\r\n" concludes modify responses (empty line)
Examples:
Verbose command to send out a command:
PORT2 HELLO[32]WORLD[13] <enter>
Response is: OK\r\n
Terse command to send out a command:
P2 HELLO[32]WORLD[13]<enter>
Response is: 0\r\n
Notes:
Products Supporting Command