Hi Sadiq and all,
Thanks for the help.
But, why use the command
ExtendedCommandAPDU(cla,ins,p1,p2,data[],le) instead
of
ExtendedCommandAPDU(cla,ins,p1,p2,lc,data[],le).
And eventhough I made a go thru the GemClub ref manual
I was not able to find the secrete code(8 bytes). It
has mentioned about the secrete key which is 16 bytes.
Also when I tried to read the card status
80,BE,00,00,1C I got the response 0000 67 00.
Sorry if I miss something.
Hope someone will help.
Thanks Faisal
--- Mohammed SADIQ <[EMAIL PROTECTED]> wrote:
> Here is what you want.
>
> Enjoy!
>
> ----------
> The scientists split the atom; now the atom is
> splitting us.
> - Quentin Reynolds
>
>
> >-----Original Message-----
> >From: Mohammed SADIQ
> [mailto:[EMAIL PROTECTED]]
> >Sent: Saturday, May 05, 2001 2:42 PM
> >To: 'Faisal M'
> >Cc: '[EMAIL PROTECTED]'
> >Subject: RE: [OCF] GemClub Micro
> >
> >
> >>I have not created any system file by myself. Do I
> have to create
> >>the system File first.
> >
> >No! You don't have to create a system file. It is
> already there.
> >
> >>What should be the value of DataField - terminal
> data,
> >>data object attributes and incoming mac.
> >
> >Terminal Data(8 bytes) - Can be any thing. You can
> have 0x11..0x88.
> >Data Object Attributes(4 bytes) - 0x04, filesize,
> 0x00
> >Incoming MAC(8 bytes) - You have to compute. Pls
> refer to the
> >documentation for more details.
> >
> >Computing Incoming MAC can be a pain sometimes. To
> avoid
> >this(only for testing purpose), change the access
> condition
> >for create from 'Key1'(default) to 'FREE'. In that
> case,
> >Incoming MAC will be 0x00..0x00.
> >
> >Hope this helps.
> >
> >----------
> >Actual news headline... TYPHOON RIPS THROUGH
> CEMETERY, HUNDREDS SLAIN
> >
> >
> >>-----Original Message-----
> >>From: Faisal M [mailto:[EMAIL PROTECTED]]
> >>Sent: Saturday, May 05, 2001 1:12 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: [OCF] GemClub Micro
> >>
> >>
> >>Hi,
> >>
> >>I am trying to create a record file on a GemClub
> Micro
> >>sample card. I am using PassThruCardService.
> >>What should be the value of DataField - terminal
> data,
> >>data object attributes and incoming mac. I have
> not
> >>created any system file by myself. Do I have to
> create
> >>the system File first.
> >>Any help...
> >>
> >>Thanks
> >>Faisal
> >>
> >>
> >>__________________________________________________
> >>Do You Yahoo!?
> >>Yahoo! Auctions - buy the things you want at great
> prices
> >>http://auctions.yahoo.com/
> >>
> >>
> >>---
> >>> Visit the OpenCard web site at
> http://www.opencard.org/ for more
> >>> information on OpenCard---binaries, source code,
> documents.
> >>> This list is being archived at
> >http://www.opencard.org/archive/opencard/
> >
> >! To unsubscribe from the [EMAIL PROTECTED]
> mailing list
> >send an email
> >! to
> >!
> [EMAIL PROTECTED]
> >! containing the word
> >! unsubscribe
> >! in the body.
> >
> >
> ATTACHMENT part 2 application/octet-stream
> ATTACHMENT part 3 application/octet-stream
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.