feat: infer the ETSI release from the CAP's uicc.toolkit import (v3.6.44)
The CAP details' Platform row named only the Java Card level; it now also shows the ETSI/3GPP release the UICC API imports come from, with its basis in brackets, e.g. 'Java Card >= 2.2.2 - ETSI REL-7 (uicc.toolkit 1.4) - CAP format 2.1'. capmem.ETSI_TOOLKIT_RELEASE maps the uicc.toolkit export version to the release, sourced from the workspace corpus: sim-tools/ETSI-REL.md for the prepared trees (api21_rel7_export_files carries uicc.toolkit 1.4 = the REL-7 jar, api21_export_files 1.11 = the REL-12 jar) and sim-tools/etsi/102241/README.md's package-version table for the rest (1.0 -> REL-6/7, 1.3 -> REL-8, 1.5 -> REL-9, 1.12-1.14 -> REL-15..18; the 1.11 spec range is 13.01-14.02 but the tree the builds use is REL-12). Exposed as requires_etsi_release/requires_etsi_basis in /api/cap-info and the CLI; SIM-only CAPs (no uicc.toolkit) get no label. Verified: RemMobileID -> REL-7 (uicc.toolkit 1.4), AlfaDSA -> REL-12 (uicc.toolkit 1.11). sw cache simple-v317; tests: 531 Python / 677 Node.
This commit is contained in:
+7
-1
@@ -1747,7 +1747,7 @@
|
||||
// ===== Version =====
|
||||
// Single source of truth for the PWA version: shown in the header and used
|
||||
// by the server version check in pysimConnect().
|
||||
const SIMPLE_VERSION = '3.6.43';
|
||||
const SIMPLE_VERSION = '3.6.44';
|
||||
document.getElementById('app-version').textContent = 'v' + SIMPLE_VERSION;
|
||||
|
||||
// ===== Tab switching =====
|
||||
@@ -8499,6 +8499,12 @@ function capMemHtml(mem) {
|
||||
(fw ? JC_FRAMEWORK_SDK[(Number(fw.major) || 0) + '.' + (Number(fw.minor) || 0)] : '');
|
||||
let against = sdk ? 'Java Card \u2265 ' + sdk
|
||||
: (fw ? 'javacard.framework \u2265 ' + (Number(fw.major) || 0) + '.' + (Number(fw.minor) || 0) : '');
|
||||
// the ETSI release the UICC API imports come from (capmem: uicc.toolkit
|
||||
// version -> REL-N per the workspace sim-tools corpus), basis in brackets
|
||||
if (mem.requires_etsi_release) {
|
||||
against += (against ? ' \u00b7 ' : '') + 'ETSI ' + mem.requires_etsi_release +
|
||||
(mem.requires_etsi_basis ? ' (' + mem.requires_etsi_basis + ')' : '');
|
||||
}
|
||||
if (mem.cap_version) against += (against ? ' \u00b7 ' : '') + t('CAP format') + ' ' + mem.cap_version;
|
||||
if (mem.needs_int) against += (against ? ' \u00b7 ' : '') + t('int support');
|
||||
if (against) pkgRows += row(label(esc(t('Platform'))) + cell(esc(against), 'pl-4'));
|
||||
|
||||
Reference in New Issue
Block a user