github
diff --git a/frontend/sw.js b/frontend/sw.js
index 36fbc70..6827201 100644
--- a/frontend/sw.js
+++ b/frontend/sw.js
@@ -1,4 +1,4 @@
-const CACHE = 'otaman-v22';
+const CACHE = 'otaman-v23';
const URLS = [
'index.html',
'help.html',
diff --git a/pyproject.toml b/pyproject.toml
index 1e1628e..edc8d95 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "pysim-otaman-server"
-version = "1.9.11"
+version = "1.9.12"
description = "HTTP REST server wrapping pysim for the OTAMan PWA"
requires-python = ">=3.8"
# pysim is a git-only dependency installed explicitly by setup.bat/setup.sh.
diff --git a/pysim_otaman_server/server.py b/pysim_otaman_server/server.py
index 4af80dd..b8f7340 100644
--- a/pysim_otaman_server/server.py
+++ b/pysim_otaman_server/server.py
@@ -18,7 +18,7 @@ from osmocom.construct import GsmOrUcs2Adapter
from osmocom.tlv import BER_TLV_IE
-VERSION = '1.9.11'
+VERSION = '1.9.12'
# Static file serving (the PWA lives in
/frontend, served by this server
@@ -885,9 +885,11 @@ def _reset_proactive_log():
def _send_status(scc):
- """STATUS (F2) with correct P3 per card type: SIM=0x23, UICC=0x00."""
+ """STATUS (F2) with correct P3 per card type: SIM=0x23, UICC=0x00.
+ P2=0C mirrors phone behavior - no FCP of the selected DF returned
+ (plain F2 00 00 would echo the FCP, which is unnecessary overhead)."""
p3 = '23' if scc.cat_cla == 'a0' else '00'
- return scc._tp.send_apdu('%sf20000%s' % (scc.cat_cla, p3))
+ return scc._tp.send_apdu('%sf2000c%s' % (scc.cat_cla, p3))
def _send_event_download(scc, event_type, event_data=None):