CCID_Types: avoid multi-byte bitfield records

For some reason I cannot get them correctly deoded ,see my post at
https://www.eclipse.org/forums/index.php/t/1097288/
This commit is contained in:
Harald Welte 2019-01-28 17:07:20 +01:00
parent 4126bfb255
commit 1a706759c0
1 changed files with 8 additions and 3 deletions

View File

@ -74,7 +74,8 @@ type record CCID_ClassDescriptor {
HEX4n bcdCCID,
uint8_t bMaxSlotIndex,
CCID_VoltageSupport bVoltageSupport,
CCID_Protocols dwProtocools,
//CCID_Protocols dwProtocools,
BIT32 dwProtocools,
u32le_t dwDefaultClock,
u32le_t dwMaximumClock,
uint8_t bNumClockSupported,
@ -82,8 +83,12 @@ type record CCID_ClassDescriptor {
u32le_t dwMaxDataRate,
uint8_t bNumDataRatesSupported,
u32le_t dwMaxIFSD,
CCID_Mechanical dwMechanical,
CCID_Features dwFeatures,
//CCID_SynchProtocols dwSynchProtocols,
//CCID_Mechanical dwMechanical,
//CCID_Features dwFeatures,
BIT32 dwSynchProtocols,
BIT32 dwMechanical,
BIT32 dwFeatures,
u32le_t dwMaxCCIDMessageLength,
uint8_t bClassGetResponse,
uint8_t bClassEnvelope,