/*
 * QrfeGenericTag.h
 *
 *  Created on: 31.07.2012
 *      Author: stefan.detter
 */

#ifndef QGENERICTAG_H_
#define QGENERICTAG_H_

#include "QrfeTagInterface.h"
#include "../QrfeTagManipulatorInterface.h"

class QrfeGenericTag : public QrfeTagInterface
{
	Q_OBJECT

public:
	QrfeGenericTag(QString tagId, QrfeTagManipulatorInterface* reader, QObject* parent = 0);
	virtual ~QrfeGenericTag();

	virtual QrfeGlobal::TMIResult readInformations();

	QrfeGlobal::TMIResult readFromTag ( uchar mem_bank, ushort address, QByteArray passwd, uchar count, QByteArray &data );
	QrfeGlobal::TMIResult writeToTag ( uchar mem_bank, ushort address, QByteArray passwd, QByteArray data );
};

#endif /* QGENERICTAG_H_ */
