Loading...
Searching...
No Matches
lfrfid_protocols.h
1#pragma once
2#include <toolbox/protocols/protocol.h>
3#include "../tools/t5577.h"
4#include "../tools/em4305.h"
5
6typedef enum {
7 LFRFIDFeatureASK = 1 << 0,
8 LFRFIDFeaturePSK = 1 << 1,
9} LFRFIDFeature;
10
11typedef enum {
12 LFRFIDProtocolEM4100,
13 LFRFIDProtocolEM410032,
14 LFRFIDProtocolEM410016,
15 LFRFIDProtocolElectra,
16 LFRFIDProtocolH10301,
17 LFRFIDProtocolIdteck,
18 LFRFIDProtocolIndala26,
19 LFRFIDProtocolIOProxXSF,
20 LFRFIDProtocolAwid,
21 LFRFIDProtocolFDXA,
22 LFRFIDProtocolFDXB,
23 LFRFIDProtocolHidGeneric,
24 LFRFIDProtocolHidExGeneric,
25 LFRFIDProtocolPyramid,
26 LFRFIDProtocolViking,
27 LFRFIDProtocolJablotron,
28 LFRFIDProtocolParadox,
29 LFRFIDProtocolPACStanley,
30 LFRFIDProtocolKeri,
31 LFRFIDProtocolGallagher,
32 LFRFIDProtocolNexwatch,
33 LFRFIDProtocolSecurakey,
34 LFRFIDProtocolGProxII,
35 LFRFIDProtocolNoralsy,
36
37 LFRFIDProtocolMax,
38} LFRFIDProtocol;
39
40extern const ProtocolBase* const lfrfid_protocols[];
41
42typedef enum {
43 LFRFIDWriteTypeT5577,
44 LFRFIDWriteTypeEM4305,
45
46 LFRFIDWriteTypeMax,
47} LFRFIDWriteType;
48
49typedef struct {
50 LFRFIDWriteType write_type;
51 union {
52 LFRFIDT5577 t5577;
53 LFRFIDEM4305 em4305;
54 };
Definition em4305.h:48
Definition t5577.h:44
Definition lfrfid_protocols.h:49
Definition protocol.h:31