2009-06-11 09:12:00 +00: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 09:05:25 +00:00
|
|
|
it under the terms of the GNU Lesser General Public License as published by
|
2009-06-11 09:12:00 +00: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 09:05:25 +00: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-06-11 09:12:00 +00:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LIBNFC_DEV_ARYGON_H_
|
|
|
|
#define _LIBNFC_DEV_ARYGON_H_
|
|
|
|
|
|
|
|
#include "defines.h"
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
// Functions used by developer to handle connection to this device
|
2009-06-11 10:16:27 +00:00
|
|
|
dev_info* dev_arygon_connect(const uint32_t uiIndex);
|
2009-06-11 09:12:00 +00:00
|
|
|
void dev_arygon_disconnect(dev_info* pdi);
|
|
|
|
|
|
|
|
// Callback function used by libnfc to transmit commands to the PN53X chip
|
2009-07-16 12:09:06 +00:00
|
|
|
bool dev_arygon_transceive(const dev_spec ds, const byte_t* pbtTx, const uint32_t uiTxLen, byte_t* pbtRx, uint32_t* puiRxLen);
|
2009-06-11 09:12:00 +00:00
|
|
|
|
|
|
|
#endif // _LIBNFC_DEV_ARYGON_H_
|
|
|
|
|