laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/39292?usp=email )
Change subject: cards: Avoid exception seen with (some) GSM-R SIM cards
......................................................................
cards: Avoid exception seen with (some) GSM-R SIM cards
Some old cards are classic SIM and not based on UICCs. Such cards
do not offer the capability of selecting applications. Let's avoid
running into an exception by providing dummy methods that simply fail
for each AID selection.
Change-Id: Ib3457496380c0c5096052ad7799970ee620dee33
Closes: OS#6691
---
M pySim/cards.py
1 file changed, 10 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
dexter: Looks good to me, but someone else must approve
diff --git a/pySim/cards.py b/pySim/cards.py
index b7958f4..dedb2d6 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -73,6 +73,16 @@
# callers having to do hasattr('read_aids') ahead of every call.
return []
+ def adf_present(self, adf: str = "usim") -> bool:
+ # a non-UICC doesn't have any applications. Convenience helper to avoid
+ # callers having to do hasattr('adf_present') ahead of every call.
+ return False
+
+ def select_adf_by_aid(self, adf: str = "usim", scc: Optional[SimCardCommands] = None) -> Tuple[Optional[Hexstr], Optional[SwHexstr]]:
+ # a non-UICC doesn't have any applications. Convenience helper to avoid
+ # callers having to do hasattr('select_adf_by_aid') ahead of every call.
+ return (None, None)
+
class SimCardBase(CardBase):
"""Here we only add methods for commands specified in TS 51.011, without
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/39292?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ib3457496380c0c5096052ad7799970ee620dee33
Gerrit-Change-Number: 39292
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/39289?usp=email )
Change subject: bibliography.adoc: add TW-TS-* references
......................................................................
bibliography.adoc: add TW-TS-* references
Some Osmocom components include support for interfaces that are
defined in Themyscira Wireless specs (TW-TS):
* OsmoBTS includes support for TW-TS-001, may also support TW-TS-002
for HRv1 codec in the future;
* OsmoBSC includes support for TW-TS-003 BSSMAP extension.
Therefore, these specs should be linked from Osmocom bibliography.
Change-Id: Ia34a61b5f834f2c70f81012dcc816dd6014c784f
---
M common/chapters/bibliography.adoc
1 file changed, 10 insertions(+), 0 deletions(-)
Approvals:
laforge: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/common/chapters/bibliography.adoc b/common/chapters/bibliography.adoc
index 9d635b0..bebad30 100644
--- a/common/chapters/bibliography.adoc
+++ b/common/chapters/bibliography.adoc
@@ -227,3 +227,13 @@
License. https://www.gnu.org/licenses/agpl-3.0.en.html
- [[[freeswitch_pbx]]] FreeSWITCH SIP PBX
https://freeswitch.org
+
+- [[[tw-ts-001]]] TW-TS-001: Enhanced RTP transport of FR and EFR codec frames
+ in an IP-based GSM RAN
+ https://www.freecalypso.org/specs/tw-ts-001-v010100.txt
+- [[[tw-ts-002]]] TW-TS-002: Enhanced RTP transport of HRv1 codec frames
+ in an IP-based GSM RAN
+ https://www.freecalypso.org/specs/tw-ts-002-v010100.txt
+- [[[tw-ts-003]]] TW-TS-003: BSSMAP extension for selection of enhanced RTP
+ transport formats
+ https://www.freecalypso.org/specs/tw-ts-003-v010002.txt
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/39289?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: Ia34a61b5f834f2c70f81012dcc816dd6014c784f
Gerrit-Change-Number: 39289
Gerrit-PatchSet: 2
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Attention is currently required from: falconia.
laforge has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/libosmo-netif/+/39308?usp=email )
Change subject: add dependency on libosmovty
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
I would suggest to merge this into the actual commit that makes use of libosmovty. So that change will work atomically as-is.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/39308?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I57cb919891e5c7ee0f828b98af11199cd9c123f8
Gerrit-Change-Number: 39308
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: falconia <falcon(a)freecalypso.org>
Gerrit-Comment-Date: Wed, 15 Jan 2025 10:36:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No