Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "64" as an ATR baud rate adjustment integer #215

Conversation

kurtmckee
Copy link
Contributor

Closes #214

Changed

  • Support "64" as an ATR baud rate adjustment integer (ISO 7816-3 2006).

Removed

  • Remove a trailing "RFU" value in the ATR clock rate mapping.

    Clock rates are mapped using only 4 bits, meaning there are only 16 possible values. The trailing "RFU" value was the 17th value in the list.

Added

  • Add a single test that trivially checks the ATR mapping lengths.

Closes LudovicRousseau#214

Changed
-------

* Support "64" as an ATR baud rate adjustment integer (ISO 7816-3 2006).

Removed
-------

* Remove a trailing `"RFU"` value in the ATR clock rate mapping.

  Clock rates are mapped using only 4 bits,
  meaning there are only 16 possible values.
  The trailing `"RFU"` value was the 17th value in the list.

Added
-----

* Add a single test that trivially checks the ATR mapping lengths.
@coveralls
Copy link

Coverage Status

coverage: 65.574% (+0.05%) from 65.527%
when pulling 362afdf on kurtmckee:atr-clock-and-bit-rates-issue-214
into 927d79f on LudovicRousseau:master.

@LudovicRousseau LudovicRousseau merged commit ab94842 into LudovicRousseau:master Oct 17, 2024
26 checks passed
@kurtmckee kurtmckee deleted the atr-clock-and-bit-rates-issue-214 branch October 17, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ATR clock rates and bit rates
3 participants