<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Good evening.<br>
    <br>
    I would like to ask some questions about osmo-sim-auth.<br>
    First of all i have installed it and i am capable of doing 2g
    authentications with the parameters -r -s<br>
    <br>
    However i face some problems with the 3g authentication. I have
    checked my cards through windows and they are usim.<br>
    <br>
    When i run the command <br>
    <br>
    <small><i>./osmo-sim-auth.py -r 00000000000000000000000000000000 -a
        ec9320c2c2120000c8b7de2a3449f1bd<br>
        <br>
      </i><big>i get as response the following</big><i><br>
        <br>
        Traceback (most recent call last):<br>
          File "./osmo-sim-auth.py", line 114, in <module><br>
            handle_usim(options, rand_bin, autn_bin)<br>
          File "./osmo-sim-auth.py", line 44, in handle_usim<br>
            if len(ret) == 1:<br>
        TypeError: object of type 'NoneType' has no len()<br>
        <br>
      </i><big>I tried to find where the problem is and i have found
        that the problem is possibly in the if statement in file USIM.py
        in line 296<br>
        ( <i><small>if self.coms()[2][0] in (0x9F, 0x61):</small></i>)<br>
        <br>
        i put before that line the following to see the value that is
        compared in the if<br>
         <i><small>print self.coms()[2][0]<br>
            <br>
          </small></i><small><big>and i get as response the number 152
            which in hex is 98.<br>
            <br>
            I also put a print 'aaaa' below the if statement to see if
            the print will be executed.<br>
            Unfortunately the i didn't see the 'aaaa' message on the
            screen.<br>
            <br>
            Do you know what should i do or where to search to fix this
            problem?<br>
            <br>
            Thanks.<br>
          </big></small></big></small>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </body>
</html>