From 1d4693305dc3fc41fd4ad3429cfee43944d5d9ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Thu, 20 Aug 2026 23:06:26 +0300 Subject: [PATCH] C-APDU Parser: descriptive action indicator names (81=session indication, 82=early response) --- frontend/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/index.html b/frontend/index.html index 06c71b4..e1ed4d8 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -2775,7 +2775,10 @@ function parseChainingFlags(hex) { function parseActionRow(hex, tag) { if (!hex || hex === '00') return [{label:'No action', hex:hex||'', desc:tag === '82' ? 'No action (82 00)' : ''}]; - if (hex.length === 2) return [{label:'Action indicator', hex, desc:'Value ' + hex}]; + if (hex.length === 2) { + const names = {'81':'Proactive session indication','82':'Early response'}; + return [{label:'Action indicator', hex, desc:names[hex] || 'Value ' + hex}]; + } const tlvs = parseTlvList(hex); if (tlvs.length > 0) { const children = describeProactiveCommand(tlvs);