P4G_RAW_REQUEST_REPEAT

# set
<module-index>/<port-index> P4G_RAW_REQUEST_REPEAT [<group_index>] <mode> <repeat>

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

Description

Specify the number of request/response transactions to perform - if P4G_RAW_HAS_DOWNLOAD_REQ is set to YES.

Note

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

Actions

set, get

Parameters

mode: byte, specifying the transaction mode.
  • INFINITE = 0

  • FINITE = 1

repeat: integer, number of request/response transactions to perform , if mode is FINITE.

Example

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

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