
14.
IP Connect Serial Protocol
a.
This serial command protocol is essentially the same for all console channels
(a)
TELNET via TCP/IP (2 ports 3001)
(b)
HTTP via port 80
F
ORMAT
The stream is made up of messages. A message consists of 1 to 80 printable ascii characters followed by
and end of message. An end of message is one or more of CR and LF optionally combined with any
number of delimiters.
A message is made up of unsigned numerical value fields in decimal format separated by one or more
delimeters. A delimiter is any single or combination of space, comma or tab.
Examples of valid messages to the IP Connect module are given below. All these messages have the
same meaning.
1,3,45<CR>
1,3,45<LF>
1,3,45<CR><LF>
,1,3,45<CR><LF>
1,3,45,<CR><LF>
1,3,,45,<CR><LF>
1,3, 45,<CR><LF>
1,3,45,<CR>, ,<LF>
01,3,45<CR><LF>
000000001,3,45<CR><LF>
1 3 45<CR><LF>
1, 3, 45<CR><LF>
A message is not a valid message if
It contains more than 80 characters before an end of message character is received.
It contains a character that is not <CR>,<LF>,<TAB>,<SPACE>,0,1,2,3,4,5,6,7,8,9,”,”.
A numerical field exceeds 65535
It contains more than 10 fields
If a packet is determined to be not a valid message it is ignored. If a message is determined to be
invalid before the end of message is ignored then all characters received are ignored until an end of
message character is received.
Messages from the IP Connect module comply with the requirements of the incoming messages but in
addition are fixed width formatted. Each numerical field is made of 5 characters (leading spaces and
digits). A comma delimiter is included. An Example is shown below.
1, 3, 45<CR><LF>