P4G_RAW_PAYLOAD_REPEAT_LEN

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

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

Description

Specify the length of the raw payload, which is defined by one or more P4G_RAW_PAYLOAD commands, to repeat.

P4G_RAW_PAYLOAD_REPEAT_LEN number of bytes will be repeated until P4G_RAW_PAYLOAD_TOTAL_LEN bytes are transmitted on the connection.

Actions

set, get

Parameters

length: integer, the length of the raw payload to repeat

Example

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

# get
input:  0/1 P4G_RAW_PAYLOAD_REPEAT_LEN [0] ?
output: 0/1 P4G_RAW_PAYLOAD_REPEAT_LEN [0] 1