Actions

Difference between revisions of "PUT STRING"

From Zenitel Wiki

(New page: {| border="1" align=left |- !style="background:#ffdead;" width="90pt" colspan="2"|PUT_STRING !style="background:#ffdead;" width="100pt"|0x0073 !style="background:#ffdead;" width="30pt"|11...)
 
Line 1: Line 1:
{| border="1" align=left
+
{| border="1"
 
|-
 
|-
 
!style="background:#ffdead;" width="90pt" colspan="2"|PUT_STRING
 
!style="background:#ffdead;" width="90pt" colspan="2"|PUT_STRING
Line 20: Line 20:
 
|-
 
|-
 
|}
 
|}
 +
 +
 +
[[AlphaNet_Data_Protocol#General_Exchange_Control|Back to AlphaNet message list]]

Revision as of 11:42, 17 July 2007

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 net­layer 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.


Back to AlphaNet message list