2016-09-29 18:23:09 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// (c) 2016 Iceman
|
|
|
|
//
|
|
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
|
|
// the license.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// LEGIC type prototyping
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef _LEGIC_H_
|
|
|
|
#define _LEGIC_H_
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// LEGIC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
typedef struct {
|
2019-03-10 01:41:30 +08:00
|
|
|
uint8_t uid[4];
|
|
|
|
uint32_t tagtype;
|
|
|
|
uint8_t cmdsize;
|
|
|
|
uint8_t addrsize;
|
|
|
|
uint16_t cardsize;
|
2016-09-29 18:23:09 +08:00
|
|
|
} legic_card_select_t;
|
|
|
|
|
|
|
|
#endif // _LEGIC_H_
|