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 LFRFIDProtocolIndala224,
37
38 LFRFIDProtocolMax,
39} LFRFIDProtocol;
40
41extern const ProtocolBase* const lfrfid_protocols[];
42
43typedef enum {
44 LFRFIDWriteTypeT5577,
45 LFRFIDWriteTypeEM4305,
46
47 LFRFIDWriteTypeMax,
48} LFRFIDWriteType;
49
50typedef struct {
51 LFRFIDWriteType write_type;
52 union {
53 LFRFIDT5577 t5577;
54 LFRFIDEM4305 em4305;
55 };
Definition em4305.h:48
Definition t5577.h:44
Definition lfrfid_protocols.h:50
Definition protocol.h:31