MiiNePort E2/E3 Introduction to SCM (Serial Command Mode) Command Set
RFC2217 local listen port
Command code: FP
Command parameters: Two numbers separated by a semicolon (;) denotes port index and MCSC channel index.
For MCSC-disabled port, channel index shall be 0.
Reply parameters: local listen port
?GFP1;0
System requests for RFC2217 local listen port for port 1.
!GFP01234
MiiNePort reports RFC2217 local listen port is ‘1234’.
TCP Server Connection Control
Command code: TS
Command parameters: Two numbers separated by a semicolon (;) denote port index and MCSC channel index.
For an MCSC-disabled port, the channel index is 0.
Reply parameters: TCP server connection control as shown in the following table.
0 Always accept
1 Accept with DSR on
?GTS1;0
System requests TCP server connection control for port 1.
!GTS00
MiiNePort reports incoming policy as ‘Always accept’.
TCP Alive Check Time
Command code: TA
Command parameters: Two numbers separated by a semicolon (;) denote port index and MCSC channel index.
For an MCSC-disabled port, the channel index is 0.
Reply parameters: TCP alive check time
?GTA1;0
System requests TCP alive check time for port 1.
!GTA05
MiiNePort reports TCP alive check time as ‘5’ minutes.
TCP Port
Command code: TP
Command parameters: Two numbers separated by a semicolon (;) denote port index and MCSC channel index.
For an MCSC-disabled port, the channel index is 0.
Reply parameters: TCP port
?GTP1;0
System requests TCP port for port 1.
!GTP04100
MiiNePort reports TCP port as ‘4100’.
TCP command port
Command code: TO
Command parameters: Two numbers separated by a semicolon (;) denotes port index and MCSC channel index.
For MCSC-disabled port, channel index shall be 0.
Reply parameters: TCP port
?GTO1;0
System requests for TCP command port for port 1.
!GTO0966
MiiNePort reports TCP command port is ‘966’.