Addressed Serial Protocol Specification; Appendix A - NetComm NTC-6000 Series Command Manual

Cellular
Hide thumbs Also See for NTC-6000 Series:
Table of Contents

Advertisement

Appendix A

Addressed Serial Protocol Specification

NetComm has implemented the following protocol to allow a master station
to communicate with a number of remote stations via GPRS.
In particular the master station must be able to identify individual
remote stations sending data to the master and in turn be able to direct
transmissions to a specific remote station.
In order to provide this addressability the following protocol is
defined.
All data will be sent encapsulated in HDLC like frames with the IP
address of the remote station (in standard network byte order) as the
first 4 information bytes of each frame, application data starts at the
5th byte of the information field of each frame.
Frame Format
A summary of the HDLC-like frame structure is shown below
figure does not include bits inserted for synchronization (such as
start and stop bits for asynchronous links), nor any bits or octets
inserted for transparency.
right.
+----------+----------+-------------+----------+
|
| 01111110 | 8/16 bits|
+----------+----------+-------------+----------+
NB The standard HDLC Address, Control and FCS fields are not used
or present.
Flag Field
The Flag Sequence indicates the beginning or end of a frame, and is
used for frame synchronization.
binary sequence 01111110 (hexadecimal 0x7e).
Transparency
An octet stuffing procedure is used.
defined as binary 01111101 (hexadecimal 0x7d), most significant bit
first.
Each Flag Sequence and Control Escape octet, is replaced by a two
octet sequence consisting of the Control Escape octet followed by
the original octet exclusive-or'd with hexadecimal 0x20.
Escaped data is transmitted on the link as follows:
0x7e is encoded as 0x7d, 0x5e.
0x7d is encoded as 0x7d, 0x5d.
NTC-6000 Series V.250 Manual
To suit software version 1.1.0
The fields are transmitted from left to
Flag
| Protocol | Information |
The bit stream is examined for the
Page 31 of 32
7/21/2010
Flag
*
| 01111110 |
The Control Escape octet is
(Flag Sequence)
(Control Escape)
.
This
|

Advertisement

Table of Contents
loading

Table of Contents