pysim.git branch pmaier/fixfci created. a6b1c9aa726f5e2c0b5d8059afd7a975a1a1152d

gitosis at osmocom.org gitosis at osmocom.org
Tue Mar 21 11:28:52 UTC 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A python tool to program magic SIMs".

The branch, pmaier/fixfci has been created
        at  a6b1c9aa726f5e2c0b5d8059afd7a975a1a1152d (commit)

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/pysim/commit/?id=a6b1c9aa726f5e2c0b5d8059afd7a975a1a1152d

commit a6b1c9aa726f5e2c0b5d8059afd7a975a1a1152d
Author: Philipp Maier <pmaier at sysmocom.de>
Date:   Tue Mar 21 12:05:30 2017 +0100

    Fix select control parameter
    
    sysmo-usim-sjs1 requires P2 to be set to 0x0C (request FCI) when
    using the USIM application commands. The FCI is not used by pysim
    anyway and might even cause problems with other cards.
    
    This commit adds a pair of get/set methods to the SimCardCommands
    class in order to set a default for the selection control
    parameters (P1, P2). (Similar to the set/get methods for the class
    byte)
    
    The SysmoUSIMSJS1 class now calls the setter method for the
    selection control parameters inside of its constructuor and sets
    the selection control parameter default to "000C". This way we
    can be sure that we only change the behaviour for sysmo-usim-sjs1
    and do not break support for any other cards.

-----------------------------------------------------------------------


hooks/post-receive
-- 
A python tool to program magic SIMs



More information about the osmocom-commitlog mailing list