Refactoring Blocks vs. Sectors.

- mifare_classic_format_sector() now wants a sector instead of a block (the name was really disturbing);
  - New public API functions for Block <=> Sector conversions.
This commit is contained in:
Romain Tartiere 2010-07-01 23:19:45 +00:00
parent cc5de33a56
commit 163ce56cc0
9 changed files with 62 additions and 48 deletions

5
NEWS
View file

@ -5,4 +5,9 @@ Changes between 0.1.0 and x.x.x [xx XXX xxxx]
*) The mifare_application_alloc() size parameter is now expressed in bytes
and not in sectors.
*) New API function mad_sector_reserved().
*) The mifare_classic_format_sector() functions now require a sector number
instead of a block number.
*) New API functions mifare_classic_block_sector(),
mifare_classic_sector_first_block(), mifare_classic_sector_block_count()
and mifare_classic_sector_last_block().