![Forenex E2S-RF/RI Reference Manual Download Page 22](http://html1.mh-extra.com/html/forenex/e2s-rf-ri/e2s-rf-ri_reference-manual_2318965022.webp)
www.forenex.com.tw
- 22 -
A-1. Data format of Packet (for flow control using)
a. Packet head code should be fixed with 0x32
b. Length constituted by 2 bytes.
c. Maximum support 1341bytes data in single Packet.
E.g.1
Receive data stream from Ethernet to RS232.
Received data packet = “32 00 06 01 02 03 04 05 06”
Length 0x06 = 6 bytes = “01 02 03 04 05 06”,
Serial Target will get the 6 bytes from RS232.
E.g.2
Transmit data stream from RS232 to Ethernet.
Transmitted the leading bytes of data packet = 32 01 38 Bytes Data
Length 0x138 (hexadecimal) = 312 (Decimal) bytes,
Serial Target should continue to send 312 bytes data after the leading
bytes (32 01 38) were sent from RS232.
A-2. Command format of Packet (for flow control using)
a. Packet head code should be fixed with 0x33
b. Byte 3 is length between in 1~3.