GRL-USB-PD-C2/C2-EPR API 1.1.9
GRL-USB-PD-C2/C2-EPR API Documentation
|
SinkCapabilitiesExtendedMessages configuration class. More...
Public Member Functions | |
byte[] | GetArrayByteData () |
Converting List of byte into Array byte. | |
List< byte > | GetListofByteData () |
Converting List of byte into Array byte. | |
bool | ClearDataObjects () |
To clear Battery cap's object. | |
bool | AddExtendeControlMsg (int Type, byte bData) |
To configure Extended_Control Message data block. | |
bool | ExtendedHeaderConfiguration (ushort datasize, bool Chunked=false) |
Sets Extended header configuration. | |
SinkCapabilitiesExtendedMessages configuration class.
bool GrlPdLib.Extended_Control_Message.AddExtendeControlMsg | ( | int | Type, |
byte | bData ) |
To configure Extended_Control Message data block.
Type | Extended Control Message Type 0 - Reserved 1- EPR_Get_Source_Cap 2- EPR_Get_Sink_Cap 3- EPR_KeepAlive 4- EPR_KeepAlive_Ack 5-255 Reserved |
bData |
bool GrlPdLib.Extended_Control_Message.ClearDataObjects | ( | ) |
To clear Battery cap's object.
bool GrlPdLib.Extended_Control_Message.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 |
byte[] GrlPdLib.Extended_Control_Message.GetArrayByteData | ( | ) |
Converting List of byte into Array byte.
List< byte > GrlPdLib.Extended_Control_Message.GetListofByteData | ( | ) |
Converting List of byte into Array byte.