P_PAYLOADMODE
code: 324
# set
<module-index>/<port-index> P_PAYLOADMODE <mode>
# get
<module-index>/<port-index> P_PAYLOADMODE ?
Description
Set this command to configure the port to use different payload modes, i.e. normal, extend payload, and custom payload field, for ALL streams on this port. The extended payload feature allows the definition of a much larger (up to MTU) payload buffer for each stream. The custom payload field feature allows you to define a sequence of custom data fields for each stream. The data fields will then be used in a round robin fashion when packets are sent based on the stream definition.
Actions
set, get
Parameters
mode
: byte, the port’s payload mode for ALL streams on this port.
NORMAL = 0
, normal.
EXTPL = 1
, extended payload.
CDF = 2
, custom payload field.
Example
# set
input: 0/1 P_PAYLOADMODE NORMAL
output: <OK>
# get
input: 0/1 P_PAYLOADMODE ?
output: 0/1 P_PAYLOADMODE NORMAL