PS_CDFDATA#

code: 197

# set
<module-index>/<port-index> PS_CDFDATA [<stream_index>, <custom_data_field_index>] <hex_data>

# get
<module-index>/<port-index> PS_CDFDATA [<stream_index>, <custom_data_field_index>] ?

Description#

This command is part of the Custom Data Field (CDF) feature. It controls the actual field data for a single field. It is possible to define fields with different data lengths for each stream. If the length of a data field exceeds (packet length - CDF offset) defined for the stream the field data will be truncated when transmitted. The feature requires that the P_PAYLOADMODE command on the parent port has been set to CDF. This enables the feature for all streams on this port.

Actions#

set, get

Parameters#

  1. hex_data: hex list, a pattern of bytes to be used

Example#

# set
input:  0/1 PS_CDFDATA [0, 0] 0x3333333333333333
output: <OK>

# get
input:  0/1 PS_CDFDATA [0, 0] ?
output: 0/1 PS_CDFDATA [0, 0] 0x3333333333333333