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

Public Member Functions

List< byte > GetListofByteData ()
 
byte GetUINTData ()
 
bool ClearDataObjects ()
 
bool GetBattery_Cap_Ref (byte FixedBat, byte HotSwapBat)
 The GetBattery_Cap_Ref (Get Battery Cap) Message is used to request the capability of a Battery present in its Port Partner.
 
bool ExtendedHeaderConfiguration (ushort datasize, bool Chunked=false)
 Sets Extended header configuration.
 

Member Function Documentation

◆ ExtendedHeaderConfiguration()

bool GrlPdLib.GetBatteryCap.ExtendedHeaderConfiguration ( ushort datasize,
bool Chunked = false )

Sets Extended header configuration.

Parameters
datasizeSize of the Source or Sink Extended Messages.
ChunkedSeries of Data Blocks. true : Chunked , false : unchunked
Returns
true:Extended Header configured properly, false : Failure in extended header configuration

◆ GetBattery_Cap_Ref()

bool GrlPdLib.GetBatteryCap.GetBattery_Cap_Ref ( byte FixedBat,
byte HotSwapBat )

The GetBattery_Cap_Ref (Get Battery Cap) Message is used to request the capability of a Battery present in its Port Partner.

Parameters
FixedBatValues 0…3 represent the Fixed Batteries
HotSwapBatValues 4…7 represent the Hot Swappable Batteries
Returns