aboutsummaryrefslogtreecommitdiffstats
path: root/pySim/cards.py
AgeCommit message (Collapse)AuthorFilesLines
2013-12-23cards: sysmocom SysmoSIM-GR2 support added to cardsSylvain Munaut1-2/+67
Written-by: Kevin Redon Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-13Move encoder functions for ICCID, IMSI and PLMN to pySim.utils for consistency.Alexander Chemeris1-28/+14
2013-07-02Implement setting of EF.ACC file in GrcardSim and _MagicSimBaseAlexander Chemeris1-2/+8
From: Alexander Chemeris <Alexander.Chemeris@gmail.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-02cards: Fix spacing according to PEPSylvain Munaut1-0/+3
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-02cards: Fix comment positionSylvain Munaut1-2/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-22usim/opc: Add support to write completely random OPCHarald Welte1-2/+1
Allow to set the OPC, write it out to the state, generate it randomly.
2012-03-22sysmoUSIM-GR1: Add basic (hacky) support for the sysmoUSIM-GR1Holger Hans Peter Freyther1-1/+31
Right now we are only to program the KI, OPC, ICCID and IMSI. This is done in a direct way and through the card abstraction.
2011-12-10cards: SMSP is left padded not right paddedSylvain Munaut1-2/+2
I confused left & right, silly me ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-08Fix computation of SMSP from a SMSC numberSylvain Munaut1-3/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-08Add sysmoSIM-GR1 as alias to grcardsimHarald Welte1-1/+10
2011-12-08correctly compute the ICCID (19 digits, including luhn checksum)Harald Welte1-1/+1
2011-03-22cards: Add support for grcard.cn (Green Card) SIM cardsHarald Welte1-2/+58
This does not have auto-detection (yet), so you have to explicitly specify "-t grcardsim" on the command line
2010-12-07Split all things into a more "library-like" packageSylvain Munaut1-0/+259
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>