Nfc: add nfc detection cli command (#379)

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
gornekich
2021-03-12 16:18:01 +03:00
committed by GitHub
parent 1daef3d025
commit ca9862ef6c
7 changed files with 113 additions and 16 deletions

View File

@@ -11,6 +11,7 @@ typedef enum {
NfcViewRead,
NfcViewEmulate,
NfcViewField,
NfcViewCli,
NfcViewError,
} NfcView;
@@ -29,6 +30,8 @@ void nfc_view_emulate_draw(Canvas* canvas, void* model);
void nfc_view_field_draw(Canvas* canvas, void* model);
void nfc_view_cli_draw(Canvas* canvas, void* model);
typedef struct {
ReturnCode error;
} NfcViewErrorModel;