Chameleon-Mini
NTAG215.h
1 /*
2  * NTAG215.h
3  *
4  * Created on: 20.02.2019
5  * Author: gcammisa
6  */
7 
8 #ifndef NTAG215_H_
9 #define NTAG215_H_
10 
11 #include "Application.h"
12 #include "ISO14443-3A.h"
13 
14 #define NTAG215_UID_SIZE ISO14443A_UID_SIZE_DOUBLE //7 bytes UID
15 #define NTAG215_PAGE_SIZE 4 //bytes per page
16 #define NTAG215_PAGES 135 //135 pages total, from 0 to 134
17 #define NTAG215_MEM_SIZE ( NTAG215_PAGE_SIZE * NTAG215_PAGES )
18 
19 void NTAG215AppInit(void);
20 void NTAG215AppReset(void);
21 void NTAG215AppTask(void);
22 
23 uint16_t NTAG215AppProcess(uint8_t *Buffer, uint16_t BitCount);
24 
25 void NTAG215GetUid(ConfigurationUidType Uid);
26 void NTAG215SetUid(ConfigurationUidType Uid);
27 #endif