commit | 066489d4e0fc67a1e19b13f0cb7bbd57b26e2454 | [log] [tgz] |
---|---|---|
author | Eric Wild <ewild@sysmocom.de> | Sat Oct 17 01:36:26 2020 +0200 |
committer | Eric Wild <ewild@sysmocom.de> | Sat Oct 17 19:23:37 2020 +0200 |
tree | f50f8504e608e737f82d390983998fa17206538c | |
parent | ef393c31e887f548db132b121aefb21649f2d743 [diff] |
t0: fix wtime calculation, for real this time ETU calculation is 1 etu = fi/di * 1/f as per chapter 7.1. wtime/WWT is usually mentioned as being 9600 etu in iso 7816-3 - but it's actually specified for t=0 as WT=WI*960*Fi/f in chapter 10.2 - no di involved here, so the rightmost fraction is not ETU! -> as soon as di is not 1 after a pps exchange the timeout value was off by a factor of di if it was just used as a multiplier for ETU. Change-Id: Icd4fa83e1177873e90200529331d3a1fce8be1c6
This repository contains a C-language implementation of the USB CCID (Smart Card Reader) device class. The code is written in a portable fashin and can be found in the ccid_common
sub-directory.
The code can be built to run as an userspace program on Linux, implementing a USB Gadget using the FunctionFS interface. For this version, see the ccid_host
subdirectory.
The CCID code can also be built into a firmware for the sysmoOCTSIM 8-slot high-performance USB smart card reader.
Discussions related to osmo-ccid-firmware are happening on the slightly unrelated simtrace@lists.osmocom.org mailing list, please see https://lists.osmocom.org/mailman/listinfo/simtrace for subscription options and the list archive.
Please observe the Osmocom Mailing List Rules when posting.
Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards
We us a gerrit based patch submission/review process for managing contributions. Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit for more details
The current patch queue for osmo-ccid-firmware can be seen at https://gerrit.osmocom.org/#/q/project:osmo-ccid-firmware+status:open