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

* link:README.html[README]

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

Introduction
------------
PCSC/Ada provides an Ada binding to PC/SC-middleware. The library allows
programs written in Ada to communicate with smart cards using the SCard API.

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).


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

Licence
-------
--------------------------------------------------------------------------------
Copyright (C) 2008-2014 Reto Buerki

PCSC/Ada is free software; you can redistribute it and/or modify it under the
terms of the GNU Lesser General Public License as published by the Free Software
Foundation; either version 2.1 of the License, or (at your option) any later
version.
--------------------------------------------------------------------------------
