P4G_ROLE
# set
<module-index>/<port-index> P4G_ROLE [<group_index>] <role>
# get
<module-index>/<port-index> P4G_ROLE [<group_index>] ?
Description
Specifies the client or server role for this CG. A server passively waits for the clients to establish connections.
Actions
set, get
Parameters
role: Role
, the role of the CG.CLIENT = 0
SERVER = 1
Example
# set
input: 0/1 P4G_ROLE [0] CLIENT
output: <OK>
# get
input: 0/1 P4G_ROLE [0] ?
output: 0/1 P4G_ROLE [0] CLIENT