From c011c02f8ebf035ca6fd4d837edc2d4279458719 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: Wed, 23 Sep 2026 09:10:45 +0300 Subject: [PATCH] =?UTF-8?q?ui:=20Push=20commands=20sub-pills=20=E2=80=94?= =?UTF-8?q?=20one=20form=20at=20a=20time=20(v3.5.0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Push commands pill now switches between four sub-pills - Trigger (Push SMS), Store (SD admin params), BIP / CAT_TP trigger, TCP trigger - and shows only the selected form: - Trigger/Store share one GP administration form (fields unchanged); the mode only changes the payload wrapping and the form heading, which now carries the HTTP OTA prefix: "HTTP OTA Administrative session trigger (Push SMS)" / "HTTP OTA Administrative session store data (SD admin params)". - BIP/CAT_TP and TCP keep their own headings ("... (TS 102 226 §9)") and their "not the administration session" note. - hotaSetForm() owns the pill styling and form visibility and delegates to hotaSetMode() (Trigger/Store) or pushUpdate() (SS9 forms); the view always opens on Trigger, nothing is persisted. sw cache -> simple-v247; help 2.7 EN/RU, READMEs and AGENTS updated. --- README.md | 2 +- README_RUS.md | 2 +- frontend/help-ru.html | 2 +- frontend/help.html | 2 +- frontend/index.html | 54 +++++++++++++++++++++++++++++++++++-------- frontend/sw.js | 2 +- 6 files changed, 50 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 4a271fe..fea7d1f 100644 --- a/README.md +++ b/README.md @@ -359,7 +359,7 @@ Pastes raw APDU hex and renders a collapsible tree. It auto-detects the containe ### Push commands -Groups the commands that make the card dial out: the GlobalPlatform HTTP administration session trigger (and its Store mode) plus the ETSI TS 102 226 §9 PUSH variants. They are delivered differently - the administration trigger is a TLV message for the Security Domain, a §9 PUSH is a C-APDU (`80 EC 01 P2`) for an application that supports BIP/CAT_TP. +Groups the commands that make the card dial out. Four sub-pills switch between the forms - Trigger (Push SMS), Store (SD admin params), BIP / CAT_TP trigger and TCP trigger - and only the selected one is shown (the two GP forms share their fields). They are delivered differently - the administration trigger is a TLV message for the Security Domain, a §9 PUSH is a C-APDU (`80 EC 01 P2`) for an application that supports BIP/CAT_TP. #### Administration session (HTTP OTA) diff --git a/README_RUS.md b/README_RUS.md index d02eac4..504e7d0 100644 --- a/README_RUS.md +++ b/README_RUS.md @@ -333,7 +333,7 @@ CLA = `80` (GlobalPlatform v2.3.1). Удалённое управление со ### Пуш/триггер -Объединяет команды, заставляющие карту выйти в сеть: триггер административной сессии HTTP (GlobalPlatform) с режимом записи параметров и варианты команды PUSH из ETSI TS 102 226 §9. Доставляются они по-разному — триггер администрирования это TLV-сообщение для Security Domain, а PUSH §9 это C-APDU (`80 EC 01 P2`) для приложения с поддержкой BIP/CAT_TP. +Объединяет команды, заставляющие карту выйти в сеть. Четыре подвкладки переключают формы — Trigger (Push SMS), Store (SD admin params), BIP / CAT_TP trigger и TCP trigger — показывается только выбранная (обе формы GP используют один набор полей). Доставляются они по-разному — триггер администрирования это TLV-сообщение для Security Domain, а PUSH §9 это C-APDU (`80 EC 01 P2`) для приложения с поддержкой BIP/CAT_TP. #### Сессия администрирования (HTTP OTA) diff --git a/frontend/help-ru.html b/frontend/help-ru.html index 6cddaf3..19bfb47 100644 --- a/frontend/help-ru.html +++ b/frontend/help-ru.html @@ -231,7 +231,7 @@
Вставка raw APDU hex и отображение сворачиваемого дерева. Автоматически определяет контейнер: Expanded Script (начало AA или AE80, декодируется по ETSI TS 102 226 §5.2.1) или Compact C-APDU chain (последовательность C-APDU ISO 7816). Каждый узел показывает метку, hex и краткое описание; родительские узлы раскрываются в подэлементы.
Объединяет команды, заставляющие карту выйти в сеть: триггер административной сессии HTTP (GlobalPlatform) с режимом записи параметров и варианты команды PUSH из ETSI TS 102 226 §9 (открытие BIP-канала, соединение CAT_TP, TCP-соединение, пакет идентификации). Они из разных спецификаций и доставляются по-разному — триггер администрирования это TLV-сообщение для Security Domain, а PUSH §9 это C-APDU (80 EC 01 P2) для приложения с поддержкой BIP и/или CAT_TP.
Объединяет команды, заставляющие карту выйти в сеть. Четыре подвкладки переключают формы — Trigger (Push SMS), Store (SD admin params), BIP / CAT_TP trigger и TCP trigger — показывается только выбранная форма; обе формы GP используют один набор полей (режим меняет только обёртку payload’а, а заголовок формы указывает режим). Они из разных спецификаций и доставляются по-разному: триггер администрирования это TLV-сообщение для Security Domain (HTTP OTA), а PUSH §9 это C-APDU (80 EC 01 P2) для приложения с поддержкой BIP и/или CAT_TP.
Сборка payload’ов Remote Application Management over HTTP по GlobalPlatform GPC v2.2 Amendment B v1.1 (§4.7). Два режима:
diff --git a/frontend/help.html b/frontend/help.html index 43c9d6a..b2c83a9 100644 --- a/frontend/help.html +++ b/frontend/help.html @@ -230,7 +230,7 @@Pastes raw APDU hex and renders a collapsible tree. It auto-detects the container: an Expanded Script (leading AA or AE80, decoded per ETSI TS 102 226 §5.2.1) or a Compact C-APDU chain (a sequence of ISO 7816 C-APDUs). Each node shows its label, hex and a short description; parent nodes expand to reveal their sub-elements.
Groups the commands that make the card dial out: the GlobalPlatform HTTP administration session trigger (and its Store mode) plus the ETSI TS 102 226 §9 PUSH variants (BIP channel opening, CAT_TP link, TCP connection, identification packet). They come from different specs and are delivered differently — the administration trigger is a TLV message for the Security Domain, a §9 PUSH is a C-APDU (80 EC 01 P2) for an application that supports BIP and/or CAT_TP.
Groups the commands that make the card dial out. Four sub-pills switch between the forms — Trigger (Push SMS), Store (SD admin params), BIP / CAT_TP trigger and TCP trigger — and only the selected form is shown; the two GP forms share one set of fields (the mode only changes how the payload is wrapped, and the form heading says which one). They come from different specs and are delivered differently: the administration trigger is a TLV message for the Security Domain (HTTP OTA), a §9 PUSH is a C-APDU (80 EC 01 P2) for an application that supports BIP and/or CAT_TP.
Builds the Remote Application Management over HTTP payloads defined in GlobalPlatform GPC v2.2 Amendment B v1.1 (§4.7). Two modes:
diff --git a/frontend/index.html b/frontend/index.html index 95e045e..ab6f21f 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -182,12 +182,17 @@Not the administration session — a C-APDU for an app that supports BIP/CAT_TP
Not the administration session — a C-APDU for an app that supports BIP/CAT_TP