Push Tracker
ria-ran--sim-drop/tests
A ashkan@beigi.net 1ade8dfc2c Phase 2: real 3GPP profile encodings + changelog
Upgrade create_esim_profile from a loose JSON mock to a structured
profile-package-v2 that embeds real 3GPP field encodings:
- enc_iccid: EF_ICCID nibble-swapped BCD, 10-byte 0xF-padded (TS 31.102 4.2.1)
- enc_imsi:  EF_IMSI length octet + parity nibble + nibble-swapped BCD (4.2.2)
- build_lpa_activation_code: SGP.22 LPA:1$<smdp>$<matching-id> string

Wire apn and smdp_address through config into the provisioning call; add
smdp_address to config.yaml.example. Add CHANGELOG.md.

Full SGP.22 SAIP/ASN.1 UPP generation via osmocom pySim remains a follow-up
(not on PyPI; needs SM-DP+/LPA for OTA install) and is noted in the changelog.

Tests: +9 (encoders, round-trips, activation code); 53 pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 06:03:48 +00:00
..
__init__.py Add Phase-1 eSIM provisioning implementation 2026-07-01 05:56:31 +00:00
test_core_adapters.py Add Phase-1 eSIM provisioning implementation 2026-07-01 05:56:31 +00:00
test_database.py Add Phase-1 eSIM provisioning implementation 2026-07-01 05:56:31 +00:00
test_profile_generator.py Phase 2: real 3GPP profile encodings + changelog 2026-07-01 06:03:48 +00:00