Commit Graph

19 Commits

Author SHA1 Message Date
Harald Welte 130524b719 split parameter writing for CSV and SQL into separate functions 2015-08-20 13:23:15 +02:00
Alexander Chemeris 21885249cf Implement setting of EF.ACC file in GrcardSim and _MagicSimBase
From: Alexander Chemeris <Alexander.Chemeris@gmail.com>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-02 15:19:09 +02:00
Holger Hans Peter Freyther cca41795a7 usim/opc: Derive OPC from KI and OP 2012-03-22 15:25:31 +01:00
Harald Welte 93b38cd0f5 usim/opc: Add support to write completely random OPC
Allow to set the OPC, write it out to the state, generate it randomly.
2012-03-22 15:25:19 +01:00
Sylvain Munaut 9977c86e96 pySim-prog: Fix SMSC 'number type' field to 0x81
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-10 09:57:16 +01:00
Sylvain Munaut 607ce2a029 Fix computation of SMSP from a SMSC number
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-08 20:16:43 +01:00
Sylvain Munaut 1a914439b8 Whitespace fixes 2011-12-08 20:08:26 +01:00
Harald Welte 2c0ff3a167 correctly compute the ICCID (19 digits, including luhn checksum) 2011-12-08 19:39:49 +01:00
Holger Hans Peter Freyther 5dffefbf0c pySim-prog.py: pyflakes doesn't find Importerror..
Importerror -> ImportError, spotted by pyflakes.
2011-11-22 21:18:06 +01:00
Sylvain Munaut 9f120e0169 pySim-prog: Fix insertion of Ki in HLR. Need to escape like DBI does it
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-23 20:28:24 +01:00
Sylvain Munaut 8d243e8847 pySim-prog: Fix crash when using manuam imsi/iccid/kc
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-23 20:27:48 +01:00
Sylvain Munaut 98d2b85a97 pySim-prog: Check that batch mode is used with auto parameters
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-23 20:27:25 +01:00
Sylvain Munaut 8f7d3ba8ba pySim-prog: Change logic to support batch programming
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-09 13:32:48 +01:00
Sylvain Munaut bdca252fb0 transport: Change transport api to allow for wait_for_card/connect/disconnect
This way, we can re-use the same transport parameters for several
cards for a future batch mode

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-09 13:31:58 +01:00
Sylvain Munaut 9c8729a2d1 pySim-prog: Fix pcsc device selection and link creation
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-08 23:20:27 +01:00
Sylvain Munaut 143e99d1c6 pySim-prog: Add options to save generated parameters to CVS or OpenBSC HLR
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-08 22:35:04 +01:00
Sylvain Munaut 1771603806 pySim-prog: Show default for mnc in help mode
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-08 22:33:51 +01:00
Sylvain Munaut e9fdecb38b pySim-prog: Group option for serial (dev & baud) together
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-08 22:33:19 +01:00
Sylvain Munaut 76504e0a6e Split all things into a more "library-like" package
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-07 00:24:32 +01:00