GRL-USB-PD-C2/C2-EPR API 1.1.9
GRL-USB-PD-C2/C2-EPR API Documentation
|
PPS_Status Message class is used to send the PPS status message from the GRL-USB-PD-C2/C2_EPR controller. More...
Public Member Functions | |
List< byte > | GetListofByteData () |
Gets Byte Data. | |
byte[] | GetRawData_InBytes () |
PPSStatusMessage () | |
Request Message Constructor. | |
bool | ClearDataObjects () |
Clears the object. | |
bool | AddPPSStatusMessage (int outputVoltage, byte outputCurrent) |
AddPPSStatusMessage is used to configure PPS status message. | |
bool | AddRealTimeFalgFeilds (byte iPresentTemperatureFlag, bool OperatingModeFlag=false, bool eprMode=false) |
bool | ExtendedHeaderConfiguration (ushort datasize, bool Chunked=false) |
Sets Extended header configuration. | |
Public Attributes | |
List< byte > | m_PPSDataObject |
byte | m_RealTimeFalg |
PPS_Status Message class is used to send the PPS status message from the GRL-USB-PD-C2/C2_EPR controller.
GrlPdLib.PPSStatusMessage.PPSStatusMessage | ( | ) |
Request Message Constructor.
bool GrlPdLib.PPSStatusMessage.AddPPSStatusMessage | ( | int | outputVoltage, |
byte | outputCurrent ) |
AddPPSStatusMessage is used to configure PPS status message.
outputVoltage | Source’s output Voltage in 20mV units. When set to 0xFFFF, the Source does not support this field. |
outputCurrent | Source’s output current in 50mA units. When set to 0xFF, the Source does not supportthis field. |
bool GrlPdLib.PPSStatusMessage.ClearDataObjects | ( | ) |
Clears the object.
bool GrlPdLib.PPSStatusMessage.ExtendedHeaderConfiguration | ( | ushort | datasize, |
bool | Chunked = false ) |
Sets Extended header configuration.
datasize | Size of the Source or Sink Extended Messages. |
Chunked | Series of Data Blocks. true : Chunked , false : unchunked |
List< byte > GrlPdLib.PPSStatusMessage.GetListofByteData | ( | ) |
Gets Byte Data.