This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11524 ) Change subject: make osmpy IPA code aware of RSPRO ...................................................................... make osmpy IPA code aware of RSPRO RSPRO (Remote Sim PROtocol) is used by osmo-remsim and basd on the IPA multiplex. Let's add knowledge about this stream identifier to osmopy. Change-Id: I5c0e674390c5672ee1083b1226c206557f6a980b --- M osmopy/osmo_ipa.py M osmopy/twisted_ipa.py 2 files changed, 7 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified Harald Welte: Looks good to me, approved diff --git a/osmopy/osmo_ipa.py b/osmopy/osmo_ipa.py index a1fcaf6..246101d 100755 --- a/osmopy/osmo_ipa.py +++ b/osmopy/osmo_ipa.py @@ -34,7 +34,7 @@ # OpenBSC extensions: OSMO, MGCP_OLD PROTO = dict(RSL=0x00, CCM=0xFE, SCCP=0xFD, OML=0xFF, OSMO=0xEE, MGCP_OLD=0xFC) # ...OML Router Control, GSUP GPRS extension, Osmocom Authn Protocol - EXT = dict(CTRL=0, MGCP=1, LAC=2, SMSC=3, ORC=4, GSUP=5, OAP=6) + EXT = dict(CTRL=0, MGCP=1, LAC=2, SMSC=3, ORC=4, GSUP=5, OAP=6, RSPRO=7) # OpenBSC extension: SCCP_OLD MSGT = dict(PING=0x00, PONG=0x01, ID_GET=0x04, ID_RESP=0x05, ID_ACK=0x06, SCCP_OLD=0xFF) _IDTAG = dict(SERNR=0, UNITNAME=1, LOCATION=2, TYPE=3, EQUIPVERS=4, SWVERSION=5, IPADDR=6, MACADDR=7, UNIT=8) diff --git a/osmopy/twisted_ipa.py b/osmopy/twisted_ipa.py index 533bfae..70c1ef0 100755 --- a/osmopy/twisted_ipa.py +++ b/osmopy/twisted_ipa.py @@ -84,6 +84,12 @@ """ self.dbg('OSMO OAP received %s' % data) + def osmo_RSPRO(self, data): + """ + OSMO RSPRO (Remote Sim Protocol) extension + """ + self.dbg('OSMO RSPRO received %s' % data) + def osmo_UNKNOWN(self, data): """ OSMO defaul extension handler -- To view, visit https://gerrit.osmocom.org/11524 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I5c0e674390c5672ee1083b1226c206557f6a980b Gerrit-Change-Number: 11524 Gerrit-PatchSet: 1 Gerrit-Owner: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder (1000002) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181030/2f6b792b/attachment.htm>