mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 06:50:21 +00:00
44426c7612
* [LRFID] Add support for Nexkey/Nexwatch * Update protocol_nexwatch.c: Remove unnecessary check Co-authored-by: SG <who.just.the.doctor@gmail.com> Co-authored-by: あく <alleteam@gmail.com>
43 lines
997 B
C
43 lines
997 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,
|
|
LFRFIDProtocolIdteck,
|
|
LFRFIDProtocolIndala26,
|
|
LFRFIDProtocolIOProxXSF,
|
|
LFRFIDProtocolAwid,
|
|
LFRFIDProtocolFDXA,
|
|
LFRFIDProtocolFDXB,
|
|
LFRFIDProtocolHidGeneric,
|
|
LFRFIDProtocolHidExGeneric,
|
|
LFRFIDProtocolPyramid,
|
|
LFRFIDProtocolViking,
|
|
LFRFIDProtocolJablotron,
|
|
LFRFIDProtocolParadox,
|
|
LFRFIDProtocolPACStanley,
|
|
LFRFIDProtocolKeri,
|
|
LFRFIDProtocolGallagher,
|
|
LFRFIDProtocolNexwatch,
|
|
LFRFIDProtocolMax,
|
|
} LFRFIDProtocol;
|
|
|
|
extern const ProtocolBase* lfrfid_protocols[];
|
|
|
|
typedef enum {
|
|
LFRFIDWriteTypeT5577,
|
|
} LFRFIDWriteType;
|
|
|
|
typedef struct {
|
|
LFRFIDWriteType write_type;
|
|
union {
|
|
LFRFIDT5577 t5577;
|
|
};
|
|
} LFRFIDWriteRequest;
|