Change in pysim[master]: Add option to specify MNC length in non-batch programming scnearios

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/.

herlesupreeth gerrit-no-reply at lists.osmocom.org
Tue May 12 07:10:53 UTC 2020


herlesupreeth has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/18070 )

Change subject: Add option to specify MNC length in non-batch programming scnearios
......................................................................

Add option to specify MNC length in non-batch programming scnearios

Change-Id: Ied56a28d46a4c9c0c516d73fa257daeef7b50b61
---
M pySim-prog.py
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/pySim-prog.py b/pySim-prog.py
index e3045a6..c709959 100755
--- a/pySim-prog.py
+++ b/pySim-prog.py
@@ -106,6 +106,11 @@
 			help="Mobile Network Code [default: %default]",
 			default=55,
 		)
+	parser.add_option("--mnclen", dest="mnclen", type="choice",
+			help="Length of Mobile Network Code [default: %default]",
+			default=2,
+			choices=[2, 3],
+		)
 	parser.add_option("-m", "--smsc", dest="smsc",
 			help="SMSC number (Start with + for international no.) [default: '00 + country code + 5555']",
 		)

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/18070
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ied56a28d46a4c9c0c516d73fa257daeef7b50b61
Gerrit-Change-Number: 18070
Gerrit-PatchSet: 6
Gerrit-Owner: herlesupreeth <herlesupreeth at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: herlesupreeth <herlesupreeth at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200512/7584debb/attachment.htm>


More information about the gerrit-log mailing list