mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-28 07:20:29 +00:00
c9ddecff87
by blackvault88
28 lines
No EOL
680 B
C
28 lines
No EOL
680 B
C
#pragma once
|
|
#include <gui/view.h>
|
|
|
|
typedef enum {
|
|
LfRfidReadAsk,
|
|
LfRfidReadPsk,
|
|
LfRfidReadHitag,
|
|
LfRfidReadAskOnly,
|
|
LfRfidReadPskOnly,
|
|
LfRfidReadRtfOnly,
|
|
} LfRfidReadViewMode;
|
|
|
|
typedef enum {
|
|
LfRfidReadScanning,
|
|
LfRfidReadTagDetected,
|
|
} LfRfidReadViewState;
|
|
|
|
typedef struct LfRfidReadView LfRfidReadView;
|
|
|
|
LfRfidReadView* lfrfid_view_read_alloc();
|
|
|
|
void lfrfid_view_read_free(LfRfidReadView* read_view);
|
|
|
|
View* lfrfid_view_read_get_view(LfRfidReadView* read_view);
|
|
|
|
void lfrfid_view_read_set_read_mode(LfRfidReadView* read_view, LfRfidReadViewMode mode);
|
|
|
|
void lfrfid_view_read_set_read_state(LfRfidReadView* read_view, LfRfidReadViewState state); |