mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-24 17:28:32 +03:00
CCID usb descriptor: We support 3V only, not 5V.
This commit is contained in:
@@ -284,7 +284,7 @@ static const CCIDDriverConfigurationDescriptors configurationDescriptorCCID = {
|
|||||||
CCID_DECRIPTOR_TYPE, // bDescriptorType:Functional descriptor type
|
CCID_DECRIPTOR_TYPE, // bDescriptorType:Functional descriptor type
|
||||||
CCID1_10, // bcdCCID: CCID version
|
CCID1_10, // bcdCCID: CCID version
|
||||||
0, // bMaxSlotIndex: Value 0 indicates that one slot is supported
|
0, // bMaxSlotIndex: Value 0 indicates that one slot is supported
|
||||||
VOLTS_5_0, // bVoltageSupport
|
VOLTS_3_0, // bVoltageSupport
|
||||||
(1 << PROTOCOL_TO), // dwProtocols
|
(1 << PROTOCOL_TO), // dwProtocols
|
||||||
3580, // dwDefaultClock
|
3580, // dwDefaultClock
|
||||||
3580, // dwMaxClock
|
3580, // dwMaxClock
|
||||||
@@ -460,7 +460,7 @@ static const SIMTraceDriverConfigurationDescriptorMITM configurationDescriptorMI
|
|||||||
CCID_DECRIPTOR_TYPE, // bDescriptorType:Functional descriptor type
|
CCID_DECRIPTOR_TYPE, // bDescriptorType:Functional descriptor type
|
||||||
CCID1_10, // bcdCCID: CCID version
|
CCID1_10, // bcdCCID: CCID version
|
||||||
0, // bMaxSlotIndex: Value 0 indicates that one slot is supported
|
0, // bMaxSlotIndex: Value 0 indicates that one slot is supported
|
||||||
VOLTS_5_0, // bVoltageSupport
|
VOLTS_3_0, // bVoltageSupport
|
||||||
(1 << PROTOCOL_TO), // dwProtocols
|
(1 << PROTOCOL_TO), // dwProtocols
|
||||||
3580, // dwDefaultClock
|
3580, // dwDefaultClock
|
||||||
3580, // dwMaxClock
|
3580, // dwMaxClock
|
||||||
|
|||||||
Reference in New Issue
Block a user