Add CAT (TS 102 223) command decoding + fix AUTHENTICATE naming

- CAT_COMMAND_TYPES: complete Type of Command table from TS 102 223 §9.4
- ENVELOPE_TYPES: D1-D7 envelope tags
- parse_tlv(): minimal BER-TLV parser
- decode_cat(): FETCH → proactive command name (via D0→81 type byte);
  ENVELOPE → envelope type name
- AUTHENTICATE (0x88/0x89) unified to 'AUTHENTICATE' (no suffix)
- decoded dict gains 'cat_command' field for FETCH/ENVELOPE
- tests/test_decode.py: 14 new tests (TLV, naming, CAT, tables)
This commit is contained in:
catarrh committed 2026-08-12 18:26:58 +03:00
1 parent 41b5c0218e
commit 11d0f29b6a
3 files changed
+2752 -2

No files matched your search

+2540
View File
File diff suppressed because it is too large. Load diff