PS_OPTIONS
code: 220
# set
<module-index>/<port-index> PS_OPTIONS [<stream_index>] <options>
# get
<module-index>/<port-index> PS_OPTIONS [<stream_index>] ?
Description
Define the set of active “option flags” for the stream. The “set” form sets the flags listed in <options>, and clears the flags not listed. To clear all flags, simply omit <options> in the command.
Actions
set, get
Parameters
options: byte list
INCPLDFROM0 = 0This flag affects theINC8/DEC8/INC16/DEC16payload types (refer to thePS_PAYLOADcommand): With the flag set, the first payload byte/word after the header will be 0 (INC8/INC16) or -1 (DEC8/DEC16). With the flag unset, the default is used: The first payload byte/word of the payload will be equal to<length of header>(INC8/INC16), or-<length of header> - 1(DEC8/DEC16).
Example
# set
input: 0/1 PS_OPTIONS [0] 0
output: <OK>
# get
input: 0/1 PS_OPTIONS [0] ?
output: 0/1 PS_OPTIONS [0] 0