From 2f49ee5f0f4411afdc1d61ef79309b5e0f8101dc 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: Sun, 6 Sep 2026 14:14:29 +0300 Subject: [PATCH] Show file size from FCI tag 0x80 in SELECT response detail view - Bump 1.22.9, SW cache v40->v41 --- frontend/index.html | 3 ++- frontend/sw.js | 2 +- pyproject.toml | 2 +- simtrace2_pysniff/__init__.py | 2 +- tests/test_pcap_import.py | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index d608494..926a9bf 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1125,6 +1125,7 @@ function responseRows(resp) { if (resp.df_name) rows.push(['DF name', resp.df_name]); if (resp.sfi) rows.push(['SFI', resp.sfi]); if (resp.life_cycle) rows.push(['Life cycle', resp.life_cycle]); + if (resp.file_size != null) rows.push(['File Size', resp.file_size + ' B']); if (resp.short_ef_id) rows.push(['Short EF ID', resp.short_ef_id]); if (resp.type === 'GSM' || resp.type === '3G/EPS/5G') { @@ -2609,7 +2610,7 @@ function onFilterChange() { } // ──────────────────── Versioning ──────────────────── -const PWA_VERSION = '1.22.8'; +const PWA_VERSION = '1.22.9'; const MIN_SERVER_VERSION = '1.0.0'; function parseVersion(v) { diff --git a/frontend/sw.js b/frontend/sw.js index 208ab41..fd2df29 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -1,4 +1,4 @@ -const CACHE = 'simtrace-analyser-v40'; +const CACHE = 'simtrace-analyser-v41'; const PRECACHE = [ 'index.html', diff --git a/pyproject.toml b/pyproject.toml index 50a6f33..c0593e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.backends._legacy:_Backend" [project] name = "simtrace2-pysniff" -version = "1.22.8" +version = "1.22.9" description = "Python-based sniffing tool for SIMtrace2 hardware (SIM card communication sniffer)" readme = {file = "README.md", content-type = "text/markdown"} license = {text = "GPL-2.0-or-later"} diff --git a/simtrace2_pysniff/__init__.py b/simtrace2_pysniff/__init__.py index 375c22e..080b05a 100644 --- a/simtrace2_pysniff/__init__.py +++ b/simtrace2_pysniff/__init__.py @@ -6,7 +6,7 @@ from .gsmtap import GsmtapSender, GsmtapReceiver from .pcap import PcapWriter from .dump import FileDumper, format_message -__version__ = '1.22.8' +__version__ = '1.22.9' __all__ = [ 'SniffSession', 'DeviceDisconnected', diff --git a/tests/test_pcap_import.py b/tests/test_pcap_import.py index d78ffe4..7e68d9a 100644 --- a/tests/test_pcap_import.py +++ b/tests/test_pcap_import.py @@ -224,7 +224,7 @@ class TestImportEndpoint(unittest.TestCase): class TestVersion(unittest.TestCase): def test_package_version(self): from simtrace2_pysniff import __version__ - self.assertEqual(__version__, '1.22.8') + self.assertEqual(__version__, '1.22.9') def test_status_includes_version(self): import os