tcpframing n

This command is used to configure packet framing for TCP reports.

n = 0 disabled (default)
n = 1 enable packet framing for remote TCP reports
n = 2 enable packet framing for local TCP reports
n = 3 enable packet framing for all TCP reports

When packet framing is enabled for TCP reports, all outgoing TCP report packets will be delimited with special characters 0x7E and 0x7D.

A framed packet is composed as follows :

[START FRAME CHAR 0x7E][Payload Length][Payload][END FRAME CHAR 0x7D]

Character escaping in the report payload:

If the report TCP packet contains either the START FRAME CHAR, the END FRAME CHAR or the ESC CHAR (0x7C), then these characters will be 'escaped' with the following rules:

character 0x7E replaced with characters 0x7C 0x5E
character 0x7D replaced with characters 0x7C 0x5D
character 0x7C replaced with characters 0x7C 0x5C

Note:


Examples:

  1. Enable TCP packet framing for remote TCP reports
    cmd tcppframing 1

Firmware revision 2.0.5.3763

Last modified 6 years ago Last modified on 14-01-21 04:13:49 PM