P. 1
cours_cartes

cours_cartes

|Views: 5,640|Likes:
Published by Sam B.med

More info:

Published by: Sam B.med on Mar 20, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

06/01/2013

pdf

text

original

// 00 00 08 F0 6F 3C 04 00 11 F4 44 01 02 01 B0 90 00
Taille totale = 08F0 = 2280 octets

Pascal Urien - Cours cartes à puce 2008 6/10/07
Page 63

Taille d’un enregistrement = B0 = 176 octets.
2280/176 = 13 Enregistrements

// Read Record
// P1 00= Current Record
// P2 02=Next 03=Previous 04=Absolute
A0 B2 01 04 B0
// 03 b1=used/free b2= from_network/to_be_read/read b3=to_be_sent
// 07 91 33 06 09 20 92 F0 04 00 91 41 00 10 70
// 21 11 10 25 00 30 D2 32 FC ED 26 97 EB 72 1D 28
// 06 72 BF EB F6 72 B8 8E C2 A7 40 ED F2 7C 1E 3E
// 97 51 F3 94 0B 24 0D C3 E1 65 76 59 0F 8A C9 66
// FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
//…tout à FF
// 90 00

// Update Record #10
A0 DC 0A 04 B0 01 23 45 67 89 FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
Tout à FF
// 90 00

// Select EF_ADN (6F3A) - Abreviated Dialing Number
A0 A4 00 00 02 6F 3A
// 9F 0F
A0 C0 00 00 0F
// 00 00 0A A0 6F 3A 04 00 11 F4 22 01 02 01 22 90 00
// 2720 octets/34 = 80 records

// Read Record #1
A0 B2 01 04 22
// 50 41 53 43 41 4C FF FF FF FF FF FF FF FF FF FF FF FF FF FF
// 06 BCD Number Length = 1 + 5
// 81 TON & NPI = GSM
// 60 28 75 73 83 FF FF FF FF FF FF FF // 06 82 57 37 38
// 90 00

// Select EF_FDN (6F3B) Fixed Dialing Number

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->