Functions

arygon.h File Reference

#include <nfc/nfc-types.h>

Go to the source code of this file.

Functions

nfc_device_desc_tarygon_pick_device (void)
bool arygon_list_devices (nfc_device_desc_t pnddDevices[], size_t szDevices, size_t *pszDeviceFound)

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

bool arygon_list_devices ( nfc_device_desc_t  pnddDevices[],
size_t  szDevices,
size_t *  pszDeviceFound 
)

Note:
: Due to UART bus we can't know if its really a pn532 without sending some PN53x commands. But using this way to probe devices, we can have serious problem with other device on this bus

Definition at line 104 of file arygon.c.

nfc_device_desc_t* arygon_pick_device ( void   ) 
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 82 of file arygon.c.