GS2101M IP2WiFi Adapter Command Reference Guide
1VV0301499
Rev. 2.0
26
2019-08-05
2.5 Data Handling
In
Data Processing Mode
, data transfers are managed using various
escape sequences
.
Each escape sequence starts with the ASCII character 27 (0x1B); this is equivalent to the
ESC key. The encoding of data and related commands are described in the following pages.
This encoding is used for both transmitted and received data.
<ESC>R:<Length>:<Ethernet package>
Where the Ethernet Packet is:
<DstAddr><SrcAddr><EtherType><Payload>
The contents of < > are byte or byte stream.
describes the Encoding of Data parameters.
Table 6 Encoding of Data Parameters
Parameter
Description
Length
The size of the Ethernet packet.
DstAddr
The destination MAC address.
SrcAddr
The source MAC address.
EtherType
The type of the Ethernet packet. For example,
BACNET-over-Ethernet, EtherType is 0x0000.
Payload
The raw data.