arygon.h File Reference

#include <nfc/nfc-types.h>

Go to the source code of this file.

Functions

nfc_device_tarygon_connect (const nfc_device_desc_t *pndd)
bool arygon_transceive (const nfc_device_spec_t nds, const byte_t *pbtTx, const size_t szTxLen, byte_t *pbtRx, size_t *pszRxLen)

Detailed Description

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 it under the terms of the GNU Lesser General Public License as published by 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.

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/>

Definition in file arygon.h.


Function Documentation

nfc_device_t* arygon_connect ( const nfc_device_desc_t pndd  ) 
Note:
ARYGON-ADRA (PN531): ???,n,8,1
ARYGON-ADRB (PN532): 9600,n,8,1
ARYGON-APDA (PN531): 9600,n,8,1
ARYGON-APDB1UA33N (PN532): 115200,n,8,1
ARYGON-APDB2UA33 (PN532 + ARYGON µC): 9600,n,8,1

Definition at line 90 of file arygon.c.

bool arygon_transceive ( const nfc_device_spec_t  nds,
const byte_t *  pbtTx,
const size_t  szTxLen,
byte_t *  pbtRx,
size_t *  pszRxLen 
)

Note:
PN532 (at 115200 bauds) need 20ms between sending and receiving frame. No information regarding this in ARYGON datasheet... It seems to be a required delay to able to send from host to device, plus the device computation then device respond transmission
PN532 (at 115200 bauds) need 30ms more to be stable (report correctly present tag, at each try: 20ms seems to be enought for one shot...) PN532 seems to work correctly with 50ms at 115200 bauds.
Unfortunately, adding delay is not enought for ARYGON readers which are equipped with an ARYGON µC + PN532 running at 9600 bauds. There are too many timing problem to solve them by adding more and more delay. For more information, see Issue 23 on development site : http://code.google.com/p/libnfc/issues/detail?id=23

Definition at line 158 of file arygon.c.


Generated on 8 May 2010 for libnfc by  doxygen 1.6.1