bladox.com Forum Index bladox.com
Turbo SIM Toolkit Adapter Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PIN-Request

 
Post new topic   Reply to topic    bladox.com Forum Index -> Development
View previous topic :: View next topic  
Author Message
bladoxfan



Joined: 08 Dec 2007
Posts: 10

PostPosted: Mon Mar 03, 2008 3:53 pm    Post subject: PIN-Request Reply with quote

Hi
Is it possible to log the pin-request, similar to the turbo-pin method where it resets when the turbopin is entered?
Back to top
View user's profile Send private message
pz
Guest





PostPosted: Tue Mar 11, 2008 3:43 pm    Post subject: Reply with quote

Right now there is no jook for CMD_VERIFY_CHV but we can implement it if there will be interest. We haven't seen much use of it, what do you want to do?
Back to top
bladoxfan



Joined: 08 Dec 2007
Posts: 10

PostPosted: Fri Mar 14, 2008 12:26 pm    Post subject: Reply with quote

Hi!
Let me try to explain:
All of my employees will get TurboSIMs. But I do not want them to use their SIM-Cards without the TurboSIMs.
So I would provide them with a spezial PIN-Code.

When this PIN-Code is entered the TurboSIM checks if it is vailid internly and then passes a memory stored pincode to the SIM-Card and unlocks it.

I dont know if this is possible, but it would be great Wink
Back to top
View user's profile Send private message
pz
Guest





PostPosted: Tue Mar 25, 2008 11:06 am    Post subject: Reply with quote

Such an application makes sense, we will try to implement needed API/hooks.
Back to top
bladoxfan



Joined: 08 Dec 2007
Posts: 10

PostPosted: Tue Mar 25, 2008 1:05 pm    Post subject: Reply with quote

great, thanks!
Back to top
View user's profile Send private message
bladoxfan



Joined: 08 Dec 2007
Posts: 10

PostPosted: Sat Jun 14, 2008 1:17 pm    Post subject: Reply with quote

any news?
Back to top
View user's profile Send private message
pz
Guest





PostPosted: Thu Jun 26, 2008 8:21 am    Post subject: Reply with quote

Hopefully soon with many news, it hasn't been forgotten.
Back to top
bladoxguy



Joined: 10 Nov 2009
Posts: 2

PostPosted: Tue Nov 10, 2009 7:26 pm    Post subject: Reply with quote

Hi,

Has there been any update to this capability?

Thanks
Back to top
View user's profile Send private message
pz
Guest





PostPosted: Thu Dec 03, 2009 2:26 pm    Post subject: Reply with quote

bladoxguy wrote:
Hi,

Has there been any update to this capability?

Thanks


It's in kernel >=1.3.25.
Back to top
bladoxguy



Joined: 10 Nov 2009
Posts: 2

PostPosted: Thu Dec 10, 2009 2:22 pm    Post subject: Reply with quote

Thank you.
Is there documentation on how to do this?

B
Back to top
View user's profile Send private message
pz
Guest





PostPosted: Wed Dec 16, 2009 3:41 pm    Post subject: Reply with quote

You got it by email but not leaving this topic open:

(this example assumes SIM PIN is 1111)

Code:

void turbo_handler (u8 action, void *data)
{
  switch (action)
  {
    case ACTION_APP_REGISTER:
        set_proc_8 (PROC_8_CONFIG_INIT_BOOSTER, 1);
      break;

    case ACTION_APP_INIT:
      reg_action (ACTION_VERIFY);
      break;

    case ACTION_VERIFY:
      {
        File_apdu_data *fa = data;
        u8 *buf = fa->data;
        u8 i;
        dbsp ("MY_VERIFY: ");
        for (i = 0; i < 8; i++)
        {
          dbch (buf[i]);
          dbc (' ');
          buf[i] = 0xff;
        }
        dbc ('\n');
        buf[0] = buf[1] = buf[2] = buf[3] = '1';

        retval (sim (ME_CMD_VERIFY_CHV, fa->p1, fa->p2, fa->p3, buf));
      }
      break;

    default:
      break;
  }
}

Back to top
Display posts from previous:   
Post new topic   Reply to topic    bladox.com Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group