Files
simple/frontend/tests/tr_result_by_command.json
T
catarrh 2b994a7a89 v3.23.8: the command-grouped TERMINAL RESPONSE result list
The step editor's result select offers the full TS 102 223 8.12.0 list; the
spec's applicability table (Tables 6.1/6.2/6.3, "Proactive commands versus
possible terminal response") now groups it by the selected command: the
command-relevant values first (an <optgroup> "relevant for <command>"), the
rest after ("all other results").

The grouping is ordering-only - nothing is hidden, the manual hex entry
covers everything, and ANY (the drain's respond/first too) stays a flat list,
so a stored result always matches an option and real-card deviations remain
reachable.

TR_RESULT_BY_COMMAND is parsed from the pinned PDF (41 commands) and pinned
by frontend/tests/tr_result_by_command.json; trCommandCode() resolves the
editor's command names to their type codes (the first code per name,
matching testCommandOptions) and testFormSelect gained the optgroup support.

Tests: the map vs the parsed fixture, the grouping and the union (nothing
lost), the optgroup rendering and the call-site pin.  861 frontend + 842
Python; sw cache simple-v421.
2026-10-08 21:55:57 +03:00

47 lines
3.7 KiB
JSON

{
"_note": "TS 102 223 v18.3.0 Tables 6.1/6.2/6.3 \"Proactive commands versus possible terminal response\", parsed from the pinned PDF (docs/uicc/, workspace copy) - which result values the spec lists for each proactive command. The PWA's TR_RESULT_BY_COMMAND mirrors this file (frontend/tests/tr_results.test.js asserts it); the list is used for GROUPING only (the command-relevant values first, the rest after - nothing is hidden). Regenerate with a pdftotext -layout parse of the table pages if the spec pin changes.",
"commands": {
"01": ["00", "01", "02", "03", "04", "08", "20", "30", "31", "32", "33", "36", "3C"],
"02": ["00", "01", "02", "20", "30", "31", "32", "33", "36"],
"03": ["00", "01", "02", "20", "30", "31", "32", "33", "36"],
"04": ["00", "01", "02", "20", "30", "31", "32", "33", "36"],
"05": ["00", "01", "02", "20", "30", "31", "32", "33", "36"],
"10": ["00", "01", "02", "04", "05", "10", "14", "20", "21", "22", "23", "25", "30", "31", "32", "33", "34", "36", "39", "3C"],
"14": ["00", "01", "02", "04", "10", "20", "30", "31", "32", "33", "36", "3C"],
"15": ["00", "01", "02", "20", "21", "26", "30", "31", "32", "33", "3C"],
"20": ["00", "01", "02", "04", "09", "10", "20", "30", "31", "32", "33", "36", "3C"],
"21": ["00", "01", "02", "04", "10", "11", "12", "20", "30", "31", "32", "33", "36", "3C"],
"22": ["00", "01", "02", "04", "10", "11", "12", "13", "20", "30", "31", "32", "33", "36", "3C"],
"23": ["00", "01", "02", "04", "10", "11", "12", "13", "20", "30", "31", "32", "33", "36", "3C"],
"24": ["00", "01", "02", "04", "10", "11", "12", "13", "20", "30", "31", "32", "33", "36", "3C"],
"25": ["00", "01", "02", "04", "20", "30", "31", "32", "33", "36"],
"26": ["00", "01", "02", "06", "20", "30", "31", "32", "33", "36"],
"27": ["00", "01", "02", "20", "24", "30", "31", "32", "33", "36"],
"28": ["00", "01", "02", "20", "30", "31", "32", "33", "36", "3C"],
"30": ["00", "01", "02", "20", "30", "31", "32", "33", "36", "38"],
"31": ["00", "01", "02", "20", "30", "31", "32", "33", "36", "38"],
"32": ["00", "01", "02", "20", "30", "31", "32", "33", "36", "38"],
"33": ["00", "01", "02", "20", "30", "31", "32", "33", "36", "38"],
"34": ["00", "01", "02", "20", "30", "31", "32", "33", "36", "3C"],
"35": ["00", "01", "02", "20", "30", "31", "32", "33", "36"],
"40": ["00", "01", "02", "04", "07", "10", "20", "21", "22", "25", "28", "30", "31", "32", "33", "36", "3A", "3B", "3C"],
"41": ["00", "01", "02", "04", "10", "20", "30", "31", "32", "33", "36", "3A", "3C"],
"42": ["00", "01", "02", "04", "10", "20", "30", "31", "32", "33", "36", "3A", "3C"],
"43": ["00", "01", "02", "04", "10", "20", "21", "22", "30", "31", "32", "33", "36", "3A", "3C"],
"44": ["00", "01", "02", "04", "10", "20", "30", "31", "32", "33", "36"],
"45": ["00", "01", "04", "10", "20", "30", "31", "32", "33", "36", "3A", "3B", "3C"],
"46": ["00", "01", "04", "10", "20", "30", "31", "32", "33", "36", "3A", "3B", "3C"],
"47": ["00", "01", "02", "07", "20", "30", "31", "32", "33", "36", "3A"],
"50": ["00", "01", "20", "30", "31", "32", "33", "36", "3C"],
"51": ["00", "01", "20", "30", "31", "32", "33", "36", "3C"],
"60": ["00", "01", "02", "27", "30", "31", "32", "33", "36", "3D"],
"61": ["00", "01", "02", "27", "30", "31", "32", "33", "36", "3D"],
"62": ["00", "01", "02", "10", "27", "30", "31", "32", "33", "36", "3D"],
"70": ["00", "01", "20", "30", "31", "32", "33", "36"],
"71": ["00", "01", "20", "30", "31", "32", "33"],
"72": ["00", "01", "20", "30", "31", "32", "33", "36"],
"73": ["00", "01", "20", "30", "31", "32", "33", "36"],
"79": ["00", "01", "20", "30", "31", "32", "36"]
}
}