d76ba20652
* Add support for Pyramid tags * Also add additional checks for AWID decoder to avoid missdetection * lfrfid worker: reset GPIO_LOAD pin * lfrfid: protocol viking, format * lfrfid: protocol pyramid, format * lfrfid: protocol paradox, format * lfrfid: protocol jablotron, format * lfrfid: protocol em4100, format * lfrfid: increase reading time by 0.5s since protocol viking takes longer to read Co-authored-by: SG <who.just.the.doctor@gmail.com>
39 lines
889 B
C
39 lines
889 B
C
#pragma once
|
|
#include <toolbox/protocols/protocol.h>
|
|
#include "../tools/t5577.h"
|
|
|
|
typedef enum {
|
|
LFRFIDFeatureASK = 1 << 0, /** ASK Demodulation */
|
|
LFRFIDFeaturePSK = 1 << 1, /** PSK Demodulation */
|
|
} LFRFIDFeature;
|
|
|
|
typedef enum {
|
|
LFRFIDProtocolEM4100,
|
|
LFRFIDProtocolH10301,
|
|
LFRFIDProtocolIndala26,
|
|
LFRFIDProtocolIOProxXSF,
|
|
LFRFIDProtocolAwid,
|
|
LFRFIDProtocolFDXA,
|
|
LFRFIDProtocolFDXB,
|
|
LFRFIDProtocolHidGeneric,
|
|
LFRFIDProtocolHidExGeneric,
|
|
LFRFIDProtocolPyramid,
|
|
LFRFIDProtocolViking,
|
|
LFRFIDProtocolJablotron,
|
|
LFRFIDProtocolParadox,
|
|
LFRFIDProtocolPACStanley,
|
|
LFRFIDProtocolMax,
|
|
} LFRFIDProtocol;
|
|
|
|
extern const ProtocolBase* lfrfid_protocols[];
|
|
|
|
typedef enum {
|
|
LFRFIDWriteTypeT5577,
|
|
} LFRFIDWriteType;
|
|
|
|
typedef struct {
|
|
LFRFIDWriteType write_type;
|
|
union {
|
|
LFRFIDT5577 t5577;
|
|
};
|
|
} LFRFIDWriteRequest; |