PUT STRING
From Zenitel Wiki
PUT_STRING | 0x0073 | 115 | AMC 07.30 | |
---|---|---|---|---|
$PUT 1 “Log port message”<br\> $PUT 2 “MPC port message”<br\>$PUT 3 “EDO port message” | <br\> alternative: $MPC 2 “0201 F123 ”<br\> | |||
Output String to Exchange serial port after adding appropriate framing depending on selected port.
The source address in the netlayer header is used for logging instead of using a separate parameter. | ||||
1 | UINT1 | Logical Port number:<br\>0 = NULL Port.<br\>1 = System Log Port:<br\>2 = TouchLine Data:<br\>3 = Extended Data Out<br\>8 = Debug console output (TST)<br\>No formatting of output at receiving end needed.<br\>9 = Debug console input (TST)
TST “rlogin”: Requires that CONSOLE_REQ (126) has previously been sent from the same address. Several lines of commands can be sent in the same put message separated by Carriage Return (0x0D). The command “bye” is taken as disconnect and CONSOLE_DISC is returned. Example, list all SW errors and disconnect: $PUT 9 “err” 0D “a” 0D “bye”. |
Before payload:<br\>-<br\>Date, time, node/device<br\><NULL><br\>-
<br\><br\>After payload<br\>-<br\><CR><LF><br\><CR><LF><br\>- <br\><br\>AMC 08.00 | |
2 | UINT1(o...n) | “Payload” Bytes to be output to Port. Delimited by end of message. <br\>Typically plain, readable text, but all character values (0...255) can be used. |