GRL-USB-PD-C2/C2-EPR API 1.1.9
GRL-USB-PD-C2/C2-EPR API Documentation
|
Get Manufacturer Info configuration class. More...
Public Member Functions | |
GetManufacturerInfoMessage () | |
Get Manufacturer Info Constructor. | |
byte[] | GetRawData_InBytes () |
List< byte > | GetListOfByteData () |
Gets List of byte data of Get Manufacturer Info. | |
bool | ClearDataObjects () |
Clears the Get Manufacturer Info message object. | |
bool | AddGetManufacturerInfoMessage (byte manufacturerInfoTarget, bool isFixBat0=false, bool isFixbat1=false, bool isFixedbat2=false, bool isFixedbat3=false, bool isHoTSwpBat0=false, bool isHotSwpBat1=false, bool isHotSwpBat2=false, bool isHotSwpBat3=false) |
Configure Get Manufacturer Info Data Block. | |
bool | ExtendedHeaderConfiguration (ushort datasize, bool Chunked=false) |
Sets Extended header configuration. | |
Get Manufacturer Info configuration class.
GrlPdLib.GetManufacturerInfoMessage.GetManufacturerInfoMessage | ( | ) |
Get Manufacturer Info Constructor.
bool GrlPdLib.GetManufacturerInfoMessage.AddGetManufacturerInfoMessage | ( | byte | manufacturerInfoTarget, |
bool | isFixBat0 = false, | ||
bool | isFixbat1 = false, | ||
bool | isFixedbat2 = false, | ||
bool | isFixedbat3 = false, | ||
bool | isHoTSwpBat0 = false, | ||
bool | isHotSwpBat1 = false, | ||
bool | isHotSwpBat2 = false, | ||
bool | isHotSwpBat3 = false ) |
Configure Get Manufacturer Info Data Block.
manufacturerInfoTarget | 0: Port/Cable Plug, 1: Battery, 255…2: Reserved Shall Not be used. |
isFixBat0 | Set's the Fixed Battery index 0. |
isFixbat1 | Set's the Fixed Battery index 1. |
isFixedbat2 | Set's the Fixed Battery index 2. |
isFixedbat3 | Set's the Fixed Battery index 3. |
isHoTSwpBat0 | Set's the Hot Battery index 4. |
isHotSwpBat1 | Set's the Hot Battery index 5. |
isHotSwpBat2 | Set's the Hot Battery index 6. |
isHotSwpBat3 | Set's the Hot Battery index 7. |
bool GrlPdLib.GetManufacturerInfoMessage.ClearDataObjects | ( | ) |
Clears the Get Manufacturer Info message object.
bool GrlPdLib.GetManufacturerInfoMessage.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.GetManufacturerInfoMessage.GetListOfByteData | ( | ) |
Gets List of byte data of Get Manufacturer Info.