Discussion Board
OMA netwpin example
2003-09-23, 11:01
#1
Registered User
Hello,
can anyone help generating the netwpin for sec=0.
if imsi= 21407 650123456
and is even in lenght,
where I have ot put the filler 0xf ?
would be something like:
{ 0x02, 0x01, 0x04, 0x00, 0x07, 0x06,0x05, 0x00, 0x09,0x05,0x02,0x00,0x06,0x05, 0x0f }
Any help?
Registered User
If f.x. you have two number like "213 03" that's coded in GSM format with fillers like this:
213 03 -> 21 3x 03 -> 21 3F 03 -> 12 F3 30
But now your IMSI is even, so do you need any fillers ?
I haven't started on the network pin yet, just speculating.
regards,
f.
Regular Contributor
Hi Futhark,
Please try the network pin.
I have a 15 digits IMSI number, do I need to add 'F' as filler?
So far, I haven't been successful in using network pin.
Registered User
Hello futhark,
exactly that is why i am a bit confussed.
In oma ProvBoot page 14, says:
If the IMSI consists of an even number of digits the filler 0xF MUST be inserted.
The question is where have to be inserted.
I want to use NETWPIN, for so I put SEC=0,
and calculates the MAC using SHA1.
Now the input keys are the IMSI.
If my phone is 21407 650123456
I am using as keys:
byte[] keyBytes = new byte[] { 0x32, 0x31, 0x34, 0x30, 0x37, 0x36, 0x35, 0x30,
0x31, 0x32, 0x33, 0x34, 0x35, 0x36 };
But this is not working, and do not know why.
thanks, any idea.
Registered User
My guess would be that you insert a filler in the MCC/MNC part
of the IMSI. It also says that you need to GSM code the IMSI.
The IMSI 21407 650123456 becomes:
-> 21 4F 07 06 50 12 34 56
-> 12 F4 70 60 05 21 43 65
That's the input I would use.
Can you test it ?
regards,
f.
Registered User
Hi,
I have tried that but it does not work.
thanks for your help.
Registered User
ok -I know that you have figured it out by now,
But just for the records: The filler should be the last figure
if it is needed in the IMSI, so it would become the second to last figure in the key input. It is a bit confusing statement in the Nokia documents.
regards,
f.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules