1PCSC/Ada Library
2================
3
4* link:README.html[README]
5
6* http://www.codelabs.ch/download/[Download]
7
8Introduction
9------------
10PCSC/Ada provides an Ada binding to PC/SC-middleware. The library allows
11programs written in Ada to communicate with smart cards using the SCard API.
12
13PC/SC is a specification for SmartCard integration in computing environment.
14PC/SC is implemented in Microsoft Windows 200x/XP and available under Microsoft
15Windows NT/9x. A free implementation of PC/SC, PC/SC Lite, is available under
16Linux and bundled with Mac OS X.
17
18
19Overview and Examples
20---------------------
21PCSC/Ada provides a thin and a thick binding for the PC/SC API. The thin binding
22is not explained here though, since Ada programmers should not use this binding
23directly. It is much more convenient to use the thick binding provided by the
24`PCSC.SCard` package.
25
26The following code is used to demonstrate how to establish a PC/SC context,
27connect to the first reader of a sytem and then send some arbitrary command to
28the smart card:
29
30[source,ada]
31---------------------------------------------------------------------
32include::../examples/sample/sample.adb[]
33---------------------------------------------------------------------
34
35For more detailed examples on how to use PC/SC Ada in your own applications,
36examine the sample applications which are included in the distribution tarball
37`examples` directory (for information about the included examples, check the
38link:README.html#_examples[Examples section] in the README).
39
40
41Browse the source
42-----------------
43- You can browse the PCSC/Ada source code with gitweb
44http://git.codelabs.ch/?p=pcscada.git[here].
45
46Licence
47-------
48--------------------------------------------------------------------------------
49Copyright (C) 2008-2014 Reto Buerki
50
51PCSC/Ada is free software; you can redistribute it and/or modify it under the
52terms of the GNU Lesser General Public License as published by the Free Software
53Foundation; either version 2.1 of the License, or (at your option) any later
54version.
55--------------------------------------------------------------------------------
56