2009-04-29 14:58:29 +02:00
|
|
|
/*
|
|
|
|
|
|
|
|
Public platform independent Near Field Communication (NFC) library
|
|
|
|
Copyright (C) 2009, Roel Verdult
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
2009-06-26 11:05:25 +02:00
|
|
|
it under the terms of the GNU Lesser General Public License as published by
|
2009-04-29 14:58:29 +02:00
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
2009-06-26 11:05:25 +02:00
|
|
|
You should have received a copy of the GNU Lesser General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>
|
2009-04-29 14:58:29 +02:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LIBNFC_DEVICES_H_
|
|
|
|
#define _LIBNFC_DEVICES_H_
|
|
|
|
|
|
|
|
#include "defines.h"
|
|
|
|
#include "types.h"
|
2009-06-11 13:57:36 +02:00
|
|
|
#ifdef HAVE_PCSC_LITE
|
|
|
|
#include "dev_acr122.h"
|
|
|
|
#endif
|
2009-04-29 14:58:29 +02:00
|
|
|
#include "dev_pn531.h"
|
2009-06-11 11:12:00 +02:00
|
|
|
#include "dev_pn533.h"
|
2009-06-11 10:34:43 +02:00
|
|
|
#include "dev_arygon.h"
|
2009-04-29 14:58:29 +02:00
|
|
|
|
|
|
|
const static struct dev_callbacks dev_callbacks_list[] = {
|
2009-09-08 10:14:36 +02:00
|
|
|
// Driver Name Connect Transceive Disconnect
|
2009-06-11 13:57:36 +02:00
|
|
|
#ifdef HAVE_PCSC_LITE
|
2009-04-29 14:58:29 +02:00
|
|
|
{ "ACR122", dev_acr122_connect, dev_acr122_transceive, dev_acr122_disconnect },
|
2009-06-11 13:57:36 +02:00
|
|
|
#endif
|
2009-06-11 10:34:43 +02:00
|
|
|
{ "PN531USB", dev_pn531_connect, dev_pn531_transceive, dev_pn531_disconnect },
|
2009-06-11 11:12:00 +02:00
|
|
|
{ "PN533USB", dev_pn533_connect, dev_pn533_transceive, dev_pn533_disconnect },
|
2009-06-11 10:34:43 +02:00
|
|
|
{ "ARYGON", dev_arygon_connect, dev_arygon_transceive, dev_arygon_disconnect }
|
2009-04-29 14:58:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _LIBNFC_DEVICES_H_
|
|
|
|
|