aboutsummaryrefslogtreecommitdiffstats
path: root/pySim
AgeCommit message (Collapse)AuthorFilesLines
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
2011-03-22commands: Check SW for UPDATE BIN / UPDATE REC / VERIFY CHVHarald Welte1-3/+3
2010-12-23commands: Fix bug in verify_chv.Sylvain Munaut1-1/+3
Didn't get adapted properly to support several transports ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-09transport: Change transport api to allow for wait_for_card/connect/disconnectSylvain Munaut3-9/+88
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-08transport/pcsc: Remove obsolete/debug codeSylvain Munaut1-6/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-07transport: Put common methods in LinkBase classSylvain Munaut3-75/+75
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-07Split all things into a more "library-like" packageSylvain Munaut8-0/+747
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>