Commit Graph

1129 Commits

Author SHA1 Message Date
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 e10394bfb6 Add sysmoSIM-GR1 as alias to grcardsim 2011-12-08 19:39:49 +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
Holger Hans Peter Freyther 50e7c03816 README: Mention the necessary wait_for_card 2011-07-27 08:55:44 +02:00
Harald Welte 3156d9073f cards: Add support for grcard.cn (Green Card) SIM cards
This does not have auto-detection (yet), so you have to explicitly
specify "-t grcardsim" on the command line
2011-03-22 21:48:19 +01:00
Harald Welte 982a3075f9 commands: Check SW for UPDATE BIN / UPDATE REC / VERIFY CHV 2011-03-22 21:47:20 +01:00
Sylvain Munaut 530076ebba commands: Fix bug in verify_chv.
Didn't get adapted properly to support several transports ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-23 20:28:58 +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 245d534962 transport/pcsc: Remove obsolete/debug code
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-08 22:42:07 +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 e7c15cd088 transport: Put common methods in LinkBase class
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-07 10:01:55 +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
Sylvain Munaut be17997e55 Add a internal h2i purely for symmetry :)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-06 20:07:22 +01:00
Sylvain Munaut 6576ce1886 Add command to submit the CHV (pin code)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-06 20:00:27 +01:00
Harald Welte 6dc5145663 pySim: Add support for PC/SC readers
Support for PC/SC can be used by simply specifying the '-p 0' option
at the command line (indicating PC/SC reader 0, i.e. the first)
2010-11-23 01:28:44 +01:00
Sylvain Munaut 63722fd99b Fix format for 'SuperSim'
The Ki is at the very start for that card and not in a special EF

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-27 10:29:05 +01:00
Sylvain Munaut 36f7a2d60b Reset the card after formatting and auto-detect
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-27 10:28:47 +01:00
Sylvain Munaut 995c398c13 Add README, COPYING, .gitignor
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-27 09:43:51 +01:00
Sylvain Munaut 0d1e63a978 Initial import
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-27 09:27:57 +01:00