ARYGON readers driver. More...
#include "../drivers.h"
#include "../bitutils.h"
#include <stdio.h>
#include "arygon.h"
#include <nfc/nfc-messages.h>
#include "../buses/uart.h"
#include <unistd.h>
Go to the source code of this file.
Defines | |
#define | DEV_ARYGON_PROTOCOL_ARYGON_ASCII '0' |
High level language in ASCII format. (Common µC commands and Mifare® commands). | |
#define | DEV_ARYGON_PROTOCOL_TAMA '2' |
Philips protocol (TAMA language) in binary format. | |
#define | DEV_ARYGON_PROTOCOL_TAMA_WAB '3' |
Philips protocol (TAMA language) in binary With AddressingByte for party line. | |
Functions | |
nfc_device_t * | arygon_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) |
ARYGON readers driver.
This driver can handle ARYGON readers that use UART as bus. UART connection can be direct (host<->arygon_uc) or could be provided by internal USB to serial interface (e.g. host<->ftdi_chip<->arygon_uc)
Definition in file arygon.c.
nfc_device_t* arygon_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 | |||
) |