P4G_RAW_RX_PAYLOAD_LEN#

# set
<module-index>/<port-index> P4G_RAW_RX_PAYLOAD_LEN [<group_index>] <mode> <length>

# get
<module-index>/<port-index> P4G_RAW_RX_PAYLOAD_LEN [<group_index>] ?

Description#

Specify the length of the payload the Client should expect to receive before sending the next download request to the Server. Should be configured identical to the P4G_RAW_PAYLOAD_TOTAL_LEN for the Server. If mode is set to INFINITE, effectively no request/response repetitions will be performed.

Note

This parameter is N/A when P4G_L4_PROTOCOL is configured as UDP.

Actions#

set, get

Parameters#

mode: byte, specifying the payload length mode
  • INFINITE = 0

  • FINITE = 1

length: long integer, number of payload bytes the client should receive before sending the next request, if mode is FINITE.

Example#

# set
input:  0/1 P4G_RAW_RX_PAYLOAD_LEN [0] INFINITE 1
output: <OK>

# get
input:  0/1 P4G_RAW_RX_PAYLOAD_LEN [0] ?
output: 0/1 P4G_RAW_RX_PAYLOAD_LEN [0] INFINITE 1