Share

Card Terminal Driver Library

Tracker: Patches

5 libibm4779: higher-level API - ID: 516206
Last Update: Settings changed ( finnegpt )

This patch implements a number of higher-level
functions along with some sample programs for using
most of these functions.

These are just a beginning but represent most of the
functions that I require for an application I am
developing. Not all 4779 functionality is
implemented. I would particularly like to see the
smartcard functions be implemented and I plan to do it
as soon as I can.

The new functions have been placed in a library called
libibm4779.so and you should #include ibm4779.h in
order to use them. The functions use lib4779io
functions internally. See the included examples and
examples/Makefile.

I would like for this code to be somehow merged into
the standard distribution. We can work out the
details. This represents a first-run.

The new functions are:
ibm4779_open
ibm4779_close
ibm4779_getInfo
ibm4779_getStatus
ibm4779_eject
ibm4779_writeDisplay
ibm4779_readKeypad
ibm4779_armMedia
ibm4779_readMagnetics
ibm4779_manageCardInsertion
ibm4779_reset
ibm4779_abort

The new example programs are:
acceptcard.c
display.c
getkeys.c
eject.c
info.c
readmag.c
status.c


The patch applies against the lib4779io-20011112
source. It adds the new files and only modifies the
original makefiles. The original library source code
is unchanged by this patch.


Joe Phillips ( jaiger ) - 2002-02-11 22:18

5

Closed

Accepted

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
libibm4779-20020211.patch.gz libibm4779 high-level api implementation (20020211) Download

Changes ( 4 )

Field Old Value Date By
status_id Open 2002-07-27 21:36 finnegpt
resolution_id None 2002-07-27 21:36 finnegpt
close_date - 2002-07-27 21:36 finnegpt
File Added 17688: libibm4779-20020211.patch.gz 2002-02-11 22:18 jaiger