GRL-USB-PD-C2/C2-EPR API 1.1.9
GRL-USB-PD-C2/C2-EPR API Documentation
Loading...
Searching...
No Matches
GrlPdLib.PDCommandParameter Class Reference

PDCommandParameter configuration class used to send the data message function using the GrlC2Controller.SendDataMessage function in GrlC2Controller.SendDataMessage command. More...

Public Member Functions

 PDCommandParameter ()
 Constructor.
 
 PDCommandParameter (MsgType msg, SOP_TYPE sop=SOP_TYPE.SOP, VDM_CMD vdm=VDM_CMD.Unknown, uint svid=0x0)
 Constructor with command configuration.
 

Public Attributes

MsgType msgType = MsgType.Unknown
 
VDM_CMD vdmCmd = VDM_CMD.Unknown
 
uint SVID = 0x0000
 
SOP_TYPE sopType = SOP_TYPE.SOP
 

Detailed Description

PDCommandParameter configuration class used to send the data message function using the GrlC2Controller.SendDataMessage function in GrlC2Controller.SendDataMessage command.

Constructor & Destructor Documentation

◆ PDCommandParameter() [1/2]

GrlPdLib.PDCommandParameter.PDCommandParameter ( )

Constructor.

◆ PDCommandParameter() [2/2]

GrlPdLib.PDCommandParameter.PDCommandParameter ( MsgType msg,
SOP_TYPE sop = SOP_TYPE::SOP,
VDM_CMD vdm = VDM_CMD::Unknown,
uint svid = 0x0 )

Constructor with command configuration.

Parameters
msgMessage Type
sopSOP Type, default is SOP
vdmVDM command type, default is Unknown
svidSVID, default is 0x0