transit parsers: Calypso card systems

Run from hf calypso info. parsecalypso.c is a table driven EN 1545 walker
(fixed fields, presence bitmaps, repeated containers) after Metrodroid's
En1545Parser, shared by the network parsers:

  Navigo (Paris, 250901)          Metrodroid transit/intercode
  Intercode, other 250xxx         Metrodroid transit/intercode
  Opus (Montreal, 124001)         Metrodroid transit/opus
  Rav-Kav (Israel, 376xxx)        Metrodroid transit/ravkav

hf calypso info additionally hands over the ICC record, so Intercode and
Opus print the card number as issued, reads the second contracts file
(SFI 06) after a full first one, and reads the per contract counters at
SFI 0A..0D, where Rav-Kav keeps its stored value.

Holder data is deliberately not decoded. Self tests are synthetic,
neither Metrodroid nor Metroflip ships real record hex for these.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
iceman1001andClaude Opus 5.5 committed 2026-11-10 10:05:13 +07:00
1 parent 8b2f4f9cf6
commit 070972f47e
14 files changed
+1925 -3

No files matched your search

+4
View File
@@ -926,8 +926,10 @@ SRCS = mifare/aiddesfire.c \
parsers/parsenortic.c \
parsers/parsetransit.c \
parsers/parsebip.c \
parsers/parsecalypso.c \
parsers/parsecharlie.c \
parsers/parseclipper.c \
parsers/parseintercode.c \
parsers/parseintertic.c \
parsers/parseitso.c \
parsers/parsekazan.c \
@@ -937,7 +939,9 @@ SRCS = mifare/aiddesfire.c \
parsers/parsenol.c \
parsers/parseoctopus.c \
parsers/parseopal.c \
parsers/parseopus.c \
parsers/parseplantain.c \
parsers/parseravkav.c \
parsers/parserenfe.c \
parsers/parsesmartrider.c \
parsers/parsesuica.c \