openpcd/firmware/src/picc/piccsim.h @ master
1 | 548ec55e | (no author) | |
---|---|---|---|
2 | 520784c7 | (no author) | #include <librfid/rfid_layer2_iso14443a.h>
|
3 | 548ec55e | (no author) | |
4 | struct piccsim_state { |
||
5 | enum rfid_layer2_id l2prot; |
||
6 | unsigned char uid[10]; |
||
7 | 373c172a | Harald Welte | uint8_t uid_len; |
8 | 548ec55e | (no author) | union { |
9 | struct { |
||
10 | enum iso14443a_state state; |
||
11 | enum iso14443a_level level; |
||
12 | 373c172a | Harald Welte | uint32_t flags; |
13 | 548ec55e | (no author) | } iso14443a; |
14 | struct { |
||
15 | } iso14443b; |
||
16 | } l2; |
||
17 | |||
18 | union { |
||
19 | 373c172a | Harald Welte | uint32_t flags; |
20 | 548ec55e | (no author) | } proto; |
21 | }
|
||
22 | |||
23 | #define PICCSIM_PROT_F_AUTO_WTX 0x01
|