PCSC/Ada Library
================

link:README.html[README]

link:CHANGELOG.html[CHANGELOG]

http://www.codelabs.ch/download[Download]

Introduction
------------
The PCSC/Ada library provides bindings to PC/SC-middleware for the Ada
programming language. The library allows you to communicate with smart cards
using the SCard API with Ada.

PC/SC is a specification for SmartCard integration in computing environment.
PC/SC is implemented in Microsoft Windows 200x/XP and available under Microsoft
Windows NT/9x. A free implementation of PC/SC, PC/SC Lite, is available under
Linux and bundled with Mac OS X.


Overview and Examples
---------------------
PCSC/Ada provides a thin and a thick binding for the PC/SC API. The thin binding
is not explained here though, since Ada programmers should not use this binding
directly. It is much more convenient to use the thick binding provided by the
`PCSC.SCard` package.

The following code is used to demonstrate how to establish a PC/SC context,
connect to the first reader of a sytem and then send some arbitrary command to
the smart card:

[source,ada]
---------------------------------------------------------------------
include::../examples/sample/sample.adb[]
---------------------------------------------------------------------

For more detailed examples on how to use PC/SC Ada in your own applications,
examine the sample applications which are included in the distribution tarball
`examples` directory (for information about the included examples, check the
link:README.html#_examples[Examples section] in the README).


API documentation
-----------------
- You can find the API documentation of PCSC/Ada online
http://www.codelabs.ch/pcscada/api[here].


Browse the source
-----------------
- You can browse the PCSC/Ada source code with gitweb
http://git.codelabs.ch/?p=pcscada.git[here].
